What does sequence mean?

Instructions carried out one after another, in the order they are written. One of the three basic programming constructs, with selection and iteration.

In a lesson

The computer reads the first instruction and carries it out. Then the second. Then the third. It never skips ahead and it never goes back on its own. This is called sequence. Predict what this program prints before you run it, then run it to check:

Learn it

Used in

and 22 more lessons.

Do the lesson in the simulator

All glossary terms