
Python InstitutePCAD - Certified Associate in Data Analytics with Python
Domain 2Objective 2
Module Management and Exception Handling PCAD-31 Practice Questions (Page 4)
Part of the Programming and Database Skills domain, which accounts for 33.3% of the PCAD-31 exam. Python Institute does not publish an official question count, but from its 60-minute exam (~25–40 total, ~8–8 in this domain), expect 2–2 from this objective — we provide 24 practice questions to prepare you well beyond it. (estimate)
24questions here
5free pages
10concepts
33.3%of the exam
Questions 16–20
- 16
Which class definition correctly creates a custom exception named `ValidationError`?
Select an answer first - 17
Which pip command upgrades an already-installed package named `numpy`?
Select an answer first - 18
Which pip command installs a package named `requests`?
Select an answer first - 19
A data analyst needs to use the `pandas` library in their Python environment, but when they run `import pandas`, they get a `ModuleNotFoundError`. They have internet access and want to install the package. Which command should they run from the terminal?
Select an answer first - 20
A data analyst is writing a script that uses the `statistics` module. They want to use the `mean` function but avoid importing the entire module to keep the namespace clean. Which import statement should they use?
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. “PCAD-31” is a trademark of its owner, used for identification only.