🧮 What Is an Algorithm?
3rd Grade 🤖 Coding & AI
An algorithm is a list of step-by-step instructions to solve a problem or finish a task.
Like a recipe
A recipe for pancakes is an algorithm: measure, mix, pour, flip, serve. The steps must be clear and in the right order.
Computers need algorithms
Computers can’t guess what you mean. Programmers write algorithms in code so a computer knows exactly what to do — like sorting your songs or finding the fastest route on a map.
Be precise
Try writing an algorithm for brushing your teeth. Did you remember to open the toothpaste? Algorithms need every little step!
Quick quiz
What is an algorithm?
Which is most like an algorithm?
Why must algorithms be precise?