Big idea. A loop repeats lines until it runs out of values or its condition becomes False, and the variables that change inside it carry the result.
Outcomes served. O3 (write programs that repeat work and make decisions).
Plan your six hours
| Part | Minutes |
|---|---|
| Opener and orientation (this page) | 15 |
| M3.L1 for loops and range | 55 |
| M3.L2 while loops | 50 |
| M3.L3 Totals and counters | 50 |
| M3.L4 Choosing and tracing loops | 50 |
| Practice set | 35 |
| Lab: Trace, repair and write loops | 50 |
| Mastery checkpoint | 30 |
| Discussion prompt and recap | 25 |
| Total | 360 (6 hours) |
Assumed. Modules 1 and 2: variables, arithmetic, input, comparisons and if statements.
Where this topic appears in practice. Loops add up a month of sales, check every row of a file, keep asking until an entry is valid and process a thousand records with ten lines of code.
Privacy. Your answers stay with you. This course does not store, collect or send anything you write or tick.