Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAP - Certified Associate Python Programmer

Domain 1Objective 4

PCAP-31-03 1.4 Discover Host Platform Properties Using the Platform Module PCAP-31 Practice Questions (Page 3)

Part of the Modules and Packages domain, which accounts for 12% of the PCAP-31 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–1 from this objective — we provide 18 practice questions to prepare you well beyond it. (estimate)

18questions here
4free pages
7concepts
12%of the exam

Questions 11–15

  1. 11application · medium

    A Python developer is writing a compatibility check that must verify the script is running under CPython (not PyPy or Jython) and that the Python version is at least 3.8. The check should be done programmatically without relying on string parsing. Which combination of function calls should be used?

    Select an answer first
  2. 12foundation · easy

    Which platform module function identifies the Python implementation in use, such as 'CPython' or 'PyPy'?

    Select an answer first
  3. 13foundation · easy

    Which platform module function returns the Python version as a tuple of strings, such as ('3', '10', '4')?

    Select an answer first
  4. 14application · easy

    A Python script must log the OS version (e.g., '10.0.19045' for Windows or '5.15.0-91-generic' for Linux) to a support ticket. The script should capture this information without including the OS name or architecture. Which function should be used?

    Select an answer first
  5. 15application · easy

    A software vendor distributes a Python application that must download architecture-specific binaries. The installer needs to determine whether the host is running on an x86_64 or ARM64 processor to select the correct package. Which function should the installer call?

    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. “PCAP-31” is a trademark of its owner, used for identification only.