Computer Science Grade 1 20 min

Rusty's Treasure Hunt - Part 2

Write a more complex sequence of instructions to guide Rusty to a different treasure.

Tutorial Preview

1

Introduction & Learning Objectives

Learning Objectives Define an algorithm as a set of steps. Create a sequence of 3-5 instructions for a robot. Follow a simple algorithm to complete a task. Explain why the order of instructions is important. Identify a 'bug' or mistake in a short sequence of steps. Correct a mistake in an algorithm (debugging). Can you tell a friend how to build a LEGO tower? 🧱 You are giving them instructions! Today, we will learn how to give clear instructions. Our robot friend, Rusty, needs our help to find treasure! 💎 We will give Rusty a list of steps to follow. Real-World Applications Following a recipe to make a yummy sandwich 🥪 The steps to get ready for school in the morning 🎒 Playing a game like 'Simon Says' 👋 Building a toy using the instruction...
2

Key Concepts & Vocabulary

TermDefinitionExample AlgorithmA list of steps to finish a task. It's like a recipe! 📜1. Get bread. 2. Get jam. 3. Spread jam. 4. Eat! InstructionOne single step in your list. It tells the robot what to do. ➡️The instruction is 'Move Forward'. SequenceThe special order your instructions are in. First, then next, then last. 🔢The sequence is: 1. Forward, 2. Forward, 3. Turn Right. RobotA friendly machine that follows our instructions exactly. 🤖Rusty the Robot will follow our algorithm to find the treasure. BugA mistake in our instructions that confuses the robot. 🐞Telling Rusty to turn left when he should turn right is a bug. DebuggingFinding and fixing the bugs in our instructions. It's like being a detective! 🕵️We see Rusty went the wrong way, so we change 'Tu...
3

Core Syntax & Patterns

Rule 1: Order Matters! First, Next, Then, Last Always put your instructions in the correct order. Putting on shoes before socks is silly! 🧦👟 Rule 2: Be Super Clear! Use Robot Words Rusty only knows a few words. Use simple words like 'Forward', 'Turn Left', or 'Turn Right'. Rule 3: One Step at a Time! One ➡️ at a time Give the robot only one instruction for each step. This makes it easy for Rusty to follow.

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's code is: Forward, Turn Right, Forward, Pick Up. He picked up a rock. The treasure was one step to the LEFT of the rock. How do you fix the code to get the treasure?
A.Change 'Pick Up' to 'Wait'
B.Add 'Turn Right' before 'Pick Up'
C.Change 'Turn Right' to 'Turn Left'
D.Take out the first 'Forward' step
Challenging
Rusty needs to walk in a perfect square and come back to where he started. His code is: Forward, Turn Right, Forward, Turn Right, Forward, Turn Right... What is the last command he needs?
A.Forward
B.Turn Right
C.Pick Up
D.Wait
Challenging
You give Rusty a new command: 'Repeat 3 times: Move Forward'. What will Rusty do?
A.Move forward one time
B.Move forward, then move forward, then move forward
C.Spin in a circle 3 times
D.Move forward and turn right 3 times

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.