Repeating Things: Loops
KS3 ComputingKS3Lesson packSubscription

Also online
This worksheet marks itself
Set it as homework or classwork and every answer is marked as pupils go, with feedback on what they got wrong. The scores go straight into your mark book, so you can see who needs help before the next lesson.
- 8 questions
- 23 marks
- about 25 minutes
- marked instantly
Question types: multiple choice, true or false, matching, short answer, fill the gap.
One question from this worksheet
- 1. The question
- 2. A pupil answers
- 3. Marked instantly
About this resource
KS3 Computing — Python, Lesson 5 of 6. for loops with range(), while loops, loop counters and accumulators, choosing for vs while, and the danger of infinite loops. Students write and run real Python in the built-in interpreter to build a times-table printer, a countdown, and a limited-attempts p…
14 slides.
Lesson outline
- Do Now — Retrieval
- for Loops with range()
- Quick Check — What Does range() Give?
- We Do — A Countdown with for
- while Loops & Counters
- Hinge Check — Why Won't This Stop?
- for vs while — and the Danger of Infinite Loops
- Main Task — Times-Table Printer
- Predict the Output
- Challenge — Password Attempts (limited tries)
- for or while?
- Plenary — What We Learned
Unit bundlePython
More from Python
- Lesson packMaking Decisions: SelectionSubscription
- Lesson packMeet Python: From Blocks to TextSubscription
- Lesson packNumbers and CalculationsSubscription
- Lesson packProject: Build a Python ProgramSubscription
- Lesson packVariables and InputSubscription
- Knowledge organiserPython Your First Text LanguageSubscription
- Scheme of workPython Your First Text LanguageSubscription


