
Python InstitutePCEP - Certified Entry-Level Python Programmer
Domain 4Objective 3
PCEP-30-02 4.3 Python Built-In Exceptions Hierarchy PCEP-30 Practice Questions (Page 3)
Part of the Functions and Exceptions domain, which accounts for 28% of the PCEP-30 exam. Python Institute does not publish an official question count, but from its 45-minute exam (~20–30 total, ~6–8 in this domain), expect 2–2 from this objective — we provide 35 practice questions to prepare you well beyond it. (estimate)
35questions here
7free pages
11concepts
28%of the exam
Questions 11–15
- 11
A developer is writing a function that performs several numeric operations. The function should catch all numeric calculation errors, but should NOT catch errors related to types or values. Which of the following except clauses would achieve this? Select all that apply.
Select an answer first - 12
Which of the following statements correctly describes the role of BaseException in Python's built-in exception hierarchy?
Select an answer first - 13
What is LookupError the base class for?
Select an answer first - 14
From which class does SystemExit inherit directly?
Select an answer first - 15
A developer is debugging a program that processes a list of sensor readings. The program crashes with an error when it tries to access `readings[100]` but the list only has 50 elements. What exception is raised?
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. “PCEP-30” is a trademark of its owner, used for identification only.