Skip to content

Programming an activity picker

Lesson 5 of 5

MakeCode

7-11 yrs

Pupils apply their understanding of variables and random numbers by writing, testing and debugging a program to use micro:bit as a family activity selector, following their algorithm. They then evaluate their work.

Key learning:

  • To debug programs involving random number variables
  • To write programs that use random number variables
  • To evaluate a solution effectively

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.