SHSubjectHub

Selection & Iteration

OCR J2772.2bGCSELesson 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
  • 24 marks
  • about 18 minutes
  • marked instantly

Question types: multiple choice, matching, true or false, multi-part, short answer.

Try one from this worksheet

Which type of loop always executes at least once before checking the condition?

Pick an answer: it's marked straight away, just as your pupils would see it.

About this resource

Understand the three programming constructs (sequence, selection, iteration), if/elif/else statements, switch/case, and the three types of loop.

18 slides.

Lesson outline

  1. The Three Programming Constructs
  2. Control Flow Visualiser
  3. Selection: if / elif / else
  4. Code Demo: Selection in Action
  5. Selection Trace
  6. Selection: switch / case
  7. Iteration: Three Types of Loop
  8. Code Demo: Loops in Action
  9. Coding Challenge: Number Guessing Game
  10. Loop Type Selection
  11. for Loops in Detail
  12. while and do-until Loops
Unit bundle2.2 Programming Fundamentals
Part of: 2.2 Programming Fundamentals: the whole unitEvery resource in the unit in one zip.

More from 2.2 Programming Fundamentals