
Python InstitutePCAD - Certified Associate in Data Analytics with Python
Domain 2Objective 1
Core Python Proficiency PCAD-31 Practice Questions (Page 10)
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 46–50
- 46
A data analyst needs to count the frequency of each word in a list of words. Which data structure is most appropriate for storing the counts, and which loop correctly updates it?
Select an answer first - 47
A data analyst is writing a script to process a large dataset. The script currently has many global variables and repeated code blocks. Which best practice would most improve the script's maintainability and readability?
Select an answer first - 48
A data analyst has a list of tuples, each containing (product_id, price). The analyst needs to create a dictionary mapping product_id to price, but only for products with a price greater than 0. Which code snippet accomplishes this?
Select an answer first - 49
A data analyst needs to write a function that accepts a variable number of keyword arguments representing column names and their default values, and returns a dictionary of those arguments. Which function definition is correct?
Select an answer first - 50
A data analyst is using a Jupyter notebook to explore a dataset. They need to see the documentation for the pandas DataFrame method 'merge'. Which command should they use?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to PCAD-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. “PCAD-31” is a trademark of its owner, used for identification only.