Lesson 6 - Writing and testing algorithms

Rate this resource

In this final lesson of the unit, pupils 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

Show health and safety information

Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.

Published by


Share this resource