LESSON 1 · 6 MIN
How computers follow instructions
Computers are fast, but they only do exactly what they're told.
Every computer follows an algorithm: a precise list of steps. A recipe is an algorithm for cooking.
Inside, information is stored as bits — tiny switches that are either on (1) or off (0). Millions of them combine to make pictures, music and games.
Because computers follow instructions exactly, a single missing step (a "bug") can change the whole result.
Key idea
An algorithm is a clear, step-by-step set of instructions.
Try it
Write the algorithm for brushing your teeth. Did you forget to open the toothpaste?