Skip to content
Your progress

Checking your sign-in…

Who's learning?

Each profile keeps its own read lessons, badges, streak, and practice scores on this device.

Lesson 3 of 9

What is a program?

Show on a big screen

4 min

Text size

A recipe lists steps. Change the order of two steps and the food changes.

Loading lab…

A program is a list of steps written down in order.

A program runs its steps in order.

The robot starts facing up. Move 1 means go 1 square the way the robot faces. Try both orders:

Same steps, two orders
ProgramRobot ends
Turn right, then move 11 square right
Move 1, then turn right1 square above

Turn first, and the robot faces right. Then it moves 1 square right.

Move first, and the robot goes up 1 square. Then it turns right.

Same two steps. Different order. Different end.

Try the lab to finish this lesson.