Unit 3: Loops and Repeated Work
A loop repeats a group of commands. You will choose a loop that matches the job, check its stopping rule, and trace repeated work without losing your place.
5Lessons
0Completed
Not StartedCurrent Status
Lesson Roadmap
3.1 · Repeat a Known Number of TimesLesson 3.1: Repeat a Known Number of TimesOpen3.2 · Repeat While a Rule Is TrueLesson 3.2: Repeat While a Rule Is TrueOpen3.3 · Counting Loops and Loop VariablesLesson 3.3: Counting Loops and Loop VariablesOpen3.4 · Nested Loops and Programs That Do Not StopLesson 3.4: Nested Loops and Programs That Do Not StopOpen3.5 · Coding Challenge: Grid ScannerLesson 3.5: Coding Challenge: Grid ScannerOpen
What This Unit Covers
Use fixed-count, condition-controlled, and counting loops.
Trace loop variables and recognize off-by-one errors.
Stop an endless loop and simplify repeated patterns with nesting.
Review the sequence and goals here, then resume at your first incomplete lesson.
Already know this unit?
Complete the comprehensive coding challenge to prove every unit objective and jump directly to Unit 4: Functions and Lists.
Stuck on this lesson?
Ask about anything on this page. It can see which lesson you have open and which part you are reading.