Examplary
Start for free
Oak ComputingTest · Computing

Reading CSV files

The starter and exit quiz of the lesson “Reading CSV files”, from the unit “Programming: dictionaries and data files” (Year 11 Computing) by Oak National Academy.

Free to use. Edit it, share it and hand it out to your students.

Oak National Academy

12 questions

  1. Which method reads the entire content of a file as a single string?
  2. Match the operation to the description
  3. What does the "w" mode do when opening a file?
  4. Which method is used to free up system resources?
  5. What mode should be used to read a file without modifying it?
  6. What is the correct way to write multiple lines to a file in Python?
  7. What does CSV stand for?
  8. Which Python method is used to remove leading and trailing spaces from a string?
  9. What type of structure does a CSV file follow?
  10. In a CSV file, each ___ represents a new record.
  11. The default delimiter in a CSV file is a ___.
  12. Which Python method is used to break a string based on a specific delimiter?

License: OGL

Reading CSV files · Examplary