New
New
Year 5

Outcomes from selection statements

I can explain that a conditional statement can connect a condition to an outcome.

New
New
Year 5

Outcomes from selection statements

I can explain that a conditional statement can connect a condition to an outcome.

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

These resources were created for remote use during the pandemic and are not designed for classroom teaching.

Lesson details

Key learning points

  1. Conditions can be used in an infinite loop to check a condition.
  2. The condition and outcomes in an "if... then... else..." statement can be identified.
  3. A program can use selection to produce different outcomes.

Keywords

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

  • Infinite loop - a chunk of code that runs a section of the program continuously

  • Outcome - the actions that come from a condition being True or False

Common misconception

A condition will keep being checked on its own.

Conditions need to be inside forever loops if you want them to be repeatedly checked.


To help you plan your year 5 computing lesson on: Outcomes from selection statements, download all teaching resources for free and adapt to suit your pupils' needs...

Model how the "if� then� else�" structure allows a program to choose between two outcomes depending on whether the condition is true or false.
Teacher tip

Equipment

Pupils will need access to a device with block-based programming software. Examples in this lesson use Scratch https://oak.link/scratch

Licence

This content is © Oak National Academy Limited (2025), 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

Download quiz pdf

6 Questions

Q1.
What is a condition in programming?

a type of loop
the name of a variable
an instruction to repeat
Correct answer: a statement that can be either True or False

Q2.
Put these steps in order for how a selection works in a program:

1 - start the program
2 - check the condition
3 - decide which action to take
4 - carry out the chosen action

Q3.
What does a program do when a condition is met?

It always stops.
Correct answer: It starts a specific action.
It changes colour.
It stores a number.

Q4.
Why are conditions important in programming?

They make the program look nice.
They make the program louder.
Correct answer: They help decide what happens next.
They help save your work.

Q5.
Match the keyword to its meaning:

Correct Answer:condition,a rule that can be checked

a rule that can be checked

Correct Answer:selection,choosing what to do

choosing what to do

Correct Answer:True,the condition is met

the condition is met

Correct Answer:False,the condition is not met

the condition is not met

Q6.
What would happen if a program only checked a condition once?

It would always respond correctly.
Correct answer: It might miss changes that happen later.
The sprite would stop moving.
The program would run faster.

Assessment exit quiz

Download quiz pdf

6 Questions

Q1.
What do we call a loop that never ends?

Correct Answer: infinite loop, infinite, forever

Q2.
What is the purpose of a condition inside a loop?

Correct answer: to check something repeatedly
to make the program louder
to draw shapes
to save the program

Q3.
In an if... then... else... statement, what happens if the condition is not met?

The program ignores the statement.
The outcome for True is carried out.
Correct answer: The outcome for False is carried out.
The program ends.

Q4.
What is an outcome in a program?

the name of a variable
the number of loops
the type of data stored
Correct answer: the result of a condition being checked

Q5.
Sequence the events in an if... then... else... statement:

1 - The condition is checked.
2 - The program decides if it is True or False.
3 - The True outcome is carried out if the condition is met.
4 - The False outcome is carried out if the condition is not met.

Q6.
Match each scenario to the correct term:

Correct Answer:infinite loop,The program keeps checking a rule forever.

The program keeps checking a rule forever.

Correct Answer:selection,The program picks what to do based on a rule.

The program picks what to do based on a rule.

Correct Answer:outcome,The program runs a set of actions because a rule is met.

The program runs a set of actions because a rule is met.

Correct Answer:repetition,The program repeats a group of commands several times then stops.

The program repeats a group of commands several times then stops.

Additional material

Download additional material