CBSE Class 12 Computer Science Question 46 of 136

Data File Handling — Question 11

Back to all questions
11
Question

Question 11

Which module is required to use the built-in function dump()?

  1. math
  2. flush
  3. pickle
  4. unpickle
Answer

pickle

Reason — The dump() function is part of the pickle module in Python. Therefore, to use the dump() function, we need to import the pickle module.