CBSE Class 12 Computer Science Question 63 of 145

File Handling — Question 24

Back to all questions
24
Question

Question 24

Which of the following statement is incorrect in the context of pickled binary files ?

  1. The csv module is used for reading and writing objects in binary files.
  2. The pickle module is used for reading and writing objects in binary files.
  3. The load() of the pickle module is used to read objects.
  4. The dump() of the pickle module is used to write objects.
Answer

The csv module is used for reading and writing objects in binary files.

Reason — The CSV module is used for reading and writing objects in CSV files.