lesson

Updated 6 days ago
Robots cannot read your mind. If you tell a robot "go get my toy," it will just sit there waiting for smaller, clearer steps!
To make a robot move, we give it an instruction, which is a single, clear command like move forward or turn right.
๐Interactive diagram
What happens when we connect multiple instructions together in a row?
Building a Sequence
A sequence is an ordered list of instructions that a robot follows one after another from start to finish.
When you put a sequence of instructions into a device and press start, you are running a program.
๐Interactive diagram
What happens if we mix up the order of our steps?
Order Matters
Robots follow our instructions strictly in the order we give them.
If you swap two steps by mistake, your robot will turn too early or move in the wrong direction!
๐Interactive diagram