Year 6 - Computing
Conditional statements
Sensing movement with physical computing
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 6 - Computing
Sensing movement with physical computing
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.
You will learn to use a conditional statement to compare a variable to a value.
Conditions can be checked with <,> and = operators. The order of conditions in selection statements can affect the outcome.
a statement that can be either true or false. Add one real device or system example to prove understanding.
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.
Browse all guides in the Year 6 Computing guide library.