πŸ“Š Problem Solving and Python Programming
Q. What is unpickling?
  • (A) it is used for object serialization
  • (B) it is used for object deserialization
  • (C) none of the mentioned
  • (D) all of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) it is used for object deserialization

Explanation: we have been working with simple textual data. what if we are working with objects rather than simple text? for such situations, we can use the pickle module. this module serializes python objects. the python objects are converted into byte streams and written to text files. this process is called pickling. the inverse operation, reading from a file and reconstructing objects is called deserializing or unpickling.


Explanation by: Mr. Dubey
we have been working with simple textual data. what if we are working with objects rather than simple text? for such situations, we can use the pickle module. this module serializes python objects. the python objects are converted into byte streams and written to text files. this process is called pickling. the inverse operation, reading from a file and reconstructing objects is called deserializing or unpickling.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
731
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate