Skip to content
Menu

Year 2 (ages 6–7, Grade 1 in the US) · Computing · Programming a floor robot · Lesson 1

What is an algorithm?

Understanding that algorithms are precise step-by-step instructions, putting steps in order and spotting bugs.

Exam boards: this lesson matches the AQA and Pearson Edexcel GCSE computing courses. Check which course your school follows.

Whiteboard video lesson: What is an algorithm?

13-minute video lesson

Teaching, worked examples and 20 practice questions solved step by step.

Watch free for a month

What your child will learn

  • Know what an algorithm is
  • Order instructions
  • Write exact steps
  • Find and fix bugs

The method

  1. Break the task into small steps.
  2. Put them in the right order.
  3. Make each step exact.
  4. Test it - debug any mistakes.

Key words: algorithm, instructions, order, bug, debug, program.

Worked examples

Worked examples from the lesson, with every step.

Question 1

Is a recipe an algorithm?

  1. Step 1: steps in order

Answer: yes

Question 2

Is a shopping list an algorithm?

  1. Step 1: no steps

Answer: no - it isn't step-by-step instructions

Question 3

Order: put on shoes / put on socks

  1. Step 1: socks first

Answer: socks, then shoes