What Makes a Robot Move? Buttons and Steps
Imagine a little robot named Beep. Beep wants to walk to the cookie jar. But Beep can only do what you tell it, one step at a time. If you say 'go forward, forward, turn, forward,' Beep does exactly that. If you forget a step, Beep bumps the wall! A list of steps for a robot is called code. Today you get to be the boss of Beep.
What You'll Learn
- A robot does exactly what we tell it, one step at a time - A list of steps is called code - Buttons and steps make machines move - We can fix a mistake by changing a step
Robots Follow Steps
A robot cannot think like you. It waits for you to give it steps. Step one, step two, step three! We call these steps in order an 'algorithm.' That is a big word for a simple idea: do this, then that, then that. When you brush your teeth, you also follow steps. First you get the toothbrush. Then you add toothpaste. Then you brush! Robots like steps just like that.
Buttons Tell Machines What To Do
Look around your home. A microwave has buttons. A remote has buttons. When you press a button, you send a message: 'Do this now!' The machine listens and does one job. Press the up button on an elevator, and it knows to go up. Buttons are how we talk to machines.
Be the robot! Ask a grown-up to give you three steps, like 'take two steps, turn around, clap.' Do exactly what they say. Then switch. You give them steps. This is just like telling a robot what to do.
Oops! We Can Fix It
Sometimes a step is wrong and the robot bumps the wall. That is okay! We do not cry. We just change the step. Maybe we say 'turn' sooner. Fixing a broken step is called 'debugging.' Even grown-ups who make robots fix their steps all the time.
Match the button to the job it does.
Terms
Definitions
Drag terms onto their definitions, or click a term then click a definition to match.
Flashcards โ click each card to reveal the answer
Beep the robot bumped the wall. What should we do?
You press the up button on an elevator. What does it do?
Make a step map to the toy box
With a grown-up, draw a simple map from where you stand to your toy box. Draw arrows for each step: forward, forward, turn, forward. Then walk it like a robot, saying each step out loud. If you bump into something, change an arrow and try again! Deliverable: your arrow map with any fixes you made.
Want to keep learning?
Sign up for free to access the full curriculum โ all subjects, all ages.
Start Learning Free