
Python InstitutePCAD - Certified Associate in Data Analytics with Python
Domain 2Objective 1
Core Python Proficiency PCAD-31 Practice Questions (Page 1)
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 1–5
- 1
Which Python code correctly uses a conditional expression to assign the string 'positive' to the variable `label` if `value` is greater than 0, and 'non-positive' otherwise?
Select an answer first - 2
What is the purpose of using docstrings in Python functions?
Select an answer first - 3
Which loop structure is most appropriate for iterating over a list of data values and printing each value?
Select an answer first - 4
What is the output of the following function call? def add(a, b): return a + b print(add(2, 3))
Select an answer first - 5
In Python, what is the scope of a variable defined inside a function?
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.