Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAP - Certified Associate Python Programmer

Domain 5Objective 1

PCAP-31-03 5.1 Build Complex Lists Using List Comprehensions PCAP-31 Practice Questions (Page 9)

Part of the Miscellaneous (List Comprehensions, Lambdas, Closures, I/O) domain, which accounts for 22% of the PCAP-31 exam. Python Institute does not publish an official question count, but from its 65-minute exam (~25–45 total, ~6–10 in this domain), expect 1–2 from this objective — we provide 43 practice questions to prepare you well beyond it. (estimate)

43questions here
9free pages
2concepts
22%of the exam

Questions 41–43

  1. 41application · medium

    A financial analyst has a list of stock prices. They need a list of prices that are above the average price. Which comprehension correctly computes this?

    Select an answer first
  2. 42application · hard

    A logistics company has a list of routes, each route is a list of cities. They need a flat list of all cities that appear in more than one route. Which approach correctly uses a nested comprehension?

    Select an answer first
  3. 43expert · medium

    A developer is refactoring code for performance. They have a large list of integers and need to extract those divisible by 3, then compute their factorial. Which comprehension is most efficient and correct?

    Select an answer first
Finished these 3 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.