
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 1)
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 1–5
- 1
Your codebase has a function that is 120 characters long per line. Your team uses a linter configured to enforce PEP 8. What is the most appropriate action to take?
Select an answer first - 2
According to PEP 8, what is the recommended way to name a function in Python?
Select an answer first - 3
A developer on your team is writing a script that processes user input. They are considering using a complex regex pattern to validate email addresses. A colleague suggests that 'Simple is better than complex' from PEP 20 applies here. What is the most appropriate interpretation of this aphorism in this context?
Select an answer first - 4
You are designing a public API for a library. You want to ensure that users can easily access documentation for your functions. You are considering whether to use docstrings, comments, or external documentation. According to PEP 257, what is the most appropriate approach?
Select an answer first - 5
Which aphorism from PEP 20 (The Zen of Python) emphasizes that simple solutions are preferable to complex ones?
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.