
Python InstitutePCAD - Certified Associate in Data Analytics with Python
Domain 2Objective 1
Core Python Proficiency PCAD-31 Practice Questions (Page 8)
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 50 practice questions to prepare you well beyond it. (estimate)
50questions here
10free pages
5concepts
33.3%of the exam
Questions 36–40
- 36
A data analyst is writing a function that processes a list of numbers and returns a new list with each number squared. However, the function must not modify the original list. Which implementation is correct and follows best practices?
Select an answer first - 37
A data analyst has a list of dictionaries, each representing a product with keys 'id', 'name', and 'price'. They need to find the product with the highest price. Which code snippet is most efficient and correct?
Select an answer first - 38
A data analyst is writing a script that uses pandas and numpy. They want to ensure that the script runs correctly regardless of the current working directory. Which best practice should they follow?
Select an answer first - 39
A data analyst has a list of numbers and needs to compute the sum of all even numbers. They also need to handle the case where the list is empty, returning 0. Which code snippet is both correct and Pythonic?
Select an answer first - 40
A data analyst is using a Jupyter notebook and wants to ensure that plots are displayed inline. They have already imported matplotlib.pyplot as plt. Which magic command should they run?
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.