⌨️ap computer science principles review

REPEAT UNTIL loop

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

The REPEAT UNTIL loop is a control flow structure that repeats a block of code until a certain condition becomes true. Unlike other loops, this loop runs at least once since the condition check comes after executing the code block.

"REPEAT UNTIL loop" also found in: