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

Conditional statements

Sensing movement with physical computing

Unit Summary

This unit brings together all the four programming constructs: sequence, repetition, selection and variables whilst also utilising a physical device - the micro:bit. Pupils begin with a simple program to build and test and then take on three new projects, with each adding more depth and complexity.

Lesson Summary

You will learn to use a conditional statement to compare a variable to a value.

Key Notes

  • Conditions can be checked with <,> and = operators.
  • The order of conditions in selection statements can affect the outcome.
  • Programs can be modified to produce different outcomes.

Vocabulary To Learn

  • condition: a statement that can be either true or false
  • operator: a symbol used to compare values

Common Mistakes To Avoid

  • The order of conditions in an if/else if chain doesn't matter.

3 Quick Questions (With Answers)

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

Conditions can be checked with <,> and = operators. The order of conditions in selection statements can affect the outcome.

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: The order of conditions in an if/else if chain doesn't matter. Correction: Conditions are checked in order, so earlier ones take priority.

More Lessons In This Unit

Browse all guides in the Year 6 Computing guide library.