What does every computer do, from a calculator to a data center?
Lesson 1.2 · Four Jobs
Rob · Mark
Four boxes on a sticky note.
Rob has a theory: every computer ever made does the same four things.
Mark says that can’t be right, because his gaming PC and a calculator are obviously not the same.
Rob grabs a sticky note and draws four boxes. In, think, keep, out. He says to name a computer that doesn’t fit.
The short answer
Takes information in, works on it, keeps it and puts it back out. Mark’s gaming PC does it with a giant graphics card and a calculator does it with a coin battery, but neither one does a fifth thing. Rob’s sticky note holds up.
Try it yourself
Sort each part into the job it does.
1 of 5
Keyboard
Put it in
What you just did has a name
Input, processing, storage, output
Every computer does four jobs.
Input brings information in. Processing works on it by following instructions. Storage keeps it for later.
Output sends results back out where you can see, hear or use them.
A calculator does all four with a few buttons and a tiny screen. A data center does all four for millions of people at once.
A few more things
Some parts do two jobs
A touchscreen is input and output at once: it shows you things and feels where you tap. A Wi-Fi card brings information in and sends it out. That doesn’t break the model. It just means one part is wearing two hats.
Memory is the in-between
Memory (RAM) is where the processor keeps what it’s working on right now. It’s storage that only lasts while the power is on. Part III is all about the difference.
It works for bigger things too
A self-driving car: cameras in, processor thinking, maps stored, steering and brakes out. Once you see the four boxes, you see them everywhere.
Go deeper
The longer version, if you want it.
The design almost every computer still uses
In 1945 the mathematician John von Neumann wrote up a design for a computer where the instructions and the data live in the same memory, and a processor pulls them out one at a time. Nearly every computer since, including the one in your pocket, follows that basic plan.
The four jobs are the friendly version of that design. The details have changed beyond recognition. The shape hasn’t.
Quick check
A printer puts your essay on paper. Which job is that?
Let’s take it slower
Picture a kitchen. Groceries come in the door: that’s input. The cook follows a recipe: processing. Leftovers go in the fridge: storage. Dinner goes on the table: output. A computer is a kitchen for information, and every part of it is either a door, a cook, a fridge or a table.
More examples
Asking your phone the weather
Your voice goes in through the microphone, the processor works out what you said, the forecast is pulled from storage on a faraway server, and the answer comes out of the speaker.
A grocery store scanner
The barcode goes in, a computer looks up the price it has stored, adds it to your total and shows it on the screen. Four jobs, about half a second.
Back to the question
So what does every computer do?
Show the answer
Takes information in, works on it, keeps it and puts it back out. Mark’s gaming PC does it with a giant graphics card and a calculator does it with a coin battery, but neither one does a fifth thing. Rob’s sticky note holds up.
One last question
Pick the four things every computer does.
Tap everything that fits, then check.
Talk Card
Talk Card · 1.2
Name any computer, from a calculator to a data center. It does the same four jobs: take in, work on, keep, put out. The big ones are just faster.
How Computers Work · pettigrewlab.com/learn

