What is the behavior of the pickle.load() function when it is executed while…

PYQ EMRS TGT/PGT (ESSE) 2025

What is the behavior of the pickle.load() function when it is executed while the file pointer is at the End Of File (EOF)?

  1. A.

    It returns None and automatically closes the file.

  2. B.

    It returns NULL and automatically closes the file.

  3. C.

    It raises an EOFError exception.

  4. D.

    It automatically closes the file.

Attempted by 484 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…