June 29, 2026

Get the Gold

Get the Gold!

LEGO® Education Computer Science & AI Grade 3 - 5

Unit 1 • Lesson 1

Student Sheet


Mission

A treasure of gold is waiting!

Your job is to build a horse and carriage, then write a program that helps your robot travel from the castle to the gold and safely back home again.

Along the way, you'll learn one of the most important ideas in computer science:

Sequences

Every computer program follows a sequence of instructions. If the instructions are in the wrong order, the robot won't do what you expect!


New Vocabulary

Sequence

A sequence is a list of steps that happen in a specific order.

Think about:

  • Making cereal
  • Brushing your teeth
  • Walking to school

If you do the steps in the wrong order, things won't work very well!


Troubleshoot

To troubleshoot means to find a problem, figure out what caused it, and fix it.

Great programmers don't expect their code to work perfectly the first time.

They test.
They learn.
They improve.


Warm-Up Questions

Before you start building, think about these questions.

1. What steps do you take to get from your home to school or to a park?

Try writing them in order.


2. What steps do you take to brush your teeth?

Can someone else follow your instructions exactly?


Build Your Robot

Follow the building instructions from:

Book B1
Page 16

Take your time building carefully.


Build Challenge

Can you make your model even better?

Try adding:

  • A cargo carrier for carrying gold
  • Decorations to make your castle look impressive

Be creative!


Coding Time

Go to:

code.LEGOEducation.com

Enter PIN:

1202

Run the example program.

Watch carefully.


Think Before You Code

What do you think this sequence does?

Talk with your partner before pressing Run.

Were you correct?


Your Challenge

Create a sequence that helps your robot:

  • Start at the castle
  • Travel to the gold
  • Pick up the treasure
  • Return safely to the castle

Remember...

Computers only do exactly what you tell them.


Test Your Program

Run your code.

Did it work?

If not:

  • Change one thing.
  • Test again.
  • Keep improving.

That is what programmers do every day!


Reflection

Answer these questions after you finish.

1. What steps do you take to get from your home to a park or school?


2. What steps do you take to brush your teeth?


3. What do you think the example sequence does?


4. Write your own sequence that moves the robot from the castle to the gold and back to the castle.


5. Did you encounter any problems?

How did you troubleshoot them?


Challenge Yourself!

Can you make your robot:

  • Take a different path
  • Travel faster
  • Add extra turns
  • Pick up two pieces of gold
  • Return to the castle using fewer commands

Programmers are always looking for better solutions!


Congratulations!

You just learned how to use sequences to control a robot.

Every game, app, website, and robot uses sequences to tell computers exactly what to do.

You are thinking like a computer scientist!

https://youtu.be/y3-KUJsUurY

Sprattronics Learning Lab

Maximize your education!
Get the Gold

Get the Gold! LEGO® Education Computer Science & AI Grade 3 - 5 Unit 1 • Lesson 1 Student Sheet Mission A treasure of gold is waiting! Your job is to build a horse and carriage, then write a program that helps your robot travel from the castle to the gold and safely back home […]

Read More
LEGO Education Computer Science & AI Kit: The Ultimate Getting Started Guide

LEGO Education Computer Science & AI Kit: The Ultimate Getting Started Guide You Placed Your Order and the Kit is on the Way... Now What? Congratulations! You've ordered the LEGO Education Computer Science & AI Set. Whether you're a classroom teacher, homeschool parent, after-school educator, or robotics enthusiast, you're about to unlock dozens of engaging […]

Read More
Control a LEGO Spike Robot with Motion: Using the Gyroscope

Control LEGO Spike Essential with Motion: Using a Gyroscope Introduce Today we are going to learn how to control a robot in a completely different way. Instead of pressing buttons or using a controller, we will use motion. The LEGO SPIKE hub has a built-in gyroscope that can detect how it is tilted, and we […]

Read More
Digestion Dash: The Ultimate Body Adventure!

Digestion Dash: The Ultimate Body Adventure! Get ready to race through the human body in Digestion Dash! In this game, you’ll follow food on an epic journey—from the first bite all the way to the end. Along the way, you’ll play mini-games and learn how your digestive system turns food into nutrients your body can […]

Read More
Build a LEGO Elevator!

Architecture Week Challenge: Build a LEGO Elevator! Can you design and build a working elevator using LEGO Robotics? This week at Sprattronics Learning Lab, your mission is to take your minifigures from low to high—just like real engineers do in skyscrapers around the world! Watch the Challenge Video First Before you start building, watch this […]

Read More
Can You Design a Video Game About Animal Senses?

Can You Design a Video Game About Animal Senses? Your Challenge Create a video game where the main character survives using its senses. You’ll need to: Your mission is to design a game that shows how animals sense, process information, and respond in order to survive. Why Animal Senses Make Great Video Games Animals experience […]

Read More
© Copyright 2023 - Sprattronics LLC- All Rights Reserved
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram