Pupils will apply their understanding of the importance of order in programs. They will then use operands in selection to determine the flow of a program. Pupils will then modify a program which will enable the micro:bit to be used as a navigational device. To code this, they will adapt the code they completed to make a basic compass.
To use a conditional statement to compare a variable to a value
- I can use an operand (e.g. <>=) in an if, then statement
- I can explain the importance of the order of conditions in else, if statements
- I can modify a program to achieve a different outcome