Lesson 2: Machine learning

Learn that computers can use algorithms, which are instructions, to make informed and calculated predictions and help teach a computer program how to interpret different drawings

Learning objective

  • To understand that computers can use algorithms to make predictions (machine learning)

National curriculum

Pupils should be taught to:

  • Understand what algorithms are; how they are implemented as programs on digital devices; and that programs execute by following precise and unambiguous instructions
  • Create and debug simple programs
  • Use logical reasoning to predict the behaviour of simple programs

Success criteria

Cross-curricular links

Before the lesson

Attention grabber

Main event


Pupils needing extra support: Should be encouraged to rebuild their lego model as they write the algorithm to make sure they don’t miss out any steps.


Pupils working at greater depth: Should write more detailed algorithms and explain the importance of them being clear and precise.

Wrapping up

Assessing pupils' progress and understanding


Created by:
Siobhan Morgan,  
Computing specialist
Head of Computing at Exeter Junior School, Siobhan Morgan has nine years of computing teaching experience as well as experience from her role of ‘Subject Genius for Computing’ on TES. Siobhán enjoys spending time with her family and searching for the Gruffalo…
Find out more