A small program.
A big first step.
A first coding lesson, a student worksheet, and an exit ticket, plus two short activities to keep exploring.
Choose “Save as PDF” in your print dialog for a digital copy.
Plan a path. Test an idea.
Learning goal: write and trace a sequence of movement instructions, then explain a correction. Success means explaining what the instructions do, not simply reaching the goal.
Prepare: print the student page, provide pencils, and optionally open the robot playground on one device per pair. Use Explorers’ movement lessons; introduce turns only when learners are ready. The paper activity needs no device.
- Notice & predict · 5 min. Show the worksheet. The robot starts at A1, facing right. Ask where two forward moves will take it. Agree that a turn changes facing direction without changing squares.
- Model · 5 min. Trace “forward, forward” with a finger. Stop at C1. Demonstrate a right turn and ask which way the robot now faces.
- Plan & test · 10 min. Partners write a route to the star at C3, avoiding the shaded obstacle at B2. One reads instructions while the other traces. Swap roles and revise one instruction if needed.
- Connect · 5 min. Compare two routes. If devices are available, practice a movement lesson in the playground. Its map may differ: plan a new route before running.
- Reflect · 5 min. Complete the exit ticket. Ask learners to explain or act out the difference between moving and turning.
Support: learners may dictate instructions, use a token, or act out turns. In the playground, offer the button editor, read-aloud, and larger text. Extend: find a different route or start facing another direction.
Teacher example & discussion
One valid route: forward, forward, turn right, forward, forward. Another: turn right, forward, forward, turn left, forward, forward. Both avoid B2. Ask why the right turn in the first route does not move the robot into a new square.
Help the robot reach the star.
Name: __________________________ Date: ______________
Start at A1 facing right →. Reach the star at C3. Stay on the grid and avoid the shaded obstacle at B2.
| A | B | C | |
|---|---|---|---|
| 1 | Start → | ||
| 2 | Obstacle | ||
| 3 | ★ Goal |
Your commands: forward = move one square in the direction you face; turn right / turn left = turn a quarter turn and stay in the same square.
1. Predict
After two forward moves, the robot will be at: __________
2. Plan & test
Write or draw your instructions. Trace them with a partner.
3. Debug
A robot follows: forward, forward, turn right, forward. Where does it stop? ______ What instruction would you add to reach the star?
4. Explain
How is turning different from moving forward?
What did your code tell the robot?
Name: __________________________
1. A sequence is…
2. One instruction I changed or checked was… because…
3. If the robot starts facing down instead of right, what would you check before running the same program?
Circle one: I can explain my route / I want another try / I would like help
Spot a pattern. Build a loop.
Goal: explain how a repeat block represents repeated instructions. Materials: paper, pencils, and a browser-enabled device per pair.
- Predict · 4 min. Write three forward commands on paper. Ask learners to trace their effect and describe the repetition.
- Compare · 6 min. Open the playground, choose Builders and the Repeat lesson. Inspect the example before running it. Compare a repeat block with the same commands written separately.
- Test · 6 min. Use Build a world to make a clear corridor. Test three forward commands, reset, then test repeat 3 with forward inside. Ask whether they finish at the same place and face the same direction.
- Explain · 4 min. Ask what changes if the repeat count is 2 or 4. Have partners explain before testing.
Look for: learners connect the repeat count to how many times the enclosed instructions run. Extend: put a turn inside the loop and predict how the path changes.
What can examples tell us?
Goal: discuss how limited examples can lead to unreliable predictions. Materials: paper and pencils. This is a simplified analogy for learning from examples, not a working AI model.
- Notice · 5 min. Draw two large circles labeled “Zib” and two small squares labeled “Not Zib.” Ask groups to propose a rule. Keep the intended rule hidden: all circles are Zibs, regardless of size.
- Predict · 5 min. Show a small circle and a large square. Ask groups to classify them and explain which feature they used. Both size and shape fit the original examples, so different predictions are reasonable.
- Add evidence · 5 min. Reveal that the small circle is a Zib and the large square is not. Ask groups to update their rules and suggest additional examples to test them.
- Discuss · 5 min. Reveal the intended rule. What information was missing at first? How could examples influence a system’s predictions? When should a person check the result?
Exit prompt: “Before trusting a prediction, I would want to know…” Teaching note: modern AI systems are more complex than this activity. Keep the connection focused on examples, uncertainty, and checking results.