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

Relational operators

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 use relational operators as part of selection statements.

Key Notes

  • Relational operators are used to compare values in expressions.
  • Expressions either return as True or False.
  • Relational operators can be used in selection statements.

Vocabulary To Learn

  • relational operator: compare two values and produce the result of True or False
  • condition: an expression that evaluates to True or False
  • selection: used when there is more than one possible path for a program to follow

Common Mistakes To Avoid

  • The = operator is used for comparison.

3 Quick Questions (With Answers)

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

Relational operators are used to compare values in expressions. Expressions either return as True or False.

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

compare two values and produce the result of True or False. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: The = operator is used for comparison. Correction: When using Python for programming the == operator is used for comparison and the = operator is used for assignment. Other languages may not always use these operators for these tasks.

More Lessons In This Unit

Browse all guides in the Year 10 Computing guide library.