Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCPP1 - Certified Professional Python Programmer 1

Domain 1Objective 10

PCPP-32-101 1.10 Perform Shallow and Deep Copy Operations PCPP-32-1 Practice Questions (Page 2)

Part of the Advanced Object-Oriented Programming domain, which accounts for 35% of the PCPP-32-1 exam. Python Institute does not publish an official question count, but from its 65-minute exam (~25–45 total, ~9–16 in this domain), expect 1–1 from this objective — we provide 20 practice questions to prepare you well beyond it. (estimate)

20questions here
4free pages
5concepts
35%of the exam

Questions 6–10

  1. 6application · medium

    A team stores a master template as a nested dictionary containing user profile data with lists of permissions. Each new user must receive a completely independent copy so that modifying one user's permissions never affects another user or the master template. Which code correctly creates such a copy?

    Select an answer first
  2. 7application · medium

    A developer writes a validation function that receives a list and must verify whether the caller passed the original list object or a copy. The function needs to reject copies and only proceed with the original object. Which check correctly implements this requirement?

    Select an answer first
  3. 8expert · hard

    A developer maintains a data pipeline where a source list contains tuples of (timestamp, value). The pipeline creates a working copy with working = source.copy() and then replaces elements in working with new tuples. The developer notices the source list is unchanged. However, when the pipeline later modifies a mutable object stored inside one of the tuples, the source is also affected. What is the correct explanation?

    Select an answer first
  4. 9foundation · easy

    After `a = [[1, 2], 3]` and `b = copy.deepcopy(a)`, what happens if you modify `b[0][0] = 99`?

    Select an answer first
  5. 10application · medium

    A developer needs to serialize a complex nested data structure for an audit trail. The structure contains lists, dictionaries, and tuples. Before serialization, the developer wants to create a snapshot that can be freely modified without any risk of altering the original data. Which approach guarantees this?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Python Institute. “PCPP-32-1” is a trademark of its owner, used for identification only.