
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 1)
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 1–5
- 1
Which of the following is a reserved keyword in Python and therefore cannot be used as a variable name?
Select an answer first - 2
Which symbol starts a single-line comment in Python?
Select an answer first - 3
What error occurs when a block is not indented as expected?
Select an answer first - 4
What is a Python instruction?
Select an answer first - 5
A developer is writing a script that should repeatedly ask the user for input until they type 'quit'. They write: while True: user_input = input("Enter command: ") if user_input == "quit": break What is the role of the 'break' keyword 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.