Choose exam board for KS4 Computer Science (GCSE)
Choose exam board for KS4 English
Choose exam board for KS4 French
Choose exam board for KS4 Geography
Choose exam board for KS4 German
Choose exam board for KS4 History
Choose tier for KS4 Maths
Choose exam board for KS4 Music
Choose exam board for KS4 Physical education (GCSE)
Choose exam board for KS4 Religious education (GCSE)
Choose exam board for KS4 Spanish

      Design physical projects that include selection

      Lesson details

      Learning outcome

      I can design a physical project that includes selection.

      Key learning points

      1. Conditions and actions can be seen in real-life examples.
      2. A detailed drawing can be a helpful part of a plan.
      3. Designs can help when writing programming projects.

      Keywords

      • Repetition - part of a program where one or more commands are run multiple times in a loop

      • Condition - a statement that can be either True or False

      • Selection - part of a program where if a condition is met, then a set of commands is run

      Common misconception

      Selection is only used for turning things on and off.

      Selection can be used for different actions, such as changing speed, colour, or sound.

      Teacher tip

      Support pupils to link real-world examples of selection to their own projects, helping them make purposeful design choices.

      Equipment

      Pupils will need access to a microcontroller, crocodile clips, battery packs, Sparkle LEDs and motors. Examples in this lesson use Crumble https://oak.link/crumble

      Licence

      This content is © Oak National Academy Limited (2026), licensed on Open Government Licence version 3.0
      except where otherwise stated. See Oak's terms & conditions
      (Collection 2).

      Lesson video

      Loading...

      Prior knowledge starter quiz

      6 Questions

      Q1.
      What is a condition in programming?

      Correct answer: a statement that can be True or False
      a command to start a program
      a loop that repeats indefinitely
      a way to stop a program

      Q2.
      What does selection control in a program?

      the speed of the program
      the number of loops in the program
      the size of the program’s code
      Correct answer: the flow of commands based on conditions

      Q3.
      What is a conditional loop?

      Correct answer: a loop that repeats until a condition is met
      a single command in a program
      a way to stop a program
      a set of unrelated commands

      Q4.
      What does True mean in a condition?

      the program will stop running
      the program will restart
      Correct answer: the condition has been met
      the condition has not been met

      Q5.
      What is an example of a condition?

      turn on the light
      Correct answer: if the button is pressed, turn on the light
      repeat the commands five times
      stop the program

      Q6.
      What is the name for the result or action produced by a program?

      Correct Answer: output, An output

      6 Questions

      Q1.
      What is selection in programming?

      a way to store information
      a condition that always evaluates to True
      a loop that repeats commands indefinitely
      Correct answer: a part of a program where if a condition is met, a set of commands is run

      Q2.
      Match the terms to their definitions:

      Correct Answer:selection,if a condition is met, a set of commands is run

      if a condition is met, a set of commands is run

      Correct Answer:condition,a statement that can be True or False

      a statement that can be True or False

      Correct Answer:repetition,part of a program where commands are run multiple times in a loop

      part of a program where commands are run multiple times in a loop

      Correct Answer:input,information provided to the program

      information provided to the program

      Q3.
      What is a real-life example of a condition?

      cars driving on a road
      Correct answer: if the traffic light is green, cars can go
      a loop that repeats commands
      a drawing of a traffic light

      Q4.
      What is an example of repetition in a program?

      a condition that checks if a button is pressed
      a command to stop the program
      Correct answer: a loop that makes a light blink five times
      a drawing of the program’s design

      Q5.
      What happens if a condition is False in selection?

      Correct answer: the program skips the commands linked to the condition
      the program runs all commands
      the program stops immediately
      the program repeats the commands in a loop

      Q6.
      Which components are classed as output?

      Correct answer: motor
      Correct answer: LED
      push button
      battery pack

      To help you plan your 5 computing lesson on: Design physical projects that include selection, download all teaching resources for free and adapt to suit your pupils' needs...