1. Programming Techniques

File I/o — Quiz

Test your understanding of file i/o with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

Which of the following is the primary purpose of File I/O in computer science?

Question 2

In Python, which function is commonly used to open a file for reading or writing?

Question 3

When writing data to a text file, which of the following best describes the type of data typically handled?

Question 4

Which of the following is a crucial step to ensure proper resource handling after performing file operations?

Question 5

What does 'I/O' stand for in the context of computer science?
File I/o Quiz — A-Level Computer Science | A-Warded