Question:

__________ is the process of transforming data or an object in memory (RAM) to a stream of bytes called byte streams.

Show Hint

Pickling = converting objects into byte streams. Unpickling = restoring objects from byte streams.
Updated On: Sep 18, 2025
  • read()
  • write()
  • Pickling
  • De-serialization
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Understanding Pickling.
In Python, Pickling is the process of serializing an object (like list, dictionary, class instance) into a byte stream so it can be saved to a file or transmitted.
Step 2: Opposite process.
The reverse process is called Unpickling (or de-serialization), where a byte stream is converted back into the original Python object.
Step 3: Eliminate wrong options.
- Option 1: \texttt{read()} → Reads data from a file, not serialization.
- Option 2: \texttt{write()} → Writes data, but does not serialize it.
- Option 4: De-serialization → This is the reverse process (unpickling).
Hence, the correct answer is Pickling.
Final Answer: \[ \boxed{\text{Pickling}} \]
Was this answer helpful?
0
0

Questions Asked in CUET exam

View More Questions