Skip to main contentSkip to solution

When the byte stream is converted back to Python object, it is known as _______________.

Solution

✅ Correct Option: 1

Unpickling is the reverse of pickling. It reads a byte stream and rebuilds the original Python object, using functions such as pickle.load() or pickle.loads().


Option 2: Serialization is the general term for converting an object into a byte stream, which is the opposite direction.

Option 3: Pickling is Python's name for serialization, so it converts an object to a byte stream.

Option 4: Dumping (pickle.dump()) is the function that writes the pickled bytes out, so it is part of pickling.

Memory trick: dump = object to bytes, load = bytes to object.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question