Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Python Institute logo

Python InstitutePCEP - Certified Entry-Level Python Programmer

Domain 2Objective 2

PCEP-30-02 2.2 Perform Different Types of Iterations PCEP-30 Practice Questions (Page 2)

Part of the Control Flow Conditional Blocks and Loops domain, which accounts for 29% of the PCEP-30 exam. Python Institute does not publish an official question count, but from its 45-minute exam (~20–30 total, ~6–9 in this domain), expect 3–5 from this objective — we provide 14 practice questions to prepare you well beyond it. (estimate)

14questions here
3free pages
10concepts
29%of the exam

Questions 6–10

  1. 6foundation · easy

    What is the effect of the break statement inside a while loop?

    Select an answer first
  2. 7foundation · easy

    Consider the following code snippet: if x > 0: pass else: print("non-positive") What happens when x is 5?

    Select an answer first
  3. 8foundation · easy

    What is the output of the following code? for i in range(3): for j in range(3): if j == 1: continue print(i, j)

    Select an answer first
  4. 9foundation · easy

    What is the output of the following code? i = 0 while i < 3: print(i, end=" ") i += 1

    Select an answer first
  5. 10foundation · easy

    What is the effect of the continue statement inside a while loop?

    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.