Tip: press / anywhere to search. Or open a random note →

Handwritten one-page note: What Is an Algorithm?
Tap the note to see it full size

AI & Tech One-page note

What Is an Algorithm?

"The algorithm" gets blamed for everything, but an algorithm is just a list of steps. Even making tea counts. Here's what algorithms are and where you meet them every day. Save this page.

Good to know

Simplified. Sources: AQA GCSE spec, Oak National Academy, Google Maps, YouTube. Checked Nov 2026.

What's on the page

The note as text, so you can read it, copy it or use a screen reader.

What it is

  • A sequence of steps to complete a task
  • A program is an algorithm written in code
  • But an algorithm isn't a program: it can be on paper

A cup of tea is an algorithm

  • Boil the kettle, add a tea bag, pour
  • Milk? If yes, add it
  • Stir until it's the colour you like

The 3 building blocks

  • Sequence: steps in order
  • Selection: a choice ("if…")
  • Iteration: repeat ("until…")

Algorithms you use every day

  • Maps: past and live traffic pick your route
  • YouTube: your watch history, likes, subscriptions
  • Search: finding one item fast

Thinking like a coder

  • Decomposition: break a big problem into small ones
  • Abstraction: remove details that don't matter
  • There's often more than one algorithm for a job
  • Some are much faster than others
  • Binary search on an unsorted list: it won't work

Sources

  1. AQA: GCSE Computer Science 8525, 3.1 Fundamentals of algorithms
  2. AQA: GCSE Computer Science 8525, 3.2 Programming
  3. Oak National Academy: Binary search (GCSE OCR)
  4. Google, The Keyword: Google Maps 101: How AI helps predict traffic and determine routes (3 Sep 2020)
  5. YouTube: How YouTube Works, Recommendations

How we checked this

Every fact on this note comes from the 5 sources listed here, checked against official or peer-reviewed sources where possible. AI tools help with drafting; a person checks every fact against the sources. How we research

Spotted a mistake? Tell us and we'll fix it and log it on the corrections page.

More from AI & Tech

All AI & Tech notes →