
Python InstitutePCAP - Certified Associate Python Programmer
Domain 1Objective 2
PCAP-31-03 1.2 Perform Evaluations Using the Math 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 16 practice questions to prepare you well beyond it. (estimate)
16questions here
4free pages
7concepts
12%of the exam
Questions 11–15
- 11
Which of the following is true about the math module in Python?
Select an answer first - 12
A scientific application needs to compute the number of possible orderings of 20 distinct items. The developer writes a function that uses math.factorial(20). However, the result is used in a formula that also requires the square root of the factorial. Which expression correctly computes the square root of 20! using the math module?
Select an answer first - 13
A financial application processes both positive and negative decimal values. For a report, the developer needs to remove the fractional part of each number without any rounding — for example, 3.7 should become 3 and -3.7 should become -3. Which math function should be used?
Select an answer first - 14
What is the return value of math.ceil(4.2)?
Select an answer first - 15
A data pipeline processes sensor readings that can be negative. The pipeline needs to extract the integer part of each reading without rounding — for example, -4.8 should become -4. Which math function should be used?
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.