Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCPP1 - Certified Professional Python Programmer 1

Domain 2Objective 1

PCPP-32-101 2.1 Python Enhancement Proposals and Python Philosophy PCPP-32-1 Practice Questions (Page 2)

Part of the Coding Conventions, Best Practices, and Standardization domain, which accounts for 12% of the PCPP-32-1 exam. Python Institute does not publish an official question count, but from its 65-minute exam (~25–45 total, ~3–5 in this domain), expect 1–2 from this objective — we provide 27 practice questions to prepare you well beyond it. (estimate)

27questions here
6free pages
5concepts
12%of the exam

Questions 6–10

  1. 6expert · hard

    You are the PEP editor for a proposal that introduces a new syntax for asynchronous context managers. The PEP is well-written and has received positive feedback on python-dev. However, there is a competing PEP that proposes a different syntax. According to PEP 1, what is the most appropriate action?

    Select an answer first
  2. 7application · medium

    A developer is writing a function that performs a complex calculation. They are considering adding extensive comments to explain the algorithm. A colleague quotes 'If the implementation is hard to explain, it's a bad idea' from PEP 20. What is the most appropriate interpretation?

    Select an answer first
  3. 8expert · hard

    You are leading a code review for a module that has a mix of functions with and without docstrings. The module is part of a public API. Your team has a strict policy that all public functions must have docstrings. However, some functions are very simple and have clear names. What is the most appropriate action?

    Select an answer first
  4. 9foundation · easy

    What is the recommended maximum line length for Python code according to PEP 8?

    Select an answer first
  5. 10foundation · easy

    According to PEP 1, which of the following is a recognized type of PEP?

    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.