Courseiva
Question 107 of 498
Control Flow, Loops, Lists and LogicmediumMultiple SelectObjective-mapped

PCEP Control Flow, Loops, Lists and Logic Practice Question

Which THREE statements about the break statement in Python are correct? (Choose three.)

⚠ Common exam trap

Python Institute often tests the misconception that break can be used with an optional else clause, confusing it with the loop-else construct, or that break can be used outside a loop, which leads to a SyntaxError.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

It exits the innermost loop when executed.

The break statement, when executed inside a loop, immediately terminates the innermost loop it resides in, transferring control to the next statement after the loop. This is a fundamental behavior defined in Python's control flow documentation.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • It can be used with an optional else clause.

    Why it's wrong here

    False: the else clause belongs to the loop, not to break.

  • It exits the innermost loop when executed.

    Why this is correct

    Correct: break terminates the innermost loop immediately.

  • It can be used in an if statement outside any loop.

    Why it's wrong here

    False: break outside a loop causes a SyntaxError.

  • If used inside a loop, it prevents the loop's else clause from executing.

    Why this is correct

    Correct: loop else only runs if loop completes normally without break.

  • It can be used only inside a for or while loop.

    Why this is correct

    Correct: break is only valid within a loop.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCEP practice question is part of Courseiva's free Python Institute certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCEP exam.