Exam-style question
Try this first
What is one reason for storing data in files?.
- A.To ensure data is lost after program execution
- B.To allow for data persistence
- C.To make data retrieval slower
- D.To eliminate the need for data organization
Answer and explanation
Concise answer
To allow for data persistence
Why this is correct
Storing data in files ensures that it remains available even after the program has stopped running, which is essential for data persistence.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
