Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) Serialization(I) load()
(B) De-Serialization(II) tell()
(C) Specifies the current position of the file object(III) dump()
(D) Position the file object at a particular position(IV) seek()

Solution

✅ Correct Option: 4
List IList II
(A) Serialization(III) dump()
(B) De-Serialization(I) load()
(C) Specifies the current position of the file object(II) tell()
(D) Position the file object at a particular position(IV) seek()

In the pickle module, dump() writes (serializes) a Python object into a file, and load() reads it back (de-serializes).

tell() only reports the current position, while seek() moves the file object to a given position.

Keyboard Shortcuts

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