Primary Wiki · Computing · KS1
What is an algorithm?
An algorithm is a set of step-by-step instructions for completing a task. Computers use algorithms to solve problems, but humans use them too, like following a recipe.
Make a cup of tea
- 1. Boil the kettle.
- 2. Put a teabag in a mug.
- 3. Pour the hot water into the mug.
- 4. Wait three minutes.
- 5. Take out the teabag.
- 6. Add milk and sugar if you like.