Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAP - Certified Associate Python Programmer

Domain 1Objective 1

PCAP-31-03 1.1 Import and Use Modules and Packages PCAP-31 Practice Questions (Page 4)

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

19questions here
4free pages
8concepts
12%of the exam

Questions 16–19

  1. 16foundation · easy

    Which statement imports only the `randint` function from the `random` module so that it can be called as `randint(1, 10)`?

    Select an answer first
  2. 17foundation · easy

    Which statement imports the `sqrt` function from the `math` module under the alias `square_root`?

    Select an answer first
  3. 18application · easy

    A developer is debugging a script that imports several modules. The script is failing with a `ModuleNotFoundError` for a module that the developer knows is installed. The developer suspects the module is installed in a location not on the current `sys.path`. Which command will help the developer see the list of directories Python searches for modules?

    Select an answer first
  4. 19foundation · easy

    After executing `from datetime import date`, which statement correctly creates a date object for January 1, 2025?

    Select an answer first
Finished these 4 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to PCAP-31

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.