Humanities/Arts Exam  >  Humanities/Arts Questions  >  Serialisation is also known as____________.a)... Start Learning for Free
Serialisation is also known as____________.
  • a)
    Pickling
  • b)
    Unpickling
  • c)
    continuation
  • d)
    None of these
Correct answer is option 'A'. Can you explain this answer?
Most Upvoted Answer
Serialisation is also known as____________.a)Picklingb)Unpicklingc)con...
The pickle module implements binary protocols for serializing and de-serializing Python object structures.
Pickling:
  • Serialization is also known as Pickling.
  • Pickling is the process of converting a Python object hierarchy into a byte stream.
  • Serialization is the process of converting an object in memory to a byte stream that can be stored on a disk or sent over a network.
  • The pickling process is also called marshaling.
Example:
The following example serializes data into a binary file.
#!/usr/bin/python
import pickle
data = {
    'a': [1, 4.0, 3, 4+6j],
    'b': ("a red fox", b"and old falcon"),
    'c': {None, True, False}
}
with open('data.bin', 'wb') as f:
    pickle.dump(data, f, pickle.HIGHEST_PROTOCOL)
Unpickling:
  • Deserialization is also known as unpickling.
  • Unpickling is the process of converting a byte stream into an object hierarchy, which is the inverse of Pickling.
  • Deserialization is the process of converting a byte stream to a Python object.
  • The unpickling process is also called unmarshalling.
Example:
In the next example, we unpickle data from a binary file.
#!/usr/bin/python
import pickle
with open('data.bin', 'rb') as f:
    data = pickle.load(f)
    print(data)
Hence the correct answer is pickling.
Free Test
Community Answer
Serialisation is also known as____________.a)Picklingb)Unpicklingc)con...
Serialisation is the process of converting an object into a format that can be stored or transmitted, and later reconstructed back into the original object. It allows objects to be easily stored, transferred, or shared across different platforms or applications.

Pickling is a term commonly used in Python to refer to the process of serialisation. It is the process of converting a Python object hierarchy into a byte stream, which can then be stored on disk or transmitted over a network. The byte stream can later be unpickled to reconstruct the original object hierarchy.

Unpickling is the reverse process of pickling, where the byte stream is converted back into the original object hierarchy. It allows the objects to be reconstructed and used as they were before the pickling process.

Continuation is not a term related to serialisation. It refers to the act of continuing something or the state of being continued. It is not directly related to the process of converting objects into a serialised format.

Therefore, the correct answer is option A - Pickling. Pickling is the term commonly used in Python to describe the process of serialisation. It involves converting a Python object hierarchy into a byte stream, which can be stored or transmitted, and later reconstructed back into the original object hierarchy through unpickling.
Explore Courses for Humanities/Arts exam

Top Courses for Humanities/Arts

Question Description
Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer? for Humanities/Arts 2025 is part of Humanities/Arts preparation. The Question and answers have been prepared according to the Humanities/Arts exam syllabus. Information about Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer? covers all topics & solutions for Humanities/Arts 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer?.
Solutions for Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for Humanities/Arts. Download more important topics, notes, lectures and mock test series for Humanities/Arts Exam by signing up for free.
Here you can find the meaning of Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer?, a detailed solution for Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer? has been provided alongside types of Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Serialisation is also known as____________.a)Picklingb)Unpicklingc)continuationd)None of theseCorrect answer is option 'A'. Can you explain this answer? tests, examples and also practice Humanities/Arts tests.
Explore Courses for Humanities/Arts exam

Top Courses for Humanities/Arts

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev