Lessons in IT Basics

Hardware Basics · Lesson 1 · 4 min read

What Computers Actually Do

By the end of this lesson

  • Describe what a computer fundamentally does
  • Explain why computers seem 'magical' even though they're simple

Have you ever wondered how the electricity coming out of a wall socket turns into the picture you’re looking at right now? Or how a few keystrokes on a keyboard become an email that flies around the planet to land on one specific person’s screen?

Most of us never ask. We use these things every day, and that’s fine — you don’t need to understand a car to drive one. But the answers turn out to be more elegant, and far more reachable, than they look from the outside. This site is the explanation, starting from the very bottom.

The truth is, a computer can do only a handful of very simple things — and it can do only one of them at a time.

Below is a small interactive demo. Each dot in the grid represents one tiny operation a computer might perform — adding two numbers, comparing two values, moving a piece of data from one place to another. The grid holds a thousand dots. When the grid fills up, that’s a thousand operations.

Start with the slowest speed — one operation per second — and just watch. After a few seconds, only a handful of dots are filled. That’s how slow “one per second” really is. Then click “1,000 per second” and watch the grid fill in real time. Then click “one million per second” and pay attention to how quickly the time counter jumps from seconds to days to centuries. That’s the speed your phone is running at, right now.

0

operations performed

if you counted one per second, this would have taken 0 seconds

Each dot is one operation. This grid holds 1,000.

A modern CPU does billions of these per second.

If you watched the millions-per-second view for even ten seconds, you watched ten million tiny operations happen. A CPU in your phone does about a billion per second, every second, for as long as it’s on. That’s the trick. Not magic — just speed.

Ready? The next lesson is about bits — the smallest piece of information a computer can hold, and the thing all those operations are operating on.