Iteration: count-controlled and condition-controlled loops
OCR J2772.2 L5GCSELesson 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.
- 12 questions
- 41 marks
- about 40 minutes
- marked instantly
Question types: short answer, multiple choice, true or false.
One question from this worksheet
- 1. The question
- 2. A pupil answers
- 3. Marked instantly
About this resource
OCR GCSE Computer Science (J277) 2.2.1 Programming fundamentals: iteration (count-controlled and condition-controlled loops). Python lesson 5 of 10 in 2.2 Programming fundamentals, with OCR Exam Reference Language beside the Python: a spot-the-mistakes Do Now, a short key idea, a 9-challenge ladd…
20 slides.
Lesson outline
- Do Now: spot the 3 mistakes
- Do Now: answers
- Key idea: Count-controlled loops: for
- Quick check: how many times?
- Key idea: Condition-controlled loops: while
- Quick check: zero passes
- Key idea: do ... until: always at least once
- Key idea: Totals, counts and nested loops
- Quick check: loops inside loops
- Set 1: count-controlled loops
- Set 2: totals and counts
- Set 3: condition-controlled loops
Unit bundle2.2 Programming fundamentals · Python and OCR ERL lessons
More from 2.2 Programming fundamentals · Python and OCR ERL lessons
- Lesson pack · 2.2 L1Variables, constants, input, output and assignmentSubscription
- Lesson pack · 2.2 L2Data types and castingSubscription
- Lesson pack · 2.2 L3Operators: arithmetic, comparison and BooleanSubscription
- Lesson pack · 2.2 L4Selection: if, elif, else, nested if and caseSubscription
- Lesson pack · 2.2 L6String manipulationSubscription
- Lesson pack · 2.2 L71D arraysSubscription
- Lesson pack · 2.2 L82D arrays and recordsSubscription
- Lesson pack · 2.2 L9File handling and SQLSubscription


