✏️ Explanatory Question

What are the three primary reasons for storing data in files rather than relying on main memory?

👁 7 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Files provide permanent data storage on a secondary device, ensuring data is not lost when a program terminates or the computer is shut off. They are also used to store data collections that are too large to fit into the available main memory. Additionally, files are an important factor of information management for securing data for later use if a program requires only a small portion of it at a time.