Pick The Correct Statement Regarding Pickle And Marshal Modules #937
Pick the correct statement regarding pickle and marshal modules.
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Modules - Python Pickle Module - Quiz No.1.
Pick the correct statement regarding pickle and marshal modules.
The pickle module supports primarily .pyc files whereas marshal module is used to sterilize Python objects
The pickle module keeps track of the objects that have already been sterilized whereas the marshal module does not do this
The pickle module cannot be used to sterilize user defined classes and their instances whereas marshal module can be used to perform this task
The format of sterilization of the pickle module is not guaranteed to be supported across all versions of Python. The marshal module sterilization is compatible across all the versions of Python