What a Computer Is
An electronic machine that takes data in, follows stored instructions, and hands information back out.
The grey box at a supermarket checkout in Ikeja scans a sachet of milk, checks the price, prints a receipt and talks to the bank, and nobody calls it a computer, while the machine on the manager's desk gets the name. They are the same kind of machine, and the difference that matters is stored instructions, not size or screen.
What Counts as a Computer
A computer is an electronic device that accepts data, manipulates that data according to a set of instructions held inside the machine, and produces results, keeping the data, the instructions and the results for later use. Every clause of that sentence is doing work. Electronic rules out an abacus and a slide rule.
Manipulates says the machine changes what it is given, instead of merely holding it. Instructions held inside is the clause that separates a computer from a calculator you operate by hand. Keeping is why a computer can pick up where it stopped.
A computer is a symbol-manipulating machine. It moves marks around according to rules, and those marks can stand for anything — numbers, letters, pixels, prices, patient weights. That is the entire trick, and it is why one machine can run a spreadsheet today and a game tomorrow.
Worked example
Reading Any Computing Device as Four Parts
Take an automated teller machine on a university campus. It has no keyboard you would recognise and no desktop behind it, but the four parts are all there.
- 1 Find the input
The card goes into a reader, and the four digits you press on the metal keypad are entered. Both are input devices: their job is to turn something in the world — a magnetic stripe, a finger press — into data the machine can hold.
Pause & think
A washing machine with an electronic timer will fill, agitate for eleven minutes, drain and spin without anyone touching it. Is that a computer?
Four Qualities the Machine Is Praised For
Textbooks list the virtues of computers, and students copy them out without noticing that each virtue has a limit worth stating. Four are worth stating properly, because the limits keep resurfacing in this course and in later ones.
| Quality | What it really says | What it does not say |
|---|---|---|
| Speed | Millions or billions of simple operations per second | That the job finishes quickly — a slow network or a bad program can dominate |
| Accuracy | Arithmetic is executed exactly as instructed | That the results are correct; wrong data or a wrong formula is reproduced faithfully |
| Diligence | The thousandth repetition is as careful as the first | That the machine notices a thousandth repetition looks wrong |
| Versatility | One machine, many programs | That one machine suits every job — a phone is versatile but not for training a model |
There is a fifth quality that is rarely listed and often assumed: a computer does not know what its symbols mean. When a payroll program multiplies an hourly rate by hours worked, the machine is moving bit patterns; whether the answer is a wage or a joke depends entirely on the person who supplied the two numbers. This is the whole explanation of the phrase garbage in, garbage out.
Where the Word Digital Comes From
An analog device represents one quantity by another that varies continuously in step with it: the mercury in a thermometer, the position of a clock hand, the voltage in an old telephone line. A digital device represents quantity by discrete, countable symbols — and modern machines use two of them, called bits, physically realised as two clearly different voltage levels.
The choice of two is not mystical. Two states are easy to build (a switch is either conducting or it is not), easy to copy without decay, and easy to check for errors, because anything that arrives halfway between the states can be recognised as damaged and regenerated.
That is also why noise ruins an analog recording and leaves a digital file untouched. A copied analog tape carries the hiss of the copy; a copied digital file only has to answer "which of two states was this?" correctly, and a small margin of tolerance handles the noise. The trade-off is that a digital quantity jumps in steps where the world moves smoothly, so it needs enough steps to look continuous — a 10-bit control signal has 1,024 of them, which is usually enough.
Three families follow from this. Analog computers model a problem with continuously varying quantities, and survive today in a few control loops and teaching machines. Digital computers, which is what "computer" now means without qualification, work on encoded discrete symbols.
Hybrid machines combine the two, typically letting an analog section solve a fast physical loop while a digital section supervises, sets it up and records the result.
📌 If you remember nothing else…
- A computer accepts data, manipulates it under instructions stored inside the machine, produces results, and keeps all three for later use.
- Read any device as four parts — input, processing, storage, output — and the card terminal and the desktop become the same species.
- Speed, accuracy, diligence and versatility are all real, and all four are claims about execution, not about correctness.
- Digital means encoded in discrete symbols, and two symbols win because two states are cheap, copyable and checkable.
Quick check
Did it land?
Spotted a mistake?