Year 8 – Lesson 2 – Crunching numbers

Curriculum KS3 Unit Lesson

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.

Learning objectives

  • 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

Package contents

  • Lesson plans
  • Slide decks
  • Learner resources
  • Homework