
Python InstitutePCEP - Certified Entry-Level Python Programmer
Domain 1Objective 2
PCEP-30-02 1.2 Understand Pythons Logic and Structure PCEP-30 Practice Questions (Page 3)
Part of the Computer Programming and Python Fundamentals domain, which accounts for 18% of the PCEP-30 exam. Python Institute does not publish an official question count, but from its 45-minute exam (~20–30 total, ~4–5 in this domain), expect 1–1 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)
22questions here
5free pages
8concepts
18%of the exam
Questions 11–15
- 11
Which of the following identifiers is invalid because it is a Python keyword?
Select an answer first - 12
Which keyword is used to import modules into a Python program?
Select an answer first - 13
Which of the following is a complete Python instruction?
Select an answer first - 14
Which keyword is used to define a function in Python?
Select an answer first - 15
A developer is writing a script and wants to define a function that checks if a number is even. They write: def is_even(n): return n % 2 == 0 What is the role of the keyword 'return' in this code?
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.