
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 4)
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 16–20
- 16
You are mentoring a colleague who wants to submit a proposal that changes the syntax of the `with` statement. They are unsure which PEP type to use. According to PEP 1, which category does this proposal fall under?
Select an answer first - 17
Your team is debating whether to use a metaclass to implement a singleton pattern. A senior developer quotes 'There should be one-- and preferably only one --obvious way to do it' from PEP 20. What is the most appropriate interpretation in this context?
Select an answer first - 18
Your team is deciding whether to adopt a new coding standard that is not yet part of PEP 8. A colleague suggests that the standard should be proposed as a PEP. What is the most important reason to do this?
Select an answer first - 19
During a code review, you notice a function named `calculate_total` that has a parameter named `taxRate`. The function body uses `taxRate * 0.1` to compute a discount. Your team follows PEP 8 strictly. What is the most appropriate feedback to give the developer?
Select an answer first - 20
Which statement best describes the role of PEPs in the Python community?
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.