Computer Science for IGCSE & O level - Programming (Section 11 - No. 22)

What is the primary purpose of storing data in a file, as mentioned in the context of computer programming?
To execute the code faster.
To permanently store data that will be required again.
To temporarily store data while the program is running.
To print data to the console.

Explanation

Data is stored in files to be preserved even when the computer is shut down, ensuring its availability when needed later.

Comments (0)

Advertisement