Tutorpip← About this lessonOpen the sheet →Download PDF
Ages 5+ · Coding · How computers work
Unplugged: be the robot
🤖robot👣clear steps⭐the star🐛a bug
A robot does only the steps.
The big ideaA robot does only the steps it is given. Clear steps help it.

How it works

A robot does only the steps it is given, no more and no less.

A robot cannot guess, so it needs clear steps.

A bug is a mix-up in the steps. We fix the steps and try again.

Clear steps• take two steps forward• turn around• pick up the star• stand stillNot clear• go over there• do the thing• walk somewhere nice
Clear, and not clear.

Example 1: Not clear

  1. Grandpa says, go over there.
  2. Nia does not move, because over where?
  3. A robot cannot guess, so it needs a clear step.

Example 2: Clear steps

  1. Take two steps forward. Turn around. Take three steps.
  2. Each step is clear, so Nia can do it.

Example 3: Steps on a board

  1. Nia tells Bo: forward three times, turn left, forward twice.
  2. Bo walks the dotted way and lands on the star.
  3. A step that walks Bo into a rock would be a bug.
🪨⭐🤖
Bo walks the dotted way to the star.

Example 4: Fix the steps

  1. Nia takes one more step and bumps a flowerpot.
  2. That is a bug, not a bad robot.
  3. Grandpa fixes the steps to turn first, then step.

Words to know

robot
A machine that does only the steps it is given.
step
One thing to do.
clear
So easy to do that a robot knows what to do.
bug
A mix-up in the steps.
programmer
The one who says the steps.

Watch out

Try it

  1. Is go over there a clear step?
  2. Is take two steps forward a clear step?
  3. Nia bumps a flowerpot. What is that?
  4. What do we do about a bug?
Answers: 1. No · 2. Yes · 3. A bug · 4. Change the steps and try again
Try at homeWith a grown-up, hide a toy and play robot. One of you says the steps, like step forward, step forward, turn. The other is the robot and does only those steps. If the robot bumps, that is a bug: fix the steps and try again. Then swap!
For grown-upsHide a toy and play robot: one of you says the steps, like step forward, step forward, turn, and the other does only those steps. If the robot bumps, say 'that is a bug' and fix the steps together. Then swap.
Open these notes on screenScan the code, or go to tutorpip.com.