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 10 - Computing

Using selection when developing programs

Programming: selection

Unit Summary

In this unit pupils will explore the benefits of good programing practices and why subroutines are used in programs. They will create conditions in programs which use arithmetic, relational and logical expressions. They will develop their understanding of selection and explore nested selection.

Lesson Summary

You will learn to describe how selection statements are used in programs to control program flow.

Key Notes

  • Selection is used when there is more than one possible path for a program to follow.
  • Selection is carried out using if, elif and else statements.
  • A selection statement will check if a condition returns as True or False.
  • Multi-path selection is used when there is more than one path for a program to follow.

Vocabulary To Learn

  • selection: used when there is more than one possible path for a program to follow
  • condition: an expression that evaluates to True or False
  • multi-path selection: selection when there is more than one path for a program to follow

Common Mistakes To Avoid

  • A program follows a sequence of instructions and will run all lines of code.

3 Quick Questions (With Answers)

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

Selection is used when there is more than one possible path for a program to follow. Selection is carried out using if, elif and else statements.

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

used when there is more than one possible path for a program to follow. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: A program follows a sequence of instructions and will run all lines of code. Correction: Selection statements can be used to control program flow, so some lines of code can be skipped to follow a different path through the program.

More Lessons In This Unit

Browse all guides in the Year 10 Computing guide library.