Lesson 3: Polling program

Children learn that the BBC micro:bit can be used as a polling program, recording how many people feel happy, neutral or sad about a topic

Before the lesson

Download classroom resources

Learning objective

  • To recognise coding structures

National curriculum links

Pupils should be taught to:

  • Use logical reasoning to explain how some simple algorithms work
  • Work with variables and various forms of input

Success criteria

Cross-curricular links

Attention grabber

Main event


Pupils needing extra support: Encourage children to use the colours and icons to help them locate the blocks within the sections. Focus on familiarity with the blocks and interface rather than their understanding of variables at this time.


Pupils working at greater depth: Challenge these children with sets of ‘what if’ questions to do with the program they create. Do they agree what will happen?

What if…

  • there were no instructions under ‘on start’?
  • we changed ‘set [variable]’ to 5?
  • we changed ‘change [variable]’ to -1?
  • we wanted to stop the same person pressing the button lots of times by accident?

Wrapping up

Assessing pupils' progress and understanding


Created by:
Richard Williams,  
Computing specialist
Richard is a Year 6 Teacher at St. Pancras Primary School. Richard’s passion for teaching was recognised when he received Suffolk’s ‘Raising The Bar’ award for Innovation 2016. With his class he made the world’s first guided VR:360 school tour…
Find out more