Year 8 – Lesson 2 – Crunching numbers
In the previous lesson, learners were introduced to displaying messages, assigning values to variables, and receiving input from the keyboard. This lesson will help them gain a deeper understanding of assignments, and explicitly address some of the common misconceptions around the semantics of assignment statements.
Learners will also be introduced to using arithmetic expressions and receiving numerical input from the keyboard. These are two key components that will allow them to progress to building more elaborate programs in the lessons to follow.
The main activity in this lesson will require learners to construct their own short programs for the first time, through scaffolded tasks.
- Describe the semantics of assignment statements
- Use simple arithmetic expressions in assignment statements to calculate values
- Receive input from the keyboard and convert it to a numerical value
- 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.