

McqMate
Q. |
What is the pickling? |
A. | it is used for object serialization |
B. | it is used for object deserialization |
C. | none of the mentioned |
D. | all of the mentioned |
Answer» A. it is used for object serialization | |
Explanation: pickle is the standard mechanism for object serialization. pickle uses a simple stack-based virtual machine that records the instructions used to reconstruct the object. this makes pickle vulnerable to security risks by malformed or maliciously constructed data, that may cause the deserializer to import arbitrary modules and instantiate any object. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet