Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCPP1 - Certified Professional Python Programmer 1

Domain 2Objective 3

PCPP-32-101 2.3 Employ PEP 257 Conventions and Related Standards PCPP-32-1 Practice Questions (Page 3)

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

21questions here
5free pages
11concepts
12%of the exam

Questions 11–15

  1. 11application · medium

    A developer has written a module with several functions. The module passes `pycodestyle` but fails `pydocstyle` because some functions are missing docstrings and others have docstrings that are not properly formatted. The developer wants to automatically fix the formatting issues without manually rewriting every docstring. Which tool should the developer use?

    Select an answer first
  2. 12foundation · easy

    What is the primary difference between a comment and a docstring in Python?

    Select an answer first
  3. 13foundation · easy

    What is a key advantage of using type annotations over documenting types in docstrings?

    Select an answer first
  4. 14foundation · easy

    Which statement best describes a primary reason to include docstrings in Python code?

    Select an answer first
  5. 15foundation · easy

    How does a docstring support introspection in Python?

    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.