Skip to content

Study Hub

Study Guides

This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.

Year 5 - Computing

Outcomes from selection statements

Using selection in programming to develop a quiz

Unit Summary

In this unit pupils will discover how to write programs that ask questions and use selection to control the outcomes based on the answers given. They will design a quiz in response to a given task and implement it as a program. They will then evaluate their programs against given criteria.

Lesson Summary

You will learn to explain that a conditional statement can connect a condition to an outcome.

Key Notes

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

Vocabulary To Learn

  • 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 Mistakes To Avoid

  • A condition will keep being checked on its own.

3 Quick Questions (With Answers)

1. Describe the system or process from this lesson in clear steps.

Conditions can be used in an infinite loop to check a condition. The condition and outcomes in an "if... then... else..." statement can be identified.

2. Define this computing term and give one practical example. 'repetition'

part of a program where one or more commands are run multiple times in a loop. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: A condition will keep being checked on its own. Correction: Conditions need to be inside forever loops if you want them to be repeatedly checked.

More Lessons In This Unit

Browse all guides in the Year 5 Computing guide library.