Computer Science Grade 1 20 min

Rusty's Treasure Hunt - Part 1

Write a sequence of instructions to guide Rusty to a treasure.

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Define an algorithm as a set of steps. Explain that instructions must be in the correct order. Create a simple sequence of instructions for a task. Follow a short algorithm to predict an outcome. Identify a mistake in a simple sequence of steps. Give clear instructions to a friend acting as a robot. Can you help Rusty the Robot 🤖 find his favorite red ball? 🔴 We will learn how to give special instructions called algorithms. This helps our robot friend Rusty understand exactly what to do. Let's be great robot helpers! Real-World Applications Following a recipe to bake cookies 🍪 Getting dressed for school in the morning 👕 Building a tower with blocks 🧱 Brushing your teeth step-by-step 🦷
2

Key Concepts & Vocabulary

TermDefinitionExample Robot 🤖A machine that follows our instructions.Rusty is our friendly robot who needs our help. InstructionOne single step for the robot to do.A single instruction is 'Move Forward'. AlgorithmA list of instructions to finish a task.An algorithm to get a toy is: 1. Walk. 2. Pick up toy. SequencePutting instructions in the right order.First, put on socks. Second, put on shoes. That is a sequence. ProgramAn algorithm written for a computer or robot.We are writing a program to help Rusty find his treasure. Bug 🐞A mistake in our instructions.Telling Rusty to turn left when he should turn right is a bug.
3

Core Syntax & Patterns

One Step at a Time Robots only do one instruction at a time. Give your robot one clear instruction for each step. Don't combine them. Order Matters! Instructions must be in the correct sequence. If the steps are in the wrong order, the robot won't get to the treasure! Be Super Clear Instructions must be simple and exact. A robot doesn't understand 'go over there'. Use 'Move Forward 2 steps'.

4 more steps in this tutorial

Sign up free to access the complete tutorial with worked examples and practice.

Sign Up Free to Continue

Sample Practice Questions

Challenging
Rusty 🤖 is facing a rock 🗿. The treasure 💎 is right behind the rock. Which algorithm will get the treasure?
A.1. Move Forward, 2. Pick Up Treasure
B.1. Turn Right, 2. Move Forward, 3. Turn Left, 4. Move Forward, 5. Pick Up Treasure
C.1. Pick Up Treasure, 2. Move Forward
D.1. Turn Right, 2. Turn Left, 3. Pick Up Treasure
Challenging
Rusty 🤖 can get a flower 🌸 using two paths. Path 1: (3 steps). Path 2: (5 steps). If both paths work, which is the better algorithm?
A.Path 1 because it is shorter and faster.
B.Path 2 because it has more steps.
C.They are both the same.
D.The one with more turns is always better.
Challenging
After following his program, Rusty 🤖 ended up one step to the LEFT of where he started. Which instructions did he probably follow?
A.1. Turn Right, 2. Move Forward
B.1. Move Forward, 2. Move Backward
C.1. Move Forward, 2. Turn Left
D.1. Turn Left, 2. Move Forward

Want to practice and check your answers?

Sign up to access all questions with instant feedback, explanations, and progress tracking.

Start Practicing Free

More from Algorithms: Giving Instructions to a Robot Friend

Ready to find your learning gaps?

Take a free diagnostic test and get a personalized learning plan in minutes.