Module 3 · Rooms, Then Desks, Then Pockets

How can one machine do every kind of job?

Lesson 3.2 · Turing’s Paper Machine, Then ENIAC

Rob · Sarah · Mark

A strip of tape and a table of rules.

Rob says the most important computer in history was never built.

Alan Turing, 24 years old, imagined it in 1936: a strip of tape, a head that reads and writes one symbol at a time, and a short table of rules.

Sarah says that sounds like a toy. Rob says that toy can do anything Mark’s gaming PC can do. Slowly.

The short answer

Because the job lives in the program, not the machine. Turing showed it in 1936 with a machine made of tape and rules. ENIAC made it electronic. Grandma Ruth’s laptop is the same idea, just able to switch jobs in a fraction of a second.

Try it yourself

Flip each card to see how the idea became a machine.

What you just did has a name

A general-purpose computer

A general-purpose computer can do any job you can write instructions for, instead of one job it was built for.

Turing showed in 1936 that one simple machine, given the right rules, could do any calculation any other machine like it could.

Nobody has found a computer since that can do more.

Your phone is that kind of machine: the same chips run a camera, a game and a calculator, because the only thing that changes is the program.

A few more things

A calculator isn’t one

A basic calculator does arithmetic and nothing else. Its program is built in. A computer is general-purpose because you can load any program you like.

Stored programs

ENIAC was programmed with cables. Within a few years, computers kept the program in memory alongside the data, so changing the job took minutes instead of days. Every computer since works that way.

Turing’s other legacy

Turing also asked whether a machine could ever seem to think, and proposed a test for it. He’s on the Bank of England’s £50 note today.

Go deeper

The longer version, if you want it.

Why a strip of tape is enough

Turing’s machine could only do a few things: read the symbol under its head, write a new one, move one step left or right, and switch to a new rule. That sounds hopeless. But he showed that stacking enough of those tiny steps can carry out any calculation that has clear steps at all.

That’s why computer scientists still use it. If a problem can be solved by Turing’s machine, a real computer can solve it too, given enough time and memory. And if it can’t, no computer can.

Quick check

Your phone runs a camera app, a game and a map. What makes it a general-purpose computer?

Let’s take it slower

Think of a kitchen versus a toaster. A toaster makes toast. That’s it. A kitchen can make anything, as long as you hand the cook a recipe. Turing proved that a very simple “kitchen” could cook any recipe that can be written down. Every computer since is a kitchen. The programs are the recipes.

More examples

1

A game console that plays movies

Consoles are built for games, but they stream video, browse the web and play music. General-purpose hardware, different programs.

2

The microwave’s computer

The chip in a microwave could run other programs, but it’s sealed with one. Same kind of machine, locked to one job.

Back to the question

So how can one machine do every kind of job?

Show the answer

Because the job lives in the program, not the machine. Turing showed it in 1936 with a machine made of tape and rules. ENIAC made it electronic. Grandma Ruth’s laptop is the same idea, just able to switch jobs in a fraction of a second.

One last question

Which statements about Turing and ENIAC hold up?

“Turing showed one simple machine could, in principle, do any calculation.”

“Turing built the first computer.”

“Reprogramming ENIAC meant replugging cables by hand.”

“A calculator is a general-purpose computer.”

Talk Card

Talk Card · 3.2

A general-purpose computer does any job you can write instructions for. Turing showed it was possible on paper in 1936; ENIAC made it electronic.

How Computers Work · pettigrewlab.com/learn

Next lesson