Year 10 - Computing
Relational operators
Programming: selection
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 10 - Computing
Programming: selection
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.
You will learn to use relational operators as part of selection statements.
Relational operators are used to compare values in expressions. Expressions either return as True or False.
compare two values and produce the result of True or False. Add one real device or system example to prove understanding.
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.
Browse all guides in the Year 10 Computing guide library.