Instructions
Read each section carefully and answer the questions. Try your best to think like a programmer giving instructions to a robot!
Part 1: What is a Robot?
A robot is a machine that is programmed to do a job automatically. Robots follow instructions, which we call code.
- Is this statement TRUE or FALSE? A robot is a machine that follows instructions.
Circle one: TRUE / FALSE - Is this statement TRUE or FALSE? A flower in the garden is a robot.
Circle one: TRUE / FALSE
Look at the pairs below. Circle the one that is an example of a robot.
- A kitchen toaster OR A robot vacuum cleaner
- A toy car you push OR A robot arm in a factory
Answer the question below.
- Write down one job you think a robot could do.
__________________________________________________
Part 2: What is Coding?
Coding is how we give instructions to a robot or computer. The instructions must be very clear so the robot knows exactly what to do!
- A set of instructions for a computer is called _______________.
Word Bank: food code color
- Is this statement TRUE or FALSE? Coding is like giving a recipe to a robot to follow.
Circle one: TRUE / FALSE
Match the code to the robot's action. Draw a line connecting them.
| Code | Action |
| 8. FORWARD | - Making a sound |
| 9. BEEP | - Moving straight ahead |
Read the code and write what the robot does.
- Code:
TURN RIGHT, WALK, STOP
The robot will: __________________________________________________
Part 3: Patterns and Steps
Code often uses patterns and steps that repeat. Finding patterns helps us write better code.
11. Follow the arrows (the code) to draw a line from START to the star (★).
Code: → → ↓ →
| START | |||
| ★ | |||
What comes next in the pattern? Circle the correct answer.
- Square, Triangle, Square, Triangle, ... (Triangle / Square)
- ↑, ↑, ↓, ↑, ↑, ↓, ... (↑ / ↓)
- A, B, A, B, A, B, ... (A / B)
- Clap, Stomp, Stomp, Clap, Stomp, Stomp, ... (Clap / Stomp)
16. Create your own pattern using two shapes (like Circle and Square).
My Pattern: ___________ , ___________ , ___________ , ___________
Coding in Real Life!
Imagine you are programming a robot to brush its teeth. Write the 4 steps (code) it needs to follow.
- Step 1: __________________________________________________
- Step 2: __________________________________________________
- Step 3: __________________________________________________
- Step 4: __________________________________________________
Answer Key
- TRUE
- FALSE
- A robot vacuum cleaner
- A robot arm in a factory
- (Example answers) Clean the floor, build a car, explore Mars, help a doctor.
- code
- TRUE
- FORWARD should be connected to "Moving straight ahead".
- BEEP should be connected to "Making a sound".
- (Example answer) The robot will turn right, walk forward one step, and then stop.
- The line should go two squares to the right, one square down, and one more square to the right to land on the star.
- Square
- ↑
- A
- Clap
- (Example answer) Circle, Square, Circle, Square. (Any repeating pattern is correct).
- (Example answer) Get toothbrush and toothpaste.
- (Example answer) Put toothpaste on the toothbrush.
- (Example answer) Brush all the teeth.
- (Example answer) Rinse mouth with water.