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

Testing a quiz

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 create a program that uses selection.

Key Notes

  • Designs can be used to guide program development
  • Conditions should be tested so that the correct outcomes are run
  • By testing a program, bugs can be identified and fixed

Vocabulary To Learn

  • condition: a statement that can be either True or False
  • test: to run a program to check if it works the way that you planned

Common Mistakes To Avoid

  • You only need to test your program when you have finished writing it.

3 Quick Questions (With Answers)

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

Designs can be used to guide program development. Conditions should be tested so that the correct outcomes are run.

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

a statement that can be either True or False. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: You only need to test your program when you have finished writing it. Correction: Test your program often, especially after you finish a section.

More Lessons In This Unit

Browse all guides in the Year 5 Computing guide library.