Home

ICT · My World Quest — full scheme of work · pioneer

Stop Repeating Yourself: Mastering Loops in Programming

[sow-ict-pion-05]

Section 1 of 425%

How Long Would That Take?

How Long Would That Take?

Imagine you need to print 'Hello!' 1 000 times on screen. Would you really type the same line of code one thousand times? That would take hours — and if you spotted a typo, you'd need to fix every single copy. There has to be a smarter way. Think about everyday life: a washing machine runs its drum round and round until the cycle ends. A traffic light repeats its colour sequence all day. Repetition is everywhere — and programmers have a powerful tool to handle it elegantly: the loop.

Watch this

What Most Schools Don't Teach

Code.org · 5:44

Video not playing? Search for a different one on YouTube (opens in a new tab).

Try YouTube →

Related videos

Kid-safe

Opens YouTube search in a new tab, scoped to a trusted channel.