Skip to main content

Year 5

Lesson 6 Writing and testing algorithms

Curriculum > KS2 > Unit > Lesson

In this final lesson of the unit, learners will build on the designs they developed in the previous lesson by creating an algorithm to meet the requirements of the given task. They will identify how they are going to use selection before writing their algorithm. They will then move into the code level to test their algorithm by implementing it as a program, running it, identifying any bugs and returning to the algorithm to debug it where necessary. Finally, they will conclude the unit by evaluating their algorithms and other areas of their designs.

Learning objectives

To create a program that controls a physical computing project

  • I can write an algorithm that describes what my model will do
  • I can use selection to produce an intended outcome
  • I can test and debug my project

Package contents

  • Lesson plans
  • Learning graphs
  • Unit overviews
  • Activities
Log in to download

Not registered yet?

Create an account and get access to over 500 hours of free teaching resources.

Help us make these resources better

Provide your feedback

Or email us at [email protected]