Algorithms: Steps for a Task
Learn the main idea of Algorithms: Steps for a Task with a clear example.

Give Clear Steps
An algorithm is a list of steps written for a task.
The key idea is this: An algorithm is a defined sequence of steps for completing a task or calculation. Conditions and repetition let an algorithm respond to different inputs while still following explicit instructions.
In paper instructions for guiding a token through a classroom map, learners follow each step exactly and mark where the instructions become ambiguous. People define the goal, test the steps, and decide whether fixed rules or a learned component suit the task.
A clear example from paper instructions for guiding a token through a classroom map helps, but one example cannot prove that the same result will happen every time.
Learning objectives
Learn the main idea of Algorithms: Steps for a Task with a clear example.
- Write ordered steps for a familiar task.
- Use a condition to handle two possible inputs.
- Test and debug an ambiguous instruction.
- Explain one difference between a fixed algorithm and a learned model.