All Activities
Computing

Be the Robot: Understanding Algorithms Through Instructions

Overview

Students explore how computers follow instructions exactly by acting as 'robots' and giving precise commands to complete simple tasks.

Learning Objective
Students understand that algorithms are clear, step-by-step instructions and can create and refine them through practical activity.

Resources needed

  • No materials required
  • Optional: classroom objects (chair, book, table)

Lesson stages

0 / 10 done
  1. 1 Introduce the idea of an algorithm as a set of instructions.
  2. 2 Explain that computers follow instructions exactly, without guessing.
  3. 3 In pairs, one student is the 'robot' and one is the 'programmer'.
  4. 4 The programmer gives step-by-step instructions to move the robot to a target (e.g. a chair).
  5. 5 The robot must follow instructions exactly, even if they are wrong or unclear.
  6. 6 Pause and observe mistakes or confusion.
  7. 7 Introduce debugging: fixing problems in instructions.
  8. 8 Students repeat the task, improving their instructions.
  9. 9 Swap roles.
  10. 10 Whole-class discussion: what made instructions clear or unclear?

Tap a step to mark it as done.

Variations

  • Add obstacles to make navigation more complex.
  • Limit instructions to specific commands (e.g. 'step forward', 'turn left').
  • Create written algorithms instead of spoken ones.
More information

Teach: algorithm, instruction, step, sequence, debug. Use frames: 'First… then… next…'. Keep language simple and repetitive.

Provide instruction cards or visual prompts. Allow demonstration instead of verbal explanation.

Can students give clear, step-by-step instructions? Can they identify and fix errors (debug)?

Fully unplugged — no technology needed. Can be done in any open space.

Students assume the 'robot' will understand vague instructions. This activity highlights the need for precision.

Unplugged computing activities build foundational understanding of programming without needing devices.