LyraVegaSci

Engineering, together

HomeLesson
Learning Hub
Your progress0%
CompEadvanced
1 min read

How a CPU Thinks (in 60 seconds)

A chip that does one tiny thing billions of times per second.

Share:

A CPU (central processing unit) is the "brain" of a computer. But it doesn't think like you do — it does one unbelievably simple thing, over and over, very fast.

A CPU runs a cycle:

  1. Fetch — grab the next instruction from memory.
  2. Decode — figure out what the instruction means (add two numbers? move data? compare?).
  3. Execute — actually do it, using tiny circuits called logic gates.

That's it. Every app, game, and video on your phone is, at the bottom, a long list of these tiny instructions.

The magic is speed. A modern CPU runs this fetch-decode-execute cycle billions of times per second — measured in gigahertz (billions of cycles per second). A 3 GHz CPU does roughly 3 billion cycles every second.

Inside, the CPU has a few key parts:

  • Cores — mini-CPUs that work in parallel (your phone might have 8).
  • Cache — a tiny, super-fast memory right on the chip for data the CPU uses a lot.
  • Clock — a steady pulse that keeps every part in sync, like a metronome.

The reason a computer feels "smart" isn't a smart chip — it's a dumb chip doing simple things unimaginably fast.

Try this at home

Be a CPU. Grab 5 coins and line them up. Pretend each coin is an instruction. Your job: pick up a coin (fetch), look at it (decode), and place it in a new pile (execute). Time yourself for 10 seconds and count how many "instructions" you ran. Now imagine doing that 3 billion times per second — that's your phone.

What to notice: each step is trivial. Speed, not complexity, is what makes a computer powerful.

Background: NASA/ESA Hubble