
Python InstitutePCPP1 - Certified Professional Python Programmer 1
Domain 1Objective 2
PCPP-32-101 1.2 Perform Python Core Syntax Operations PCPP-32-1 Practice Questions (Page 4)
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 24 practice questions to prepare you well beyond it. (estimate)
24questions here
5free pages
8concepts
35%of the exam
Questions 16–20
- 16
Which dunder method is called when a custom object is passed to the built-in `float()` function?
Select an answer first - 17
Which dunder method is used to customize the behavior of `isinstance(obj, SomeClass)` checks?
Select an answer first - 18
Which dunder method is called on every attribute access, even if the attribute exists?
Select an answer first - 19
A `StringWrapper` class wraps a string. The team wants `str(wrapper)` to return the wrapped string, and `repr(wrapper)` to return a debug string like `StringWrapper('hello')`. Which methods should be implemented on `StringWrapper`?
Select an answer first - 20
Which dunder method controls the string representation of an object when passed to the built-in `str()` function?
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.