🧮 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.

Google Classroom

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

  1. What is an algorithm?

  2. Which is most like an algorithm?

  3. Why must algorithms be precise?

🔎 Ask Thinkapedia another question