
Python InstitutePCPP1 - Certified Professional Python Programmer 1
Domain 1Objective 4
PCPP-32-101 1.4 Understand Extended Function Argument Syntax and Use Decorators PCPP-32-1 Practice Questions (Page 6)
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 30 practice questions to prepare you well beyond it. (estimate)
30questions here
6free pages
14concepts
35%of the exam
Questions 26–30
- 26
When a class is used as a decorator, what does the __call__ method do?
Select an answer first - 27
What is a closure in Python?
Select an answer first - 28
In a class-based decorator, what is typically stored in __init__?
Select an answer first - 29
What is a function decorator in Python?
Select an answer first - 30
Which two special methods are typically defined in a class that is used as a decorator?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to PCPP-32-1
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.