Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCAP - Certified Associate Python Programmer

Domain 5Objective 2

PCAP-31-03 5.2 Embed Lambda Functions into Code PCAP-31 Practice Questions (Page 2)

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

8questions here
2free pages
5concepts
22%of the exam

Questions 6–8

  1. 6foundation · easy

    Consider the following code: def apply(func, value): return func(value) result = apply(lambda n: n + 10, 5) What is the value of result?

    Select an answer first
  2. 7foundation · medium

    A developer needs to transform a list of Celsius temperatures into Fahrenheit values. Which expression correctly applies a lambda with map() and produces a list of Fahrenheit temperatures?

    Select an answer first
  3. 8foundation · easy

    What is the output of the following code? f = lambda x, y: x * y print(f(3, 4))

    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.