Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

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 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 30 practice questions to prepare you well beyond it. (estimate)

30questions here
6free pages
14concepts
35%of the exam

Questions 6–10

  1. 6foundation · easy

    What makes an instance of a class usable as a decorator?

    Select an answer first
  2. 7foundation · easy

    Given the following code, which decorator is applied first? @decorator_a @decorator_b def my_func(): pass

    Select an answer first
  3. 8foundation · easy

    What does defining the __call__ method in a class do?

    Select an answer first
  4. 9foundation · easy

    When multiple decorators are applied to a function, in what order are they applied?

    Select an answer first
  5. 10application · medium

    A developer has two decorators: @log which prints 'LOG' before calling the function, and @timeit which prints 'TIME' before calling the function. They apply both to a function as shown: @log @timeit def process(): print('PROCESS') process() What is the output?

    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.