IGCSE Algorithms And Pseudocode Foundations For G8 Practice Exam

Access More Questions
Which action opens a file to begin I/O operations?
Correct Answer:
Open file
Explanation:
Opening a file creates the connection to it and gives you a file object or handle that lets the program perform input and output. This initial step is what enables any reading or writing to happen. Once a file is open, you can read data from it or write data to it. After you’re done, you close the file to flush any buffered data and release the resources. Without opening first, there’s nothing to read from or write to, and closing comes only after you’ve finished I/O. So the action that begins I/O is opening the file.

Access more questions from this quiz

Continue to IGCSE Algorithms and Pseudocode Foundations for G8 Practice Exam for more practice questions and the full quiz experience.

Access More Questions