Year 6 – Lesson 2 – Go with the flow
Pupils will explore how if, then, else statements are used to direct the flow of a program. They will initially relate if, then, else statements to real-world situations, before creating programs in MakeCode. They will apply their knowledge of if, then, else statements to create a program that features selection influenced by a random number to create a micro:bit fortune teller project.
To explain that selection can control the flow of a program
- I can identify examples of conditions in the real world
- I can use a variable in an if, then, else statement to select the flow of a program
- I can determine the flow of a program using selection
- Lesson plans
- Slide decks
- Learner resources
Don't have an account?
Enjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.