Instructions
Welcome, future robot programmer! Robots follow instructions, called code, to do amazing things. Let's explore how robots work and how to give them instructions using patterns.
Activity 1: What is the Robot's Job?
Different robots have different jobs. Draw a line to match the robot to its main function.
| Robot | Function |
|---|---|
| Factory Robot Arm | Explores faraway planets like Mars. |
| Robot Vacuum | Cleans the floors all by itself. |
| Mars Rover | Dances, plays music, and is fun to play with. |
| Toy Robot | Builds things like cars in a factory. |
Activity 2: Find the Pattern!
Code often uses repeating patterns. Look at the patterns below. Figure out what comes next and write it in the blanks.
Pattern A:
→ ↑ → ↑ → ____ ____
Pattern B:
🔵 🔴 🔴 🔵 🔴 🔴 🔵 ____ ____
Pattern C:
Clap, Stomp, Jump, Clap, Stomp, Jump, __________, __________, __________
Activity 3: Code the Robot!
Your robot (🤖) needs to get to the star (⭐). Write the code using the arrows below to guide it. The robot cannot move through walls (🧱).
Commands: Move Right (→), Move Left (â†), Move Up (↑), Move Down (↓)
Challenge 1: Guide the robot to the star.
| 🤖 | |||
| ⭐ |
My Code: _________________________________________________________________
Challenge 2: Guide the robot around the wall to get the star.
| 🤖 | |||
| 🧱 | |||
| 🧱 | |||
| ⭐ |
My Code: _________________________________________________________________
Answer Key
Activity 1: What is the Robot's Job?
- Factory Robot Arm → Builds things like cars in a factory.
- Robot Vacuum → Cleans the floors all by itself.
- Mars Rover → Explores faraway planets like Mars.
- Toy Robot → Dances, plays music, and is fun to play with.
Activity 2: Find the Pattern!
- Pattern A: → ↑ → ↑ → ↑ →
- Pattern B: 🔵 🔴 🔴 🔵 🔴 🔴 🔵 🔴 🔴
- Pattern C: Clap, Stomp, Jump, Clap, Stomp, Jump, Clap, Stomp, Jump
Activity 3: Code the Robot!
Note: Other correct paths may be possible for Challenge 2.
- Challenge 1 Code: ↓ ↓ ↓
- Challenge 2 Code (one possible answer): → → ↓ ↓ ↓ →