← Unit 1 — Thinking Like a Computer (Unplugged)
Computer Science · Grade 1

Step-by-Step Instructions (Algorithms)

Learning objective: Explain that an algorithm is a set of step-by-step instructions, and give a simple example of an everyday algorithm.

Step-by-Step Instructions (Algorithms)

A special word for step-by-step instructions

An algorithm is a set of step-by-step instructions for doing something. You use algorithms every single day, even without realizing it!

An everyday algorithm

Look at the diagram above: brushing your teeth follows an algorithm — wet the toothbrush, add toothpaste, then brush your teeth. Each step happens in a specific order.

Order matters in an algorithm

Notice that the steps happen in a specific order — you wouldn't brush your teeth before adding toothpaste! If you did the steps in the wrong order, the algorithm wouldn't work correctly.

Algorithms aren't just for computers

Even though computers (from the last lesson) follow instructions to do tasks, algorithms aren't only for computers — people follow algorithms too, like the teeth-brushing example, or a recipe for making a sandwich.

Finding algorithms in your own day

Think about your morning routine — waking up, getting dressed, eating breakfast. That's an algorithm too! Can you list the steps in order?

An algorithm for brushing your teeth
Wet toothbrush Add toothpaste Brush teeth

An algorithm is a set of steps, in order. This one has 3 steps for brushing your teeth.

Vocabulary
algorithm
— A set of step-by-step instructions for doing something.
Self-check quiz

What is an algorithm?

Does the order of steps in an algorithm matter?

Are algorithms only used by computers?

Practice

Describe your morning routine as a step-by-step algorithm, listing at least 3 steps in the correct order.