Skip to content

Random activities

Lesson 4 of 5

MakeCode

7-11 yrs

Pupils complete a times table test using the BBC micro:bit and identify how variables and random numbers have been used, before modifying it. They consider how variables and random numbers can be used to help a family become more active with micro:bit and write an algorithm to follow next lesson.

Key learning:

  • To predict how variables will be used in programs
  • To understand how a variable can be set to a random number
  • To write algorithms that use random number variables

You may also be interested in

This unit of four lessons is suitable for students aged 7-8 years. They create nature representations, firstly using art materials and are introduced to computational thinking and programming the LEDs on the BBC micro:bit. 

Five lessons aimed at students aged 7-8 years. Students design and program digital flashcards to help them learn a foreign language using the BBC micro:bit.

Five lessons aimed at students aged 8-9 years. Students explore animations, developing their computational thinking and use repetition to create volcanic eruption animations using the LEDs on the BBC micro:bit.