e01.org

Giant brains; or, Machines that think

550,518 chars · English

The Project Gutenberg eBook of Giant brains; or, Machines that think

This eBook is for the use of anyone anywhere in the United States and
most other parts of the world at no cost and with almost no restrictions
whatsoever. You may copy it, give it away or re-use it under the terms
of the Project Gutenberg License included with this eBook or online
at www.gutenberg.org. If you are not located in the United States,
you will have to check the laws of the country where you are located
before using this eBook.

Title: Giant brains; or, Machines that think

Author: Edmund Callis Berkeley

Release date: September 14, 2022 [eBook #68991]
Most recently updated: October 19, 2024

Language: English

Original publication: United States: John Wiley & Sons, 1949

Other information and formats: www.gutenberg.org/ebooks/68991

Credits: Tim Lindell and the Online Distributed Proofreading Team at https://www.pgdp.net (This book was produced from images made available by the HathiTrust Digital Library.)

*** START OF THE PROJECT GUTENBERG EBOOK GIANT BRAINS; OR, MACHINES THAT THINK ***

Transcriber’s Notes:

Underscores “_” before and after a word or phrase indicate _italics_
in the original text.
A single underscore after a symbol indicates a subscript.
Small capitals have been converted to SOLID capitals.
Illustrations have been moved so they do not break up paragraphs.
Typographical and punctuation errors have been silently corrected.

GIANT BRAINS
OR
MACHINES THAT THINK

EDMUND CALLIS BERKELEY

Consultant in Modern Technology
President, E. C. Berkeley and Associates

JOHN WILEY & SONS, INC., NEW YORK
CHAPMAN & HALL, LIMITED, LONDON

Copyright, 1949
by
EDMUND CALLIS BERKELEY

_All Rights Reserved_

_This book or any part thereof must not
be reproduced in any form without
the written permission of the publisher._

Second Printing, February, 1950
Printed in the United States of America

To my friends,
whose help and instruction
made this book possible

PREFACE

The Subject, Purpose, and Method of this Book

The subject of this book is a type of machine that comes closer to
being a brain that thinks than any machine ever did before 1940. These
new machines are called sometimes mechanical brains and sometimes
sequence-controlled calculators and sometimes by other names.
Essentially, though, they are machines that can handle information with
great skill and great speed. And that power is very similar to the
power of a brain.

These new machines are important. They do the work of hundreds of human
beings for the wages of a dozen. They are powerful instruments for
obtaining new knowledge. They apply in science, business, government,
and other activities. They apply in reasoning and computing, and, the
harder the problem, the more useful they are. Along with the release of
atomic energy, they are one of the great achievements of the present
century. No one can afford to be unaware of their significance.

In this book I have sought to tell a part of the story of these new
machines that think. Perhaps you, as you start this book, may not agree
with me that a machine can think: the first chapter of this book is
devoted to the discussion of this question.

My purpose has been to tell enough about these machines so that we
can see in general how they work. I have sought to explain some
giant brains that have been built and to show how they do thinking
operations. I have sought also to talk about what these machines can do
in the future and to judge their significance for us. It seems to me
that they will take a load off men’s as great as the load that printing
took off men’s writing: a tremendous burden lifted.

We need to examine several of the new mechanical brains: Massachusetts
Institute of Technology’s differential analyzer, Harvard’s IBM
automatic sequence-controlled calculator, Moore School’s ENIAC
(Electronic Numerical Integrator and Calculator), and Bell Laboratories’
general-purpose relay calculator. These are described in the sequence in
which they were finished between the years 1942 and 1946.

We also have to go on some excursions—for instance, the nature of
language and of symbols, the meaning of thinking, the human brain and
nervous system, the future design of machinery that can think, and a
little algebra and logic. I have also sought to discuss the relations
between machines that think and human society—what we can foresee as
likely to happen or be needed as a result of the remarkable invention
of machines that can think.

READING THIS BOOK

This book is intended for everyone. I have sought to put it together in
such a way that any reader can select from it what he wants.

Perhaps at first reading you want only the main thread of the story.
Then read only what seems interesting, and skip whatever seems
uninteresting. The subheadings should help to tell you what to read and
what to skip. Nearly all the chapters can be read with little reference
to what goes before, although some reference to the supplements in the
back may at times be useful.

Perhaps your memory of physics is dim, like mine. The little knowledge
of physics needed is explained here and there throughout the book, and
the index should tell where to find any explanation you may want.

Perhaps it is a long time since you did any algebra. Then Supplement
2 on mathematics may hold something of use to you. Two sections (one
in Chapter 5 and one in Chapter 6) labeled as containing some rather
mathematical details may be skipped with no great loss.

Perhaps you are unacquainted with logic that uses symbols—the branch of
logic called mathematical logic. In fact, very few people are familiar
with it. No discussion in the book hinges on understanding this
subject, except for Chapter 9 where a machine that calculates logical
truth is described. In all other chapters you may freely skip all
references to mathematical logic. But, if you are curious about the
subject and how it can be usefully applied in the field of mechanical
brains, then begin with the introduction to the subject in Chapter 9,
and note the suggestions in the section entitled “Algebra of Logic” in
Supplement 2.

In any case, glance at the table of contents, the chapter headings and
subheadings, and the supplements at the back. These should give an idea
of how the book is put together and how you may select what may be
interesting to you.

Please do not read this book straight from beginning to end unless
that way proves to be congenial to you. If you are not interested in
technical details, skip most of the middle chapters, which describe
existing mechanical brains. If, on the other hand, you want more
details than this book contains, look up references in Supplement
3. Here are listed, with a few comments, over 250 books, articles,
and pamphlets related to the subject of machinery for computing and
reasoning. These cover many parts of the field; some parts, however,
are not yet covered by any published information.

There are no photographs in this book, although there are over 80
drawings. Photographs of these complicated machines can really show
very little: panels, lights, switches, wires, and other kinds of
hardware. What is important is the way the machine works inside. This
cannot be shown by a photograph but may be shown by schematic drawings.
In the same way, a photograph of a human being shows almost nothing
about how he thinks.

UNDERSTANDING THIS BOOK

I have tried to write this book so that it could be understood. I have
attempted to explain machinery for computing and reasoning without
using technical words any more than necessary. To do this seemed to be
easy in some places, much harder in others. As a test of this attempt,
a count has been made of all the different words in the book that have
two syllables or more, that are used for explaining, and that are
not themselves defined. There are fewer than 1800 of these words. In
Supplement 1, entitled “Words and Ideas,” I have digressed to discuss
further the problem of explanation and understanding.

Every now and then in the book, along comes a word or a phrase that
has a special meaning, for example, the name of something new. When it
first appears, it is put in italics and is explained or defined. In
addition, all the words and phrases having special meaning appear again
in the index, and next to each is the page number of its explanation or
definition.

In many places, I have talked of mechanical brains as if they were
living. For example, instead of “capacity to store information” I have
spoken of “memory.” Of course, the machines are not living; but they do
have individuality, responsiveness, and other traits of living beings,
just as a political party pictured as a living elephant does. Besides,
to treat things as persons is a help in making any subject vivid and
understandable, as every song writer and cartoonist illustrates.
We speak of “Old Man River” and “Father Time”; we may speak of a
ship or a locomotive as “she”; and the crew on the first Harvard
sequence-controlled calculator has often called her “Bessy, the Bessel
engine.”

Let us pause a little longer on the subject of understanding. What
is the understanding of something new? It is a state of knowing, a
process of knowing more and more. The more we know about something
new, the better we understand it. It is possible for almost anybody to
understand almost anything, I believe. What is mainly needed in order
to grasp an idea is a good collection of true statements about it and
some practice in using those statements in situations. For example,
no one has ever seen or touched the separate scraps of electricity
called electrons. But electrons have been described and measured;
hundreds of thousands of people work with electrons; they know and use
true statements about electrons. In effect, these people understand
electrons.

Probably the hardest task of an author is to make his statements
understandable yet accurate. It is too much to hope for complete
success. I shall be very grateful to any reader who points out to me
the statements that he has not understood or that are in error.

As to the views I have expressed, I do not expect every reader to agree
with me. In fact, I shall be glad if many a reader disagrees with
me. For then someone else may say to both of us, “You’re both right
and both wrong—the truth lies atwixt and atween you.” Thoughtful and
tolerant disagreement is the finest climate for scientific progress.

BASIC FACTS

Many of the mechanical brains described in this book will do good work
for years; but their design is already out of date. Many organizations
are hard at work finding new tricks in electronics, materials, and
engineering and making new mechanical brains that are better and faster.

In spite of future developments, though, the basic facts about
mechanical brains will endure. These basic facts are drawn from the
principles of thinking, of mathematics, of science, of engineering,
etc. These facts govern all handling of information. They do not depend
very much on human or mechanical energy. They do not depend very much
on signs. They do not depend very much on the century, or the language,
or the country. For example, “II et III V sunt,” the Romans may have
said; “deux et trois font cinq,” say the French; “2 + 3 = 5,” say the
mathematicians; and we say, “two and three make five.” The main effort
in this book has been to make clear the basic facts about mechanical
brains, for they are now a masterly instrument for obtaining new
knowledge.

EDMUND CALLIS BERKELEY

New York 11, N. Y.
_June 30, 1949_

ACKNOWLEDGMENTS

This book has been over seven years in the making and has evolved
through many different plans for its contents. It springs essentially
from the desire to see human beings use their knowledge better: we
know enough, but how are we to use what we know? Machines that handle
information, that make knowledge accessible, are a long step in the
direction of using what we know.

For help in causing this desire to come to fruition, I should like
to express my indebtedness especially to Professor (then Commander,
U.S.N.R.) Howard H. Aiken of Harvard University, whose stimulus, while
I was stationed for ten months in 1945-46 in his laboratory, was very
great.

I should also like to express my appreciation to Mr. Harry J. Volk,
whose vision and enthusiasm greatly encouraged me in the writing of
this book.

For careful reviews and helpful comments on the chapters dealing with
existing mechanical brains, I am especially grateful to Dr. Franz
L. Alt, Mr. E. G. Andrews, Professor Samuel H. Caldwell, Dr. Grace
M. Hopper, Mr. Theodore A. Kalin, and Dr. John W. Mauchly, who are
experts in their fields. Dr. Ruth P. Berkeley, Dr. Rudolf Flesch, Mr.
J. Ross Macdonald, Dr. Z. I. Mosesson, Mr. Irving Rosenthal, Mr. Max
S. Weinstein, and many others have been true friends in reading and
commenting upon many parts of the manuscript. Mr. Frank W. Keller
devoted much time and skill to converting my rough sketches into
illustrations. Mr. Murray B. Ritterman has been of invaluable help in
preparing and checking much of the bibliography. Miss Marjorie L. Black
has helped very greatly in turning scraps of paper bearing sentences
into an excellent manuscript for the printer.

For permission to use the quotations on various pages in Chapters 11
and 12, I am indebted to the kindness of:

E. P. Dutton & Co., for quotations from
_Frankenstein_, by Mary W. Shelley,
Everyman’s Library, No. 616.

Samuel French, for quotations from _R. U. R._,
by Karel Čapek.[1]

_Modern Industry_, for a quotation from the
issue of February 15, 1947.

[1] Copyright 1923 by Doubleday, Page and Co.; all rights reserved;
quotations reprinted by permission of Karel Čapek and Samuel French.

Responsibility for the statements and opinions expressed in this book
is solely my own. These statements and opinions do not necessarily
represent the views of any organization with which I may be or have
been associated. To the best of my knowledge and belief no information
contained in this book is classified by the Department of Defense of
the United States.

EDMUND CALLIS BERKELEY

CONTENTS

1. CAN MACHINES THINK?
What Is a Mechanical Brain? 1

2. LANGUAGES:
Systems for Handling Information 10

3. A MACHINE THAT WILL THINK:
The Design of a Very Simple Mechanical Brain 22

4. COUNTING HOLES:
Punch-Card Calculating Machines 42

5. MEASURING:
Massachusetts Institute of Technology’s Differential
Analyzer No. 2 65

6. ACCURACY TO 23 DIGITS:
Harvard’s IBM Automatic Sequence-Controlled Calculator 89

7. SPEED—5000 ADDITIONS A SECOND:
Moore School’s ENIAC (Electronic Numerical Integrator
and Calculator) 113

8. RELIABILITY—NO WRONG RESULTS:
Bell Laboratories’ General-Purpose Relay Calculator 128

9. REASONING:
The Kalin-Burkhart Logical-Truth Calculator 144

10. AN EXCURSION:
The Future Design of Machines That Think 167

11. THE FUTURE:
Machines That Think, and What They Might Do for Men 180

12. SOCIAL CONTROL:
Machines That Think, and How Society May Control Them 196

SUPPLEMENTS
1. Words and Ideas 209
2. Mathematics 214
3. References 228

INDEX 257

Chapter 1

CAN MACHINES THINK?

WHAT IS A MECHANICAL BRAIN?

Recently there has been a good deal of news about strange giant
machines that can handle information with vast speed and skill. They
calculate and they reason. Some of them are cleverer than others—able
to do more kinds of problems. Some are extremely fast: one of them does
5000 additions a second for hours or days, as may be needed. Where they
apply, they find answers to problems much faster and more accurately
than human beings can; and so they can solve problems that a man’s life
is far too short to permit him to do. That is why they were built.

These machines are similar to what a brain would be if it were made of
hardware and wire instead of flesh and nerves. It is therefore natural
to call these machines _mechanical brains_. Also, since their powers
are like those of a giant, we may call them _giant brains_.

Several giant mechanical brains are now at work finding out
answers never before known. Two are in Cambridge, Mass.; one is
at Massachusetts Institute of Technology, and one at Harvard
University. Two are in Aberdeen, Md., at the Army’s Ballistic Research
Laboratories. These four machines were finished in the period 1942
to 1946 and are described in later chapters of this book. More giant
brains are being constructed.

Can we say that these machines really think? What do we mean by
thinking, and how does the human brain think?

HUMAN THINKING

We do not know very much about the physical process of thinking in the
human brain. If you ask a scientist how flesh and blood in a human
brain can think, he will talk to you a little about nerves and about
electrical and chemical changes, but he will not be able to tell you
very much about how we add 2 and 3 and make 5. What men know about the
way in which a human brain thinks can be put down in a few pages, and
what men do not know would fill many libraries.

Injuries to brains have shown some things of importance; for example,
they have shown that certain parts of the brain have certain duties.
There is a part of the brain, for instance, where sights are recorded
and compared. If an accident damages the part of the brain where
certain information is stored, the human being has to relearn—haltingly
and badly—the information destroyed.

We know also that thinking in the human brain is done essentially by a
process of storing information and then referring to it, by a process
of learning and remembering. We know that there are no little wheels
in the brain so that a wheel standing at 2 can be turned 3 more steps
and the result of 5 read. Instead, you and I store the information that
2 and 3 are 5, and store it in such a way that we can give the answer
when questioned. But we do not know the register in our brain where
this particular piece of information is stored. Nor do we know how,
when we are questioned, we are able automatically to pick up the nerve
channels that lead into this register, get the answer, and report it.

Since there are many nerves in the brain, about 10 billion of them, in
fact, we are certain that the network of connecting nerves is a main
part of the puzzle. We are therefore much interested in nerves and
their properties.

NERVES AND THEIR PROPERTIES

A single nerve, or _nerve cell_, consists of a _cell nucleus_ and
a _fiber_. This fiber may have a length of anything from a small
fraction of an inch up to several feet. In the laboratory, successive
impulses can be sent along a nerve fiber as often as 1000 a second.
Impulses can travel along a nerve fiber in either direction at a rate
from 3 feet to 300 feet a second. Because the speed of the impulse
is far less than 186,000 miles a second—the speed of an electric
current—the impulse in the nerve is thought by some investigators to be
more chemical than electrical.

We know that a nerve cell has what is called an _all-or-none response_,
like the trigger of a gun. If you stimulate the nerve up to a certain
point, nothing will happen; if you reach that point, or cross
it,—bang!—the nerve responds and sends out an impulse. The strength of
the impulse, like the shot of the gun, has no relation whatever to the
amount of the stimulation.

[Illustration: FIG. 1. Scheme of a nerve cell.]

The structure between the end of one nerve and the beginning of the
next is called a _synapse_ (see Fig. 1). No one really knows very much
about synapses, for they are extremely small and it is not easy to tell
where a synapse stops and other stuff begins. Impulses travel through
synapses in from ½ to 3 thousandths of a second. An impulse travels
through a synapse only in one direction, from the head (or _axon_) of
one nerve fiber to the foot (or _dendrite_) of another. It seems clear
that the activity in a synapse is chemical. When the head of a nerve
fiber brings in an impulse to a synapse, apparently a chemical called
_acetylcholine_ is released and may affect the foot of another fiber,
thus transmitting the impulse; but the process and the conditions for
it are still not well understood.

It is thought that nearly all information is handled in the brain
by groups of nerves in parallel paths. For example, the eye is
estimated to have about 100 million nerves sensitive to light, and the
information that they gather is reported by about 1 million nerves to
the part of the brain that stores sights.

Not much more is yet known, however, about the operation of handling
information in a human brain. We do not yet know how the nerves are
connected so that we can do what we do. Probably the greatest obstacle
to knowledge is that so far we cannot observe the detailed structure of
a living human brain while it performs, without hurting or killing it.

BEHAVIOR THAT IS THINKING

Therefore, we cannot yet tell what thinking is by observing precisely
how a human brain does it. Instead, we have to define thinking by
describing the kind of behavior that we call thinking. Let us consider
some examples.

When you and I add 12 and 8 and make 20, we are thinking. We use our
minds and our understanding to count 8 places forward from 12, for
example, and finish with 20. If we could find a dog or a horse that
could add numbers and tell answers, we would certainly say that the
animal could think.

With no trouble a machine can do this. An ordinary 10-column adding
machine can be given two numbers like 1,378,917,766 and 2,355,799,867
and the instruction to add them. The machine will then give the answer,
3,734,717,633, much faster than a man. In fact, the mechanical brain at
Harvard can add a number of 23 digits to another number of 23 digits
and get the right answer in ³/₁₀ of a second.

Or, suppose that you are walking along a road and come to a fork. If
you stop, read the signpost, and then choose left or right, you are
thinking. You know beforehand where you want to go, you compare your
destination with what the signpost says, and you decide on your route.
This is an operation of logical choice.

A machine can do this. The mechanical brain now at Aberdeen which was
built at Bell Laboratories can examine any number that comes up in the
process of a calculation and tell whether it is bigger than 3 (or any
stated number) or smaller. If the number is bigger than 3, the machine
will choose one process; if the number is smaller than 3, the machine
will choose another process.

Now suppose that we consider the basic operation of all thinking: in
the human brain it is called learning and remembering, and in a machine
it is called storing information and then referring to it. For example,
suppose you want to find 305 Main Street in Kalamazoo. You look up a
map of Kalamazoo; the map is information kindly stored by other people
for your use. When you study the map, notice the streets and the
numbering, and then find where the house should be, you are thinking.

A machine can do this. In the Bell Laboratories’ mechanical brain, for
example, the map could be stored as a long list of the blocks of the
city and the streets and numbers that apply to each block. The machine
will then hunt for the city block that contains 305 Main Street and
report it when found.

A machine can handle information; it can calculate, conclude, and
choose; it can perform reasonable operations with information. A
machine, therefore, can think.

THE DEFINITION OF A MECHANICAL BRAIN

Now when we speak of a machine that thinks, or a mechanical brain, what
do we mean? Essentially, a _mechanical brain_ is a machine that handles
information, transfers information automatically from one part of the
machine to another, and has a flexible control over the sequence of its
operations. No human being is needed around such a machine to pick up
a physical piece of information produced in one part of the machine,
personally move it to another part of the machine, and there put it in
again. Nor is any human being needed to give the machine instructions
from minute to minute. Instead, we can write out the whole program to
solve a problem, translate the program into machine language, and put
the program into the machine. Then we press the “start” button; the
machine starts whirring; and it prints out the answers as it obtains
them. Machines that handle information have existed for more than 2000
years. These two properties are new, however, and make a deep break
with the past.

How should we imagine a mechanical brain? One way to think of a
mechanical brain is shown in Fig. 2. We see here a railroad line with
four stations, marked _input_, _storage_, _computer_, and _output_.
These stations are joined by little gates or switches to the main
railroad line. We can imagine that numbers and other information move
along this railroad line, loaded in freight cars. _Input_ and _output_
are stations where numbers or other information go in and come out,
respectively. _Storage_ is a station where there are many platforms and
where information can be stored. The _computer_ is a special station
somewhat like a factory; when two numbers are loaded on platforms 1 and
2 of this station and an order is loaded on platform 3, then another
number is produced on platform 4.

[Illustration: FIG. 2. Scheme of a mechanical brain.]

We see also a tower, marked _control_. This tower runs a telegraph line
to each of its little watchmen standing by the gates. The tower tells
them when to open and when to shut which gates.

Now we can see that, just as soon as the right gates are shut, freight
cars of information can move between stations. Actually the freight
cars move at the speed of electric current, thousands of miles a
second. So, by closing the right gates each fraction of a second,
we can flash numbers and information through the system and perform
operations of reasoning. Thus we obtain a mechanical brain.

In general, a mechanical brain is made up of:

1. A quantity of registers where information (numbers and
instructions) can be stored.

2. Channels along which information can be sent.

3. Mechanisms that can carry out arithmetical and logical
operations.

4. A control, which guides the machine to perform a sequence
of operations.

5. Input and output devices, whereby information can go
into the machine and come out of it.

6. Motors or electricity, which provide energy.

THE KINDS OF THINKING A MECHANICAL BRAIN CAN DO

There are many kinds of thinking that mechanical brains can do. Among
other things, they can:

1. Learn what you tell them.
2. Apply the instructions when needed.
3. Read and remember numbers.
4. Add, subtract, multiply, divide, and round off.
5. Look up numbers in tables.
6. Look at a result, and make a choice.
7. Do long chains of these operations one after another.
8. Write out an answer.
9. Make sure the answer is right.
10. Know that one problem is finished, and turn to another.
11. Determine _most_ of their own instructions.
12. Work unattended.

They do these things much better than you or I. They are fast. The
mechanical brain built at the Moore School of Electrical Engineering at
the University of Pennsylvania does 5000 additions a second. They are
reliable. Even with hundreds of thousands of parts, the existing giant
brains have worked successfully. They have remarkably few mechanical
troubles; in fact, for one of the giant brains, a mechanical failure
is of the order of once a month. They are powerful. The big machine
at Harvard can remember 72 numbers each of 23 digits at one time and
can do 3 operations with these numbers every second. The mechanical
brains that have been finished are able to solve problems that have
baffled men for many, many years, and they think in ways never open to
men before. Mechanical brains have removed the limits on complexity of
routine: the machine can carry out a complicated routine as easily as
a simple one. Already, processes for solving problems are being worked
out so that the mechanical brain will itself determine more than 99 per
cent of all the routine orders that it is to carry out.

But, you may ask, can they do any kind of thinking? The answer is no.
No mechanical brain so far built can:

1. Do intuitive thinking.
2. Make bright guesses, and leap to conclusions.
3. Determine _all_ its own instructions.
4. Perceive complex situations outside itself and interpret them.

A clever wild animal, for example, a fox, can do all these things; a
mechanical brain, not yet. There is, however, good reason to believe
that most, if not all, of these operations will in the future be
performed not only by animals but also by machines. Men have only just
begun to construct mechanical brains. All those finished are children;
they have all been born since 1940. Soon there will be much more
remarkable giant brains.

WHY ARE THESE GIANT BRAINS IMPORTANT?

Most of the thinking so far done by these machines is with numbers.
They have already solved problems in airplane design, astronomy,
physics, mathematics, engineering, and many other sciences, that
previously could not be solved. To find the solutions of these
problems, mathematicians would have had to work for years and years,
using the best known methods and large staffs of human computers.

These mechanical brains not only calculate, however. They also remember
and reason, and thus they promise to solve some very important human
problems. For example, one of these problems is the application of what
mankind knows. It takes too long to find understandable information
on a subject. The libraries are full of books: most of them we can
never hope to read in our lifetime. The technical journals are full of
condensed scientific information: they can hardly be understood by you
and me. There is a big gap between somebody’s knowing something and
employment of that knowledge by you or me when we need it. But these
new mechanical brains handle information very swiftly. In a few years
machines will probably be made that will know what is in libraries and
that will tell very swiftly where to find certain information. Thus
we can see that mechanical brains are one of the great new tools for
finding out what we do not know and applying what we do know.

Chapter 2

LANGUAGES:

SYSTEMS FOR HANDLING INFORMATION

As everyone knows, it is not always easy to think. By _thinking_,
we mean computing, reasoning, and other handling of information. By
_information_ we mean collections of ideas—physically, collections of
marks that have meaning. By _handling_ information, we mean proceeding
logically from some ideas to other ideas—physically, changing from
some marks to other marks in ways that have meaning. For example, one
of your hands can express an idea: it can store the number 3 for a
short while by turning 3 fingers up and 2 down. In the same way, a
machine can express an idea: it can store information by arranging some
equipment. The Harvard mechanical brain can store 132 numbers between
0 and 99,999,999,999,999,999,999,999 for days. When you want to change
the number stored by your fingers, you move them: perhaps you need a
half second to change the number stored by your fingers from 3 to 2,
for example. In the same way, a machine can change a stored number by
changing the arrangement of some equipment: the electronic brain Eniac
can change a stored number in ¹/₅₀₀₀ of a second.

LANGUAGES

Since it is not always easy to think, men have given much attention to
devices for making thinking easier. They have worked out many _systems
for handling information_, which we often call _languages_. Some
languages are very complete and versatile and of great importance.
Others cover only a narrow field—such as numbers alone—but in this
field they may be remarkably efficient. Just what is a language?

Every language is both a _scheme for expressing meanings_ and _physical
equipment_ that can be handled. For example, let us take _spoken
English_. The scheme of spoken English consists of more than 150,000
words expressing meanings, and some rules for putting words together
meaningfully. The physical equipment of spoken English consists of
(1) sounds in the air, and (2) the ears of millions of people, and
their mouths and voices, by which they can hear and speak the sounds
of English. For another example, let us take numbers expressed in
the _Arabic numerals_ and the rules of arithmetic. The scheme of
this language contains only ten digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
or their equivalents, and some rules for combining them. Sufficient
physical equipment for this language might very well be a ten-column
desk calculating machine with its counter wheels, gears, keys, etc. If
we tried to exchange the physical equipment of these two languages, we
would be blocked: the desk calculating machine cannot possibly express
the meaningful combinations of 150,000 words, and sounds in the air
are not permanent enough to express the steps of division of one large
number by another.

SCHEMES FOR EXPRESSING MEANINGS

If we examine languages that have existed, we can observe a number of
schemes for expressing meanings. In the table on pp. 12-13 is a rough
list of a dozen of them. From among these we can choose the schemes
that are likely to be useful in mechanical brains. Schemes 11 and 12
are the schemes that have been predominantly used in machinery for
computing. Scheme 12 consisting of combinations of just two marks,
✓, ✕, provides one of the best codes for mechanical handling of
information. This scheme, called _binary coding_ (see Supplement 2), is
also useful for measuring the quantity of information.

QUANTITY OF INFORMATION

How should we measure the quantity of information? The smallest unit
of information is a “yes” or a “no,” a check mark (✓) or a cross (✕),
an impulse in a nerve or no impulse, a 1 or a 0, black or white,
good or bad, etc. This twofold difference is called a _binary digit_
of information (see Supplement 2). It is the convenient _unit of
information_.

SCHEMES FOR EXPRESSING MEANINGS

EXAMPLE:
/————————————————^—————————————————\
PRINCIPLE SIGN USED IN SIGNIFICANCE NAME OF
NO. OF SCHEME SCHEME
(1) (2) (3) (4) (5) (6)
_Sounds_
1. Sound of new Bobwhite[2] Spoken kind of quail, Imitative;
word is like English so called bowwow
sound of from its note theory
referent

2. An utterance Pooh![2] Spoken The speaker Pooh-pooh
becomes a English expresses theory
new word disdain

3. New word is Chortle[2] Spoken “Chuckle” Analogical
like another English; and
word invented by “snort”
Lewis Carroll, blended
1896

4. Word has Mother[2] Spoken Female Historical
been used English parent
through
the ages

_Sights_
5. Picture [picture Egyptian; Picture of Imitative;
is like of eye] Ojibwa eye and pictographic
referent (American tears, to
Indian) mean grief

6. Pattern is 5 English; Five; Ideographic;
symbol of French; cinq; mathematical;
an idea German; fünf; symbolic;
etc. etc. numeric

_Mapping of Sounds_
7. Object [picture Possible Picture of Rebus-
pictured of knot] English a knot to writing;
has the mean “not” phonographic
wanted
sound

8. Pattern is [picture Ancient Sign for Syllable-
symbol for of star] Cypriote the writing
a large (island of syllable
sound unit Cyprus) _mu_

9. Pattern is Ʒ International The sound Phonetic
symbol for Phonetic _zh_, as writing
a small Alphabet of _s_ in alphabetic
sound unit 87 characters “measure” writing;

_Mapping of Sights or Symbols_
10. Systematic ENIAC Abbreviations, Initial Alphabetic
combinations etc. letters coding
of 26 of a
letters 5-word
title

11. Systematic 135-03-1228 Abbreviations, Social Numeric
combinations nomenclature, Security coding
of 10 digits etc. No. of
a person

12. Systematic ✓,✕,✕,✓,✓ Checking “yes,” Binary
combinations lists, “no,” coding
of 2 marks etc. “no,”
“yes,”
“yes,”
respectively

[2] The preceding word is the spoken word, not the written one.

With 2 units of information or 2 binary digits (1 or 0) we can
represent 4 pieces of information:

00, 01, 10, 11

With 3 units of information we can represent 8 pieces of information:

000, 001, 010, 011, 100, 101, 110, 111

With 4 units of information we can represent 16 pieces of information:

0000 0001 0010 0011
0100 0101 0110 0111
1000 1001 1010 1011
1100 1101 1110 1111

Now 4 units of information are sufficient to represent a _decimal
digit_ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and allow 6 possibilities to be
left over; 3 units of information are not sufficient. For example, we
may have:

0 0000 5 0101
1 0001 6 0110
2 0010 7 0111
3 0011 8 1000
4 0100 9 1001

We say, therefore, that a decimal digit 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 is
_equivalent_ to 4 units of information. Thus a table containing 10,000
numbers, each of 10 decimal digits, is equivalent to 400,000 units of
information.

One of the 26 letters of the alphabet is equivalent to 5 units
of information, for, 5 binary digits (1 or 0) have 32 possible
arrangements, and these are enough to provide for the 26 letters. Any
printed information in English can be expressed in about 80 characters
consisting of 10 numerals, 52 capital and small letters, and some 18
punctuation marks and other types of marks; 6 binary digits (1 or 0)
have 64 possible arrangements, and 7 binary digits (1 or 0) have 128
possible arrangements. Each character in a printed book, therefore, is
roughly equivalent to 7 units of information.

It can be determined that a big telephone book or a big reference
dictionary stores printed information at the rate of about 1 billion
units of information per cubic foot. If the 10 billion nerves in the
human brain could independently be impulsed or not impulsed, then the
human brain could conceivably store 10 billion units of information.
The largest library in the world is the Library of Congress, containing
7 million volumes including pamphlets. It stores about 100 trillion
units of information.

We can thus see the significance of a _quantity of information_ from
1 unit to 100 trillion units. No distinction is here made between
information that reports facts and information that does not. For
example, a book of fiction about persons who never existed is
still counted as information, and, of course, much instruction and
entertainment may be found in such a source.

PHYSICAL EQUIPMENT FOR HANDLING INFORMATION

The first thing we want to do with information is _store_ it. The
second thing we want to do is _combine_ it. We want equipment that
makes these two processes easy and efficient. We want equipment for
handling information that:

1. Costs little.

2. Holds much information in little space.

3. Is _permanent_, when we want to keep the information.

4. Is _erasable_, when we want to remove information.

5. Is _versatile_, holds easily any kind of information,
and allows operations to be done easily.

The amount of human effort needed to handle information correctly
depends very much on the properties of the physical equipment
expressing the information, although the laws of correct reasoning are
independent of the equipment. For example, the great difficulty with
spoken sounds as physical equipment for handling information is the
trouble of storing them. The technique for doing so was mastered only
about 1877 when Thomas A. Edison made the first phonograph. Even with
this advance, no one can glance at a soundtrack and tell quickly what
sounds are stored there; only by turning back the machine and listening
to a groove can we determine this. It was not possible for the men of
2000 B.C. to wait thousands of years for the storing of spoken sounds.
The problem of storing information was accordingly taken to other types
of physical equipment.

PHYSICAL EQUIPMENT FOR HANDLING INFORMATION

PHYSICAL ARRANGED OPERATED OR LOW LITTLE PERM- ERAS- VERS-
NO. OBJECTS IN OR ON PRODUCED BY COST? SPACE? ANENT? ABLE? ATILE?
(1) (2) (3) (4) (5) (6) (7) (8) (9)

_Mind_
1. Nerve Human Body ✕ ✓✓ ✓ ✓ ✓✓
cells brain

_Sounds_
2. Sounds Air Voice ✓✓ ✓✓ ✕✕ ✓✓ ✓✓

3. Sound- Wax Machines ✓ ✓ ✓✓ ✕ ✓✓
tracks cylinders, and
phonograph motors
records

_Sights_
4. Marks Sand Stick ✓ ✕ ✓ ✓✓ ✕

5. Colored Cave Paintbrush ✕ ✕ ✓ ✕ ✕✕
painting walls, and paints
canvases,
etc.

6. Marks, Clay, Stylus, ✕✕ ✓ ✓✓ ✕✕ ✓
inscript- stone chisel
ions

7. Marks Slate Chalk ✓ ✕ ✓ ✓✓ ✓

8. Marks Paper, Pen ✓✓ ✓ ✓ ✕ ✓✓
parchment, and ink,
etc. pencil

9. Letters, Paper, Printing ✓✓ ✓✓ ✓✓ ✕✕ ✓✓
etc. books, press,
etc. movable
type,
motor,
and hands

10. Photo- Film, Camera ✓ ✓✓ ✓ ✕✕ ✓✓
graphs prints,
etc.

11. Letters, Paper, Typewriter ✓ ✓✓ ✓ ✕ ✓✓
etc. mimeograph and
stencil, fingers
etc.
_Body_
12. Gestures Space Body ✓ ✕ ✕✕ ✓✓ ✕✕

13. Fingers Hands Body ✕ ✕ ✕✕ ✓✓ ✕✕

_Objects_
14. Pebbles Slab Hands ✓✓ ✓ ✓ ✓ ✕✕

15. Knots String Hands ✓✓ ✓ ✓ ✓ ✕✕

16. Tallies, Stick Knife ✓✓ ✓ ✓✓ ✕✕ ✕✕
notches

17. Beads Rods in Hands ✓ ✓ ✓ ✓✓ ✕✕
a frame,
abacus

18. Ruled Rulers, Hands, ✓ ✓ ✓ ✓ ✓
lines, scales, pressure,
pointers dials etc.

_Machines_
19. Counter Desk Motor ✓ ✓ ✓ ✓✓ ✓
wheels, calculating and
gears, machines, hands
keys, fire-control
lights, instruments,
etc. etc.

20. Punched Punch card Motor ✓✓ ✓✓ ✓ ✕ ✓✓
cards machinery, and
and teletype, input
paper etc. instructions
tape

21. Relays Dial Motor ✕ ✓ ✓ ✓✓ ✓✓
telephone, and
other input
machinery instructions

22. Elect- Machinery Motor ✓ ✓ ✓ ✓✓ ✓✓
ronic and
tubes input
instructions

23. Magnetic Machinery Motor ✓✓ ✓✓ ✓✓ ✓✓ ✓✓
surfaces: and
wire, input
tape, instructions
discs

24. Delay Machinery Motor ✕ ✓ ✕ ✓✓ ✓✓
lines: and
electric, input
acoustic instructions

25. Electro- Machinery Motor ✕ ✓✓ ✕ ✓✓ ✓✓
static and
storage input
tubes instructions

✓✓ yes, very.
✓ yes, adequately.
✕ not generally.
✕✕ not at all.

What are the types of physical equipment for handling information, and
which are the good ones? In the table on pp. 16-17 is a rough list of
25 types of physical equipment for handling information. ✓✓ means “yes,
very;” ✓ means “yes, adequately;” ✕ means “not generally;” ✕✕ means
“not at all.”

For example, our _fingers_ (see No. 13) as a device for handling
information are very expensive for most cases. They take up a good deal
of space. Certainly they are very temporary storage; any information
they may express is very erasable; and what we can express with them
alone is very limited. Yet, with a _typewriter_ (see No. 11), our
fingers become versatile and efficient. In fact, our fingers can make
4 strokes a second; we can select any one of about 38 keys; and, since
each key is equivalent to 5 or 6 units of information, the effective
speed of our fingers may be about 800 units of information a second.

LANGUAGES OF PHYSICAL OBJECTS

The use of pebbles (see No. 14) for keeping track of numerical
information is shown in the history of the words containing the
root _calc_-of the word _calculate_. The Latin word _calcis_ meant
pertaining to lime or limestone, and the Latin word _calculus_ derived
from it meant first a small piece of limestone, and later any small
stone, particularly a pebble used in counting. All three of these
meanings have left descendants: “chalk,” “calcite,” “calcium,” relating
in one way or another to lime; in medicine, “calculus,” referring to
stones in the kidneys or elsewhere in the body; and in mathematics,
“calculate,” “calculus,” referring to computations, once done with
pebbles.

The pebbles, and the slab (for which the ancient Greek word is _abax_)
on which they were arranged and counted, were later replaced, for ease
in handling, by groups of beads strung on rods and placed in a frame
(see No. 17). These constituted the _abacus_ (see Supplement 2 and the
figure there). This was the first calculating machine. It is still
used all over Asia; in fact, even today more people use the abacus for
accounting than use pencil and paper. The skill with which the abacus
can be used was shown in November 1946 in a well-publicized contest
in Japan. Kiyoshi Mastuzaki, a clerk in the Japanese communications
department, using the abacus, challenged Private Thomas Wood of the U.
S. Army, using a modern desk calculating machine, and defeated him in a
speed contest involving additions, subtractions, multiplications, and
divisions.

The heaps of small pebbles, the notches in sticks, and the abacus had
the advantage of being visible and comparatively permanent. Storing
and reading were relatively easy. They were rather compact and easy
to manipulate, certainly much easier than spoken words. But they were
subject to disadvantages also. Moving correctly from one arrangement
to another was difficult, since there was no good way for storing
intermediate steps so that the process could be easily verified.
Furthermore, these devices applied to specified numbers only. Also,
there was no natural provision for recording what the several numbers
belonged to. This had to be recorded with the help of another language,
writing.

The language of physical objects was picked up from obscurity by
the invention of motors and the demands of commerce and business.
Commencing in the late 1800’s, _desk calculating machines_ (see No. 19)
were constructed to meet mass calculation requirements. They would add,
subtract, multiply, and divide specific numbers with great accuracy
and speed. But until recently they still were adjuncts to the other
languages, for they provided figures one at a time for insertion in the
spaces on the ledger pages or calculation sheets where figures were
called for.

Beginning in the 1920’s, a remarkable change has taken place. Instead
of performing single operations, machines have been developed to
perform chains of operations with many kinds of information. One
of these machines is the _dial telephone_: it can select one of 7
million telephones by successive sorting according to the letters
and digits of a telephone number. Another of these machines is a
_fire-control instrument_, a mechanism for controlling the firing
of a gun. For example, in a modern anti-aircraft gun the mechanism
will observe an enemy plane flying at several hundred miles an hour,
convert the observations into gun-aiming directions, and determine the
aiming directions fast enough to shoot down the plane. _Punch-card
machinery_, machines handling information expressed as punched holes
in cards, enable the fulfillment of social security legislation, the
production of the census, and countless operations of banks, insurance
companies, department stores, and factories. And, finally, in 1942 the
first _mechanical brain_ was finished at Massachusetts Institute of
Technology.

THE CRUCIAL DEVICES FOR MECHANICAL BRAINS

Let us consider the two modern physical devices for handling
information which make mechanical brains possible. These are _relays_
and _electronic tubes_ (Nos. 21 and 22). The last three kinds of
equipment listed in the table (_magnetic surfaces_, No. 23; _delay
lines_, No. 24; and _electrostatic storage tubes_, No. 25) were not
included in any mechanical brains functioning by the middle of 1948.
The discussion of them is therefore put off to Chapter 10, where we
talk about the future design of mechanical brains.

[Illustration: FIG. 1. Relay]

Figure 1 shows a simple relay. There are two electrical circuits
here. One has two terminals—Pickup and Ground. The other has three
terminals—Common, Normally Open, and Normally Closed. When current
flows through the coil of wire around the iron, it makes the iron
a magnet; the magnet pulls down the flap of iron above, overcoming
the force of the spring. When there is no current through the coil,
the iron is not a magnet, and the flap is held up by the spring. Now
suppose that there is current in Common. When there is no current in
Pickup, the current from Common will flow through the upper contact, to
the terminal marked Normally Closed. When there is current in Pickup,
the current from Common will flow through the lower contact, to the
terminal marked Normally Open. Thus we see that a relay expresses a
“yes” or a “no,” a 1 or 0, a binary digit, a unit of information. A
relay costs $5 to $10. It is rather expensive for storing a single unit
of information. The fastest it can be changed from 1 to 0, or vice
versa, is about ¹/₁₀₀ of a second.

[Illustration: FIG. 2. Electronic tube.]

Figure 2 shows a simple electronic tube. It has three parts—the
Cathode, the Grid, and the Plate. The Grid actually is a coarse net
of metal wires. Electrons can flow from the Cathode to the Plate,
provided the voltage on the Grid is such as to permit them to flow.
So we can see that an electronic tube is a very simple on-off device
and expresses a “yes” or a “no,” a 1 or 0, a binary digit, a unit of
information. A simple electronic tube suitable for calculating purposes
costs 50 cents to a $1, only ⅒ the cost of a relay. It can be changed
from 1 to 0, or back again, in 1 millionth of a second.

Relays have been widely used in the mechanical brains so far built, and
electronic tubes are the essence of Eniac.

In the next chapter, we shall see how physical equipment for handling
information can be put together to make a simple mechanical brain.

Chapter 3

A MACHINE THAT WILL THINK:

THE DESIGN OF A VERY SIMPLE MECHANICAL BRAIN

We shall now consider how we can design a very simple machine that will
think. Let us call it Simon, because of its predecessor, Simple Simon.

SIMON, THE VERY SIMPLE MECHANICAL BRAIN

By designing Simon, we shall see how we can put together physical
equipment for handling information in such a way as to get a very
simple mechanical brain. At every point in the design of Simon, we
shall make the simplest possible choice that will still give us a
machine that: handles information, transfers information automatically
from one part of the machine to another, and has control over the
sequence of operations. Simon is so simple and so small, in fact, that
it could be built to fill up less space than a grocery-store box, about
4 cubic feet. If we know a little about electrical work, we will find
it rather easy to make Simon.

What do we do first to design the very simple mechanical brain, Simon?

SIMON’S FLESH AND NERVES—REPRESENTING INFORMATION

The first thing we have to decide about Simon is how information will
be represented: as we put it into Simon, as it is moved around inside
of Simon, and as it comes out of Simon. We need to decide what physical
equipment we shall use to make Simon’s flesh and nerves. Since we are
taking the simplest convenient solution to each problem, let us decide
to use: _punched paper tape_ for putting information in, _relays_ (see
Chapter 2) and wires for storing and transferring information, and
_lights_ for putting information out.

[Illustration: TWO-HOLED TAPE READER: Simon’s left ear that listens to
numbers and operations.

FOUR-HOLED TAPE READER: Simon’s right ear that listens to instructions.

LIGHT BULBS: Simon’s eyes that wink answers.

FIG. 1. Simon, the very simple mechanical brain.]

For the equipment inside Simon, we could choose either electronic tubes
or relays. We choose relays, although they are slower, because it is
easier to explain circuits using relays. We can look at a relay circuit
laid out on paper and tell how it works, just by seeing whether or not
current will flow. Examples will be given below. When we look at a
circuit using electronic tubes laid out on paper, we still need to know
a good deal in order to calculate just how it will work.

How will Simon perceive a number or other information by means of
punched tape, or relays, or lights? With punched paper tape having, for
example, 2 spaces where holes may be, Simon can be told 4 numbers—00,
01, 10, 11. Here the binary digit 1 means a hole punched; the binary
digit 0 means no hole punched. With 2 relays together in a register,
Simon can remember any one of the 4 numbers 00, 01, 10, and 11. Here
the binary digit 1 means the relay picked up or energized or closed; 0
means the relay not picked up or not energized or open. With 2 lights,
Simon can give as an answer any one of the 4 numbers 00, 01, 10, 11. In
this case the binary digit 1 means the light glowing; 0 means the light
off. (See Fig. 1.)

We can say that the two lights by which Simon puts out the answer
are his _eyes_ and say that he tells his answer by _winking_. We can
say also that the two mechanisms for reading punched paper tape are
Simon’s _ears_. One tape, called the _input tape_, takes in numbers
or operations. The other tape takes in instructions and is called the
_program tape_.

SIMON’S MENTALITY—POSSIBLE RANGE OF INFORMATION

We can say that Simon has a _mentality_ of 4. We mean not age 4 but
just the simple fact that Simon knows only 4 numbers and can do only 4
operations with them. But Simon can keep on doing these operations in
all sorts of routines as long as Simon has instructions. We decide that
Simon will know just 4 numbers, 0, 1, 2, 3, in order to keep our model
mechanical brain very simple. Then, for any register, we need only 2
relays; for any answer, we need only 2 lights.

Any calculating machine has a _mentality_, consisting of the whole
collection of different ideas that the machine can ever actually
express in one way or another. For example, a 10-place desk calculating
machine can handle numbers up to 10 decimal digits without additional
capacity. It cannot handle bigger numbers.

[Illustration: FIG. 2. Four directions.]

What are the 4 _operations with numbers_ which Simon can carry out?
Let us consider some simple operations that we can perform with just 4
numbers. Suppose that they stood for 4 directions in the order east,
north, west, south (see Fig. 2). Or suppose that they stood for a turn
counterclockwise through some right angles as follows:

0: Turn through 0°, or no right angles.
1: Turn through 90°, or 1 right angle.
2: Turn through 180°, or 2 right angles.
3: Turn through 270°, or 3 right angles.

Then we could have the operations of _addition_ and _negation_, defined
as follows:

ADDITION NEGATION
_c_ = _a_ + _b_ _c_ = -_a_

_b_: 0 1 2 3 _a_|_c_
_a_ +————————— ————+————
0 | 0 1 2 3 0 | 0
1 | 1 2 3 0 1 | 3
2 | 2 3 0 1 2 | 2
3 | 3 0 1 2 3 | 1

For example, the first table says, “1 plus 3 equals 0.” This means
that, if we turn 1 right angle and then turn in the same direction 3
more right angles, we face in exactly the same way as we did at the
start. This statement is clearly true. For another example, the second
table says, “2 is the negative of 2.” This means that, if we turn to
the left 2 right angles, we face in exactly the same way as if we turn
to the right 2 right angles, and this statement also is, of course,
true.

With only these two operations in Simon, we should probably find him a
little too dull to tell us much. Let us, therefore, put into Simon two
more operations. Let us choose two operations involving both numbers
and logic: in particular, (1) finding which of two numbers is greater
and (2) selecting. In this way we shall make Simon a little cleverer.

It is easy to teach Simon how to find which of two numbers is the
greater when all the numbers that Simon has to know are 0, 1, 2, 3. We
put all possible cases of two numbers _a_ and _b_ into a table:

_b_: 0 1 2 3
_a_+—————————
0 |
1 |
2 |
3 |

Then we tell Simon that we shall mark with 1 the cases where _a_ is
greater than _b_ and mark with 0 the cases where _a_ is not greater
than _b_:

GREATER THAN

_b_: 0 1 2 3
_a_+—————————
0 | 0 0 0 0
1 | 1 0 0 0
2 | 1 1 0 0
3 | 1 1 1 0
For example, “2 is greater than 3” is false, so we put 0 in the table
on the 2 line in the 3 column. We see that, for the 16 possible cases,
_a_ is greater than _b_ in 6 cases and _a_ is not greater than _b_ in
10 cases.

There is a neat way of saying what we have just said, using the
language of _mathematical logic_ (see Chapter 9 and Supplement 2).
Suppose that we consider the statement “_a_ is greater than _b_” where
_a_ and _b_ may be any of the numbers 0, 1, 2, 3. We can say that the
_truth value p_ of a _statement P_ is 1 if the statement is true and
that it is 0 if the statement is false:

_p_ = 1 if _P_ is true, 0 if _P_ is false

The truth value of a statement _P_ is conveniently denoted as _T_(_P_)
(see Supplement 2):

_p_ = _T_(_P_)

Now we can say that the table for the operation _greater than_ shows
the truth value of the statement “_a_ is greater than _b_”:

_p_ = _T_(_a_ > _b_)

Let us turn now to the operation _selection_. By _selecting_ we mean
choosing one number _a_ if some statement _P_ is true and choosing
another number _b_ if that statement is not true. As before, let _p_
be the truth value of that statement _P_, and let it be equal to 1 if
_P_ is true and to 0 if _P_ is false. Then the operation of selection
is fully expressed in the following table and logical formula (see
Supplement 2):

SELECTION _c_ = _a_·_p_ + _b_·(1 - _p_)

_p_: 0 0 0 0 1 1 1 1
_b_: 0 1 2 3 0 1 2 3
_a_+——————————————————
0 | 0 1 2 3 0 0 0 0
1 | 0 1 2 3 1 1 1 1
2 | 0 1 2 3 2 2 2 2
3 | 0 1 2 3 3 3 3 3

For example, suppose that _a_ is 2 and _b_ is 3 and the statement _P_
is the statement “2 is greater than 0.” Since this statement is true,
_p_ is 1, and

_a_·_p_ + _b_·(1 - _p_) = 2(1) + 3(0) = 2
This result is the same as selecting 2 if 2 is greater than 0 and
selecting 3 if 2 is not greater than 0.

Thus we have four operations for Simon that do not overstrain his
mentality; that is, they do not require him to go to any numbers other
than 0, 1, 2, and 3. These four operations are: addition, negation,
greater than, selection. We label these operations also with the
numbers 00 to 11 as follows: addition, 00; negation, 01; greater than,
10; selection, 11.

SIMON’S MEMORY—STORING INFORMATION

The _memory_ of a mechanical brain consists of physical equipment
in which information can be stored. Usually, each section of the
physical equipment which can store one piece of information is called
a _register._ Each register in Simon will consist of 2 relays. Each
register will hold any of 00, 01, 10, 11. The information stored in
a register 00, 01, 10, 11 may express a number or may express an
operation.

[Illustration: S1-2 Relay energized]

[Illustration: S1-1 Relay not energized

FIG. 3. Register _S_1 storing 10.]

How many registers will we need to put into Simon to store information?
We shall need one register to read the input tape and to store the
number or operation recorded on it. We shall call this register the
_input register I_. We shall need another register to store the number
or operation that Simon says is the answer and to give it to the output
lights. We shall call this register the _output register O_. We shall
need 5 registers for the part of Simon which does the computing, which
we shall call the _computer_: we shall need 3 to store numbers put into
the computer (_C_1, _C_2, _C_3), 1 to store the operation governing the
computer (_C_4), and 1 to store the result (_C_5). Suppose that we
decide to have 8 registers for storing information, so as to provide
some flexibility for doing problems. We shall call these registers
_storage registers_ and name them _S_1, _S_2, _S_3, ··· _S_8. Then
Simon will have 15 registers: a memory that at one time can hold 15
pieces of information.

How will one of these registers hold information? For example, how
will register _S_1 hold the number 2 (see Fig. 3)? The number 2 in
machine language is 10. Register _S_1 consists of two relays, _S_1-2
and _S_1-1. 10 stored in register _S_1 means that relay _S_1-2 will be
energized and that relay _S_1-1 will not be energized.

THE CONTROL OF SIMON

So far we have said nothing about the control of Simon. Is he docile?
Is he stubborn? We know what his capacity is, but we do not know how to
tell him to do anything. How do we connect our desires to his behavior?
How do we tell him a problem? How do we get him to solve it and tell
us the answer? How do we arrange control over the sequence of his
operations? For example, how do we get Simon to add 1 and 2 and tell us
the answer 3?

On the outside of Simon, we have said, there are two ears: little
mechanisms for reading punched paper tape. Also there are two eyes
that can wink: light bulbs that by shining or not shining can put out
information (see Fig. 1). One of the ears—let us call it the _left
ear_—takes in information about a particular problem: numbers and
operations. Here the _problem tape_ or _input tape_ is listened to.
Each line on the input tape contains space for 2 punched holes. So, the
information on the input tape may be 00, 01, 10, or 11—either a number
or an operation. The other ear—let us call it the _right ear_—takes in
information about the sequence of operations, the program or routine
to be followed. Here the _program tape_ or _routine tape_ or _control
tape_ is listened to. Each line on the program tape contains space for
4 punched holes. We tell Simon by _instructions_ on the program tape
what he is to do with the information that we give him on the input
tape. The information on the program tape, therefore, may be 0000,
0001, 0010, ···, 1111, or any number from 0 to 15 expressed in binary
notation (see Supplement 2).

How is this accomplished? In the first place, Simon is a machine, and
he behaves during time. He does different things from time to time.
His behavior is organized in _cycles_. He repeats a cycle of behavior
every second or so. In each cycle of Simon, he listens to or reads the
input tape once and he listens to or reads the program tape twice.
Every complete instruction that goes on the program tape tells Simon a
register from which information is to be sent and a register in which
information is to be received. The first time that he reads the program
tape he gets the name of the register that is to receive certain
information, the _receiving register_. The second time he reads the
program tape he gets the name of the register from which information is
to be sent, the _sending register_. He finishes each cycle of behavior
by transferring information from the sending register to the receiving
register.

For example, suppose that we want to get an answer out of Simon’s
computer into Simon’s output lights. We put down the instruction

Send information from _C_5 into _O_

or, more briefly,

_C_5 → _O_

But he does not understand this language. We must translate into
machine language, in this case punched holes in the program tape.
Naturally, the punched holes in the program tape must be able to
specify any sending register and any receiving register. There are 15
registers, and so we give them punched hole _codes_ as follows:

REGISTER CODE REGISTER CODE
_I_ 0001 _C_1 1010
_S_1 0010 _C_2 1011
_S_2 0011 _C_3 1100
_S_3 0100 _C_4 1101
_S_4 0101 _C_5 1110
_S_5 0110 _O_ 1111
_S_6 0111
_S_7 1000
_S_8 1001

To translate the direction of transfer of information, which we showed
as an arrow, we put on the program tape the code for the receiving
register first—in this case, output, _O_, 1111—and the code for the
sending register second—in this case, _C_5, 1110. The instruction
becomes 1111, 1110. The first time in any cycle that Simon listens with
his right ear, he knows that what he hears is the name of the receiving
register; and the second time that he listens, he knows that what he
hears is the name of the sending register. One reason for this sequence
is that any person or machine has to be prepared beforehand to absorb
or take in any information.

Now how do we tell Simon to add 1 and 2? On the input tape, we put:

Add 00
1 01
2 10

On the program tape, we need to put:

_I_ → _C_4
_I_ → _C_1
_I_ → _C_2
_C_5 → _O_

which becomes:

1101, 0001;
1010, 0001;
1011, 0001;
1111, 1110

THE USEFULNESS OF SIMON

Thus we can see that Simon can do such a problem as:

Add 0 and 3. Add 2 and the negative of 1.
Find which result is greater.
Select 3 if this result equals 2; otherwise select 2.

To work out the coding for this and like problems would be a good
exercise. Simon, in fact, is a rather clever little mechanical brain,
even if he has only a mentality of 4.

It may seem that a simple model of a mechanical brain like Simon
is of no great practical use. On the contrary, Simon has the same
use in instruction as a set of simple chemical experiments has: to
stimulate thinking and understanding and to produce training and skill.
A training course on mechanical brains could very well include the
construction of a simple model mechanical brain as an exercise. In this
book, the properties of Simon may be a good introduction to the various
types of more complicated mechanical brains described in later chapters.

The rest of this chapter is devoted to such questions as:

How do transfers of information actually take place
in Simon?

How does the computer in Simon work so that calculation
actually occurs?

How could Simon actually be constructed?

What follows should be skipped unless you are interested in these
questions and the burdensome details needed for answering them.

SIMON’S THINKING—TRANSFERRING INFORMATION

The first basic thinking operation for any mechanical brain is
transferring information automatically. Let us see how this is done in
Simon.

[Illustration: FIG. 4. Scheme of Simon.]

Let us first take a look at the scheme of Simon as a mechanical brain
(see Fig. 4). We have 1 input, 8 storage, 5 computer, and 1 output
registers, which are connected by means of transfer wires or a transfer
line along which numbers or operations can travel as electrical
impulses. This transfer line is often called the _bus_, perhaps because
it is always busy carrying something. In Simon the bus will consist of
2 wires, one for carrying the right-hand digit and one for carrying the
left-hand digit of any number 00, 01, 10, 11. Simon also has a number
of neat little devices that will do the following:

When any number goes into a register, the coils of the
relays of the register will be connected with the bus.

When any number goes out of a register, the contacts of
the relays of the register will be connected with the bus.

For example, suppose that in register _C_5 the number 2 is stored. In
machine language this is 10. That means the left-hand relay (_C_5-2) is
energized and the right-hand relay (_C_5-1) is not energized. Suppose
that we want to transfer this number 2 into the output register _O_,
which has been cleared. What do we do?

Let us take a look at a circuit that will transfer the number (see
Fig. 5). First we see two relays in this circuit. They belong to the
_C_5 register. The _C_5-2 relay is energized since it holds 1; current
is flowing through its coil, the iron core becomes a magnet, and the
contact above it is pulled down. The _C_5-1 relay is not energized
since it holds 0; its contact is not pulled down. The next thing we
see is two _rectifiers_. The sign for these is a triangle. These are
some modern electrical equipment that allow electrical current to
flow in only one direction. In the diagram, the direction is shown by
the pointing of the triangle along the wire. Rectifiers are needed to
prevent undesired circuits. Next, we see the bus, consisting of two
wires. One carries the impulses for left-hand or 2 relays, and the
other carries impulses for the right-hand or 1 relays. Next, we see
two relays, called the _entrance relays_ for the _O_ register. Current
from Source 1 may flow to these relays, energize them, and close their
contacts. When the first line of the program tape is read, specifying
the receiving register, the code 1111 causes Source 1 to be energized.
This fact is shown schematically by the arrow running from the program
tape code 1111 to Source 1. Finally, we see the coils of the two
relays for the Output or _O_ register. We thus see that we have a
circuit from the contacts of the _C_5 register through the bus to the
coils of the _O_ register.

[Illustration: FIG. 5. Transfer circuit.]

We are now ready to transfer information when the second line of the
program tape is read. This line holds 1110 and designates _C_5 as the
sending register and causes Source 2 to be energized. This fact is
shown schematically by the arrow running from the second line of the
program tape to Source 2. When the second line is read, current flows:

1. From Source 2.

2. Through the contacts of the _C_5 register if closed.

3. Through the rectifiers.

4. Through the bus.

5. Through the entrance relay contacts of the _O_ register.

6. Through the coils of the _O_ register relays, energizing
such of them as match with the _C_5 closed contacts; and
finally

7. Into the ground.

Thus relay _O_-2 is energized; it receives current because contact
_C_5-2 is closed. And relay _O_-1 is not energized; it receives no
current since contact _C_5-1 is open. So we have actually transferred
information from the _C_5 register to the _O_ register.

The same process in principle applies to all transfers:

The pattern of electrical impulses, formed by the positioning
of one register, is produced in the positioning of another
register.

SIMON’S COMPUTING AND REASONING

Now so far the computing registers in Simon are a mystery. We have said
that _C_1, _C_2, and _C_3 take in numbers 00, 01, 10, 11, that _C_4
takes in an operation 00, 01, 10, 11, and that _C_5 holds the result.
What process does Simon use so that he has the correct result in
register _C_5?

Let us take the simplest computing operation first and see what sort of
a circuit using relays will give us the result. The simplest computing
operation is _negation_. In negation, a number 00, 01, 10, 11 goes into
the _C_1 register, and the operation 01 meaning negation goes into the
_C_4 register, and the correct result must be in the _C_5 register. So,
first, we note the fact that the _C_4-2 relay must not be energized,
since it contains 0, and that the _C_4-1 relay must be energized, since
it contains 1.

Now the table for negation, with _c_ =-_a_, is:

_a_ | _c_
————+————
0 | 0
1 | 3
2 | 2
3 | 1

Negation in machine language will be:

_a_ | _c_
————+————
00 | 00
01 | 11
10 | 10
11 | 01

Now if _a_ is in the _C_1 register and if _c_ is in the _C_5 register,
then negation will be:

_C_1 | _C_5
—————+—————
00 | 00
01 | 11
10 | 10
11 | 01

But each of these registers _C_1, _C_5 will be made up of two relays,
the left-hand or 2 relay and the right-hand or 1 relay. So, in terms of
these relays, negation will be:

_C_1-2 _C_1-1 | _C_5-2 _C_5-1
——————————————+——————————————
0 0 | 0 0
0 1 | 1 1
1 0 | 1 0
1 1 | 0 1

Now, on examining the table, we see that the _C_5-1 relay is energized
if and only if the _C_1-1 relay is energized. So, in order to energize
the _C_5-1 relay, all we have to do is transfer the information from
_C_1-1 to _C_5-1. This we can do by the circuit shown in Fig. 6. (In
this and later diagrams, we have taken one more step in streamlining
the drawing of relay contacts: the contacts are drawn, but the coils
that energize them are represented only by their names.)

[Illustration: FIG. 6. Negation—right-hand digit.]

[Illustration: FIG. 7. Negation—left-hand digit.]

Taking another look at the table, we see also that the _C_5-2 relay
must be energized if and only if:

_C_1-2 AND _C_1-1
HOLDS: HOLDS:
0 1
1 0

A circuit that will do this is the one shown in Fig. 7. In Fig. 8 is a
circuit that will do all the desired things together: give the right
information to the _C_5 relay coils if and only if the _C_4 relays hold
01.

[Illustration: FIG. 8. Negation circuit.]

Let us check this circuit. First, if there is any operation other than
01 stored in the _C_4 relays, then no current will be able to get
through the _C_4 contacts shown and into the _C_5 relay coils, and the
result is blank. Second, if we have the operation 01 stored in the _C_4
relays, then the _C_4-2 contacts will not be energized—a condition
which passes current—and the _C_4-1 contacts will be energized—another
condition which passes current—and:

IF THE NUMBER AND THE _C_5 RELAYS
IN _C_1 IS: THEN _C_1-1: AND _C_1-2: ENERGIZED ARE:
0 does not close does not close neither
1 closes does not close _C_5-2, _C_5-1
2 does not close closes _C_5-2 only
3 closes closes _C_5-1 only

Thus we have shown that this circuit is correct.

We see that this circuit uses more than one set of contacts for several
relays (_C_1-2, _C_4-1, _C_4-2); relays are regularly made with 4, 6,
or 12 sets of contacts arranged side by side, all controlled by the
same pickup coil. These are called 4-, 6-, or 12-_pole_ relays.

[Illustration: FIG. 9. Addition circuit.]

[Illustration: FIG. 10. Greater-than circuit.]

Circuits for _addition_, _greater than_, and _selection_ can also be
determined rather easily (see Figs. 9, 10, 11). (_Note_: By means of
the _algebra of logic_, referred to in Chapter 9 and Supplement 2, the
conditions for many relay circuits, as well as the circuit itself, may
be expressed algebraically, and the two expressions may be checked by
a mathematical process.) For example, let us check that the addition
circuit in Fig. 9 will enable us to add 1 and 2 and obtain 3. We take
a colored pencil and draw closed the contacts for _C_1-1 (since _C_1
holds 01) and for _C_2-2 (since _C_2 holds 10). Then, when we trace
through the circuit, remembering that addition is stored as 00 in the
_C_4 relays, we find that both the _C_5 relays are energized. Hence
_C_5 holds 11, which is 3. Thus Simon can add 1 and 2 and make 3!

[Illustration: FIG. 11. Selection Circuit.]

PUTTING SIMON TOGETHER

In order to put Simon together and make him work, not very much is
needed. On the outside of Simon we shall need two small mechanisms for
reading punched paper tape. Inside Simon, there will be about 50 relays
and perhaps 100 feet of wire for connecting them. In addition to the 15
registers (_I_, _S_1 to _S_8, _C_1 to _C_5, and _O_), we shall need a
register of 4 relays, which we shall call the _program register_. This
register will store the successive instructions read off the program
tape. We can call the 4 relays of this register _P_8, _P_4, _P_2, _P_1.
For example, if the _P_8 and _P_2 relays are energized, the register
holds 1010, and this is the program instruction that calls for the 8th
plus 2nd, or 10th, register, which is _C_1.

For connecting receiving registers to the bus, we shall need a relay
with 2 poles, one for the 2-line and one for the 1-line, for each
register that can receive a number from the bus. For example, for
entering the output register, we actually need only one 2-pole relay
instead of the two 1-pole relays drawn for simplicity in Fig. 5. There
will be 13 2-pole relays for this purpose, since only 13 registers
receive numbers from the bus; registers _I_ and _C_5 do not receive
numbers from the bus. We call these 13 relays the _entrance relays_ or
_E relays_, since _E_ is the initial letter of the word entrance.

[Illustration: FIG. 12. Select-Receiving-Register circuit.]

The circuit for selecting and energizing the _E_ relays is shown in
Fig. 12. We call this circuit the _Select-Receiving-Register_ circuit.
For example, suppose that the _P_8 and _P_2 relays are energized. Then
this circuit energizes the _E_10 relay. The _E_10 relay closes the
contacts between the _C_1 relay coils and the bus; and so it connects
the _C_1 register to receive the next number that is sent into the bus.
This kind of circuit expresses a classification and is sometimes called
a _pyramid circuit_ since it spreads out like a pyramid. A similar
pyramid circuit is used to select the sending register.

We shall need a relay for moving the input tape a step at a time. We
shall call this relay the _MI relay_, for _m_oving _i_nput tape. We
also need a relay for moving the program tape a step at a time. We
shall call this relay the _MP relay_ for _m_oving _p_rogram tape. Here
then is approximately the total number of relays required:

RELAYS NAME NUMBER
_I_, _S_, _C_, _O_ Input, Storage, Computer, Output 30
_P_ Program 4
_E_ Entrance 13
_MI_ Move Input Tape 1
_MP_ Move Program Tape 1
————
Total 49

A few more relays may be needed to provide more contacts or poles. For
example, a single _P_1 relay will probably not have enough poles to
meet all the need for its contacts.

[Illustration: FIG. 13. Latch relay.]

Each cycle of the machine will be divided into 5 equal _time intervals_
or _times_ 1 to 5. The timing of the machine will be about as follows:

TIME ACTION
1 Move program tape. Move input tape if read out of in last
cycle.
2 Read program tape, determining the receiving register.
Read through the computing circuit setting up the
_C_5 register.
3 Move program tape. Energize the _E_ relay belonging
to the receiving register.
4 Read program tape again, determining the sending register.
5 Transfer information by reading through the
Select-Sending-Register circuit and the
Select-Receiving-Register circuit.

In order that information may remain in storage until wanted, register
relays should hold their information until just before the next
information is received. This can be accomplished by keeping current in
their coils or in other ways. There is a type of relay called a _latch
relay_, which is made with two coils and a latch. This type of relay
has the property of staying or latching in either position until the
opposite coil is impulsed (see Fig. 13). This type of relay would be
especially good for the registers of Simon.

If any reader sets to work to construct Simon, and if questions arise,
the author will be glad to try to answer them.

Chapter 4

COUNTING HOLES:

PUNCH-CARD CALCULATING MACHINES

When we think of counting, we usually think of saying softly to
ourselves “one, two, three, four, ···.” This is a good way to find the
total of a small group of objects. But when we have a large group of
objects or a great many groups of objects to be counted, a much faster
way of counting is needed. A very fast way of sorting and counting is
_punch-card calculating machinery_. This is machinery which handles
information expressed as holes in cards. _Punch-card machines_ can:

Sort, count, file, select, and copy information,
Make comparisons, and choose according to instructions,
Add, subtract, multiply, and divide,
List information, and print totals.

For example, in a life insurance company, much routine handling of
information about insurance policies is necessary:

Writing information on newly issued policies.

Setting up policy-history cards.

Making out notices of premiums due.

Making registers of policies in force, lapsed, died, etc.,
for purposes of valuation as required by law or good
management.

Calculating and tabulating premium rates, dividend rates,
reserve factors, etc.

Computing and tabulating expected and actual death rates;
and much more.

All these operations can be done almost automatically by punch-card
machines.

ORIGIN AND DEVELOPMENT

When a census of the people of a country is taken, a great quantity of
sorting and counting is needed: by village, county, city, and state;
by sex; by age; by occupation; etc. In 1886, the census of the people
of the United States which had been taken in 1880 was still being
sorted and counted. Among the men then studying census problems was
a statistician and inventor, Herman Hollerith. He saw that existing
methods were so slow that the next census (1890) would not be finished
before the following census (1900) would have to be begun. He knew
that cards with patterns of holes had been used in weaving patterns
in cloth. He realized that the presence or absence of a property, for
example employed or unemployed, could be represented by the presence
or absence of a hole in a piece of paper. An electrical device could
detect the hole, he believed, since it would allow current to flow
through, whereas the absence of the hole would stop the current. He
experimented with sorting and counting, using punched holes in cards,
and with electrical devices to detect the holes and count them. A
definite meaning was given to each place in the card where a hole might
be punched. Then electrical devices handled the particular information
that the punches represented. These devices either counted or added,
singly or in various combinations, as might be desired.

More than 50 years of development of punch-card calculating machinery
have since then taken place. Several large companies have made
quantities of punch-card machines. A great degree of development has
taken place in the punch-card machines of International Business
Machines Corporation (IBM), and for this reason these machines will
be the ones described in this chapter. What is said here, however,
may also in many ways apply to punch-card machines made by other
manufacturers—Remington-Rand, Powers, Control Instrument, etc.

GENERAL PRINCIPLES

To use punch-card machines, we first convert the original information
into patterns of holes in cards. Then we feed the cards into the
machines. Electrical impulses read the pattern of holes and convert
them into a pattern of timed electrical currents. Actually, the
reading of a hole in a column of a punch card is done by a brush of
several strands of copper wire pressed against a metal roller (Fig.
1). The machine feeds the card (the bottom edge first, where the 9’s
are printed) with very careful timing over the roller; and, when the
punched hole is between the brush and the roller, an electrical circuit
belonging to that column of the card is completed. The machine responds
according to its general design and its wiring for the particular
problem: it punches new cards, or it prints new marks, or it puts
information into new storage places. Clerks, however, move the cards
from one machine to another. They wait on the machines, keep the card
feeds full, and empty the card hoppers as they fill up. A human error
of putting the wrong block of cards into a machine may from time to
time cause a little trouble, especially in sorting. Actually, in a
year, billions of punch cards are handled precisely.

[Illustration: FIG. 1. Reading of punch cards.]

The _punch card_ is a masterpiece of engineering and standardization.
Its exact thickness matches the knife-blade edges that feed the cards
into slots in the machines, and matches the channels whereby these
cards travel through the machines. The standard card is 7⅜ inches long
and 3¼ inches wide, and it has a standard thickness of 0.0065 inch and
other standard properties with respect to stiffness, finish, etc.

[Illustration: FIG. 2. Scheme of standard punch card. (Note: Positions
11 and 12 are not usually marked by printed numbers or letters.)]

The standard IBM punch card of today has 80 _columns_ and 12
_positions_ for punching in each column (Fig. 2). A single punched
hole in each of the positions known as 0 to 9 stands for each of the
digits 0 to 9 respectively. The remaining 2 single punch positions
available in any column are usually called the _11 position_ and _12
position_ (though sometimes called the numerical _X position_ and _Y
position_). These two positions do not behave arithmetically as 11 and
12. Actually, in the space between one card and the next card as they
are fed through the machines, more positions occur. For example, there
may be 4 more: a 10 position preceding the 9, and a 13, a 14, and a
15 position following the 12. The 16 positions in total correspond to
a full turn, 360°, of the roller under the brush, and to a complete
_cycle_ in the machine; and a single position corresponds to ¹/₁₆ of
360°, or 22½°. In some machines, the total number of positions may be
20. A pair of punches stands for each of the letters of the alphabet,
according to the scheme shown.

A 12-1 J 11-1 Unused 0-1
B 12-2 K 11-2 S 0-2
C 12-3 L 11-3 T 0-3
D 12-4 M 11-4 U 0-4
E 12-5 N 11-5 V 0-5
F 12-6 O 11-6 W 0-6
G 12-7 P 11-7 X 0-7
H 12-8 Q 11-8 Y 0-8
I 12-9 R 11-9 Z 0-9

For example, the word MASON is shown punched in Fig. 3.

[Illustration: FIG. 3. Alphabetic punching.]

[Illustration: FIG. 4. Single-panel plugboard.]

To increase the versatility of the machines and provide them with
instructions, many of them have _plugboards_ (Fig. 4). These are
standard interchangeable boards filled with prongs on one side and
holes or terminals called _hubs_ on the other side. The side with the
prongs connects to the ends of electrical circuits in the punch-card
machine, which are brought together in one place for the purpose.
On the other side of the board, using plugwires, we can connect the
hubs to each other in different ways to produce different results.
The single-panel plugboard is 10 inches long and 5¾ inches wide. It
contains 660 hubs in front and 660 corresponding prongs in the back.
A double-panel plugboard or a triple-panel plugboard applies to some
machines. In less time than it takes to describe it, we can take one
wired-up plugboard out of a machine and put in a new wired-up plugboard
and thus change completely the instructions under which the machine
operates. Many of the machines have a number of different switches that
we must also change, when going from one kind of problem to another.

The numbers that are stored or sorted in punch-card machines may be
of any size up to 80 digits, one in each column of the punch card. In
doing arithmetic (adding, subtracting, multiplying, and dividing),
however, the largest number of digits is usually 10. Beyond 10 digits,
we can work out tricks in many cases.

TYPES OF PUNCH-CARD MACHINES

The chief IBM punch-card machines are: the _key punch_, the _verifier_,
the _sorter_, the _interpreter_, the _reproducer_, the _collator_, the
_multiplying punch_, the _calculating punch_, and the _tabulator_. Of
these 9 machines, the last 6 have plugboards and can do many different
operations as a result.

There is a flow of punch cards through each of these machines. The
machines differ from each other in the number and relation of the
paths of flow, or _card channels_, and in the number and relation of
the momentary stopping places, or _card stations_, at which cards are
read, punched, or otherwise acted on. We can get a good idea of what a
machine is from a picture of these card channels.

Key Punch

We use a key punch (Fig. 5) to punch original information into
blank cards. In the key punch there is one card channel; it has one
entrance, one station, and one exit. At the card station, there are
12 _punching dies_, one for each position in the card column, and
each card column is presented one by one for punching. The numeric
_keyboard_ (Fig. 6) for the key punch has 14 keys:

One key for each of the
punches 0 to 9, 11, and 12,

A _space key_, which allows a
column of the punch card to
go by with no punch in it,

A _release key_, which ejects the
card and feeds another card.

[Illustration: FIG. 5. Key punch.]

[Illustration: FIG. 6. Keyboard of key punch.]

Of course, in using a key punch, we must punch the same kind of
information in the same group of columns. For example, if these cards
are to contain employees’ social security numbers, we must punch that
number always in the same card columns, numbered, say, 15 to 23, or 70
to 78, etc.

Verifier

The verifier is really the same machine as the key punch, but it has
dull punching dies moving gently instead of sharp ones moving with
force. It turns on a red light and stops when there is no punched hole
in the right spot to match with a pressed key.

Sorter

The sorter is a machine for sorting cards, one column at a time (Fig.
7). The sorter has a card channel that forks; it has one entrance,
one station, and 13 exits. Each exit corresponds to: one of the 12
punch positions 0 to 9, 11, and 12; or _reject_, which applies when the
column is nowhere punched. It has one card station where a brush reads
a single column of the card. We can turn a handle and move the brush to
any column.

[Illustration: FIG. 7. Sorter.]

Interpreter

The interpreter takes in a card, reads its punches, prints on the card
the marks indicated by the punches, and stacks the card. We call this
process _interpreting_ the card, since it translates the punched holes
into printed marks. The interpreter (Fig. 8) has one card channel, with
one entrance, 2 card stations, and one exit. What the machine does at
the second card station depends on what the machine reads at the first
card station and on what we have told the machine by switches and
plugboard wiring to do.

[Illustration: FIG. 8. Interpreter.]

Reproducer

The reproducer or reproducing punch can:

_Reproduce_, or copy the punches in one group of
cards into another group of cards (in the same or
different columns).

_Compare_, or make sure that the punches in two
groups of cards agree (and shine a red light if
they do not).

_Gang punch_, or copy the punches in a _master card_
into a group of _detail cards_.

_Summary punch_, or copy totals or summaries obtained
in the tabulator into blank cards in the reproducer.

[Illustration: FIG. 9. Reproducer.]

The reproducer (Fig. 9) has 2 independent card channels, the cards not
mingling in any way, called the _reading channel_ and the _punching
channel_. We can run the machine with only the punching channel
working; in fact, IBM equips some models only with the punching
channel, particularly for “summary punch” operation. The machine
is timed so that, when any card is at the middle station in either
channel, then the next preceding card is at the latest station, and
the next following card is at the earliest station. At 5 stations, the
machine reads a card. At the middle station of the punching channel,
the machine punches a card. Using a many-wire cable, we can connect
the tabulator to the reproducer and so cause the tabulator to give
information electrically to the reproducer. This connection makes
possible the “summary punch” operation. Here is an instance with
punch-card machines where, in order to transfer information from one
machine to another, we are not required to move cards physically from
one machine to another.

Collator

The collator is a machine that arranges or _collates_ cards. It is
particularly useful in selecting, matching, and merging cards. The
collator (Fig. 10) has 2 card channels which join and then fork into 4
channels ending in pockets called _Hoppers_ 1, 2, 3, and 4. The 2 card
feeds are called the _Primary Feed_ and the _Secondary Feed_. Cards
from the Primary Feed may fall only into the first and second hoppers.
Cards from the Secondary Feed may fall only into the second, third, and
fourth hoppers. The collator has 3 stations at which cards may be read.

[Illustration: No.1--Selected primaries

No.2--Merged cards and unselected primaries

No.3--Separate secondaries not selected

No.4--Selected secondaries

FIG. 10. Collator.]

IBM can supply additional wiring called the _collator counting device_.
With this we can make the collator count cards as well as compare them.
For example, we could put 12 blank cards from the Secondary Feed behind
each punched-card from the Primary Feed in order to prepare for some
other operation.

Calculating Punch

The calculating punch was introduced in 1946. It is a versatile machine
of considerable capacity. It adds, subtracts, multiplies, and divides.
It also has a control over a sequence of operations, in some cases up
to half a dozen steps.

This machine (Fig. 11) has one card channel with 4 stations called,
respectively, _control brushes_, _reading brushes_, _punch feed_, and
_punching dies_. At station 1, there are 20 brushes; we can set these
by hand to read any 20 of the 80 card columns. At station 2 there are
80 regular reading brushes. At station 3 the card waits for a part
of a second while the machine calculates, and, when that is done,
the card is fed into station 4, where it is punched or verified. The
multiplying punch is an earlier model of the calculating punch, without
the capacity for division.

[Illustration: FIG. 11. Calculating punch.]

Tabulator

The tabulator can select and list information from cards. Also, it can
total information from groups of cards in _counters_ of the tabulator
and can print the totals.

[Illustration: FIG. 12. Tabulator.]

The tabulator (Fig. 12) has one card channel with two stations where
cards may be read, called the _Upper Brushes_ and _Lower Brushes_.
When the Lower Brush station is reading one card, the Upper Brush
station is reading the next card. The tabulator also has another
channel, which is for endless paper (and sometimes separate sheets or
cards). This channel has one station; here printing takes place. Unlike
the typewriter, the tabulator prints a whole row at a time. It can
print up to 88 numerals or letters across the sheet in one stroke. The
cards flowing through the card channel and the paper flowing through
the paper channel do not have to move in step; in fact, we need many
different time relations between them, and the number of rows printed
on the paper may have almost any relation to the number of punch cards
flowing through the card channel.

At the station where paper is printed, we can put on the machine a
mechanism called the _automatic carriage_. This is like a typewriter
carriage, which holds the paper for a typewriter, but we can control
the movement of paper through the automatic carriage by plugboard
wiring, switch settings, and holes in punch cards. Thus we can arrange
for headings, spacing, and feeding of new sheets to be controlled by
the information and the instructions, with a great deal of versatility.

HANDLING INFORMATION

We have now described briefly the chief available punch-card machines
as of the middle of 1948. The next question is: How do we actually get
something done by means of punch cards? Let us go back to the census
example, even though it may not be a very typical example, and see what
would be done if we wished to compile a census by punch cards.

The first thing we do is plan which columns of the punch card will
contain what information about the people being counted. For example,
the following might be part of the plan:

NO. OF
INFORMATION POSSIBILITIES COLUMNS
State 60 1- 2
County 1,000 3- 5
Township 10,000 6- 9
City or village 10,000 10-13
Sex 2 14
Age last birthday 100 15-16
Occupation 100,000 17-21
... ... ...

Under the heading state, we know that there are 48 states, the District
of Columbia, and several territories and possessions—all told, perhaps
60 possibilities. So, 2 punch-card columns are enough: they will allow
100 different sets of punches from 00 to 99 to be put in them. We then
assign the _code_ 00 to Maine, 01 to New Hampshire, 02 to Vermont,
etc., or we might assign the code 00 to Alabama, 01 to Arizona, 02
to Arkansas, etc.—whichever would be more useful. Under the other
headings, we do the same thing: count the possibilities; assign codes.
In this case, it will be reasonable to use numeric codes 0 to 9 in each
column in all places because we shall have millions of cards to deal
with and numeric codes can be sorted faster than alphabetic codes.
Alphabetic codes require 2 punched holes in each column, and sorting
any column takes 2 operations.

The punch cards are printed with the chosen headings. We set up
the codes in charts and give them to clerks. Using key punches and
verifiers, they punch up the cards and check them. They work from the
original information collected by the census-taker in the field. Since
the original information will come in geographically, probably only one
geographic code at a time will be needed, and it will be simple to keep
track of. As to occupation, however, it may be useful to assign other
clerks full-time to examining the original information and specifying
the right code for the occupation. Then the clerks who do the punching
will have only copying to do.

The great bulk of the work with the census will be sorting, counting,
and totaling. The original punch cards will be summarized into larger
and larger groups. For example, the cards for all males age 23 last
birthday living in the state of Massachusetts are sorted together. This
group of cards may be put into a tabulator wired to a summary punch.
When the tabulator has counted the last card of this group, the summary
punch punches one card, showing the total number in this group. Some
time later a card like this will be ready for every state. Then the
whole group of state cards may be fed into the tabulator wired to the
reproducer acting as summary punch. When totaled, the number of males
age 23 last birthday in the United States will be punched into a single
card. After more compiling, a card like this will be ready for all
males in the United States at each age. Then this group of cards may
be fed into the tabulator wired to the summary punch. Each card may
be listed by the tabulator on the paper flowing through it, showing
the age and the number of males living at that age. At the end of the
listing, the tabulator will print the total number of all males in the
list, and the summary punch will punch a card containing this total.

ARITHMETICAL OPERATIONS

Punch-card machines can perform the arithmetical operations of
counting, adding, subtracting, multiplying, dividing, and rounding off.

Counting

Counting can be done by the sorter, the tabulator, and the collator.
The tabulator can print the total count. The tabulator and summary
punch wired together can put the total count automatically into another
punch card. The sorter shows the count in dials.

Adding and Subtracting

Adding and subtracting can be done by the tabulator, the calculating
punch, and the multiplying punch. In the calculating and multiplying
punches, the sum or difference is usually punched into the same card
from which the numbers were first obtained. The tabulator, however,
obtains the result first in a counter; from the counter, it can be
printed on paper or punched into a blank card with the aid of the
summary punch.

Numbers are handled as groups of decimal digits, and the machines
mirror the properties of digits in the decimal system. Negative numbers
are usually handled as _complements_ (see Supplement 2). For example,
if we have in the tabulator a counter with a capacity of six digits,
the number-000013 is stored in the counter as the complement 999987.
We cannot store in the counter the number +999987, since we cannot
distinguish it from-000013. In other words, if a counter is to be used
for both positive and negative numbers, its capacity is actually one
digit less, since in the last decimal place on the left 0 will mean
positive and 9 will mean negative.

Multiplying and Dividing

Multiplying is done in the calculating and multiplying punches. In
both cases, the multiplication table is built into the circuits of
the machine, and the system of _left-hand components_ and _right-hand
components_ is used (see Supplement 2).

Dividing is done in the calculating punch and is carried out in that
machine much as in ordinary arithmetic. By means of an estimating
circuit the calculating punch guesses what multiple of the divisor will
go into the dividend. Then it determines that multiple and tries it.

Rounding Off

Rounding off may be done in 3 punch-card machines, the calculating
and multiplying punches, and the tabulator. For example, suppose we
have the numbers 49.1476, 68.5327, and we wish to round them off to
2 decimal places. The results will be 49.15 and 68.53. For the first
number, we raise the .0076, turning .1476 into .15, since .0076 is more
than .005. For the second number, we drop the .0027 since it is less
than .005.

Each of these punch-card machines provides what is called a _5 impulse_
in each machine cycle. When the number is to be rounded off, the 5
impulse is plugged into the first decimal place that is to be dropped,
and it is there added. If the figure in the decimal place to be dropped
is 0 to 4, the added 5 makes no difference in the last decimal place
that is to be kept. But, if the figure in the decimal place to be
dropped is 5 to 9, then the added 5 makes a carry into the last decimal
place that is to be kept, increasing it by 1, and this is just what is
wanted for rounding off.

LOGICAL OPERATIONS

Punch-card machines do many operations of reasoning or logic that do
not involve addition, subtraction, multiplication, or division. Just
as we can write equations for arithmetical operations, so we can write
equations for these logical operations using mathematical logic (see
Chapter 9 and Supplement 2). If any reader, however, is not interested
in these logical equations, he should skip each paragraph that begins
with “in the language of logic,” or a similar phrase.

Translating

Reading and writing are operations perhaps not strictly of reasoning
but of _translating_ from one language to another. Basically these
operations take in a mark in one language and give out a mark with the
same meaning in another language. For example, the interpreter takes in
punched holes and gives out printed marks, but the holes and the marks
have the same meaning.

The major part of sorting is done by a punch-card sorting machine and
can be considered an operation of translating. In sorting a card, the
machine takes in a mark in the form of a punched hole on a punch card
and specifies a place bearing the same mark where the card is put. The
remaining part of sorting is done by human beings. This part consists
of picking up blocks of cards from the pockets of the sorter and
putting the blocks together in the right sequence.

Comparing

[Illustration: FIG. 13. Comparer.]

The first operation of reasoning done by punch-card machines is
_comparing_. For an example of comparing in the operation of the
tabulator, let us take instructing the machine when to pick up a total
and print it. As an illustration, suppose that we are making a table
by state, county, and township of the number of persons counted in a
census. Suppose that for each township we have one punch card telling
the total number of persons. If all the cards are in sequence, then,
whenever the county changes, we want a minor total, and, whenever the
state changes, we want a major total. What does the machine do?

The tabulator has a mechanism that we shall call a _comparer_ (Fig.
13). A comparer has 2 inputs that may be called _Previous_ and
_Current_ and one output that may be called _Unequal_. The comparer
has the property of giving out an impulse if and only if there is a
difference between the 2 inputs.

In the language of the algebra of logic (see Supplement 2 and Chapter
9), let the pieces of information coming into the comparer be _a_ and
_b_, and let the information coming out of the comparer be _p_. Then
the equation of the comparer is:

_p_ = _T_(_a_ ≠ _b_)

where “_T_ (···)” is “the truth value of ···” and “···” is a statement,
and where the truth value is 1 if true and 0 if false.

In wiring the tabulator so that it can tell when to total, we use the
comparer. We feed into it the county from the current card and the
county from the previous card. Out of the comparer we get an impulse if
and only if these two pieces of information are different. This is just
what happens when the county changes. The impulse from the comparer is
then used in further wiring of the tabulator: it makes the counter that
is busy totaling the number of persons in the county print its total
and then clear. In the same way, another comparer, which watches state
instead of county, takes care of major totals when the state changes.

Selecting

The next operation of reasoning which punch-card machines can do
is _selecting_. The tabulator, collator, interpreter, reproducer,
and calculating punch all may contain mechanisms that can select
information. These mechanisms are called _selectors_.

For example, suppose that we are using the tabulator to make a table
showing for each city the number of males and the number of females.
In the table we shall have three columns: first, city; second, males;
third, females. Suppose that each punch card in columns 30 to 36 shows
the total of males or females in a city. Suppose that, if and only if
the card is for females, it has an X punch (or 11 punch) in column 79.
What do we want to have happen? We want the number in columns 30 to 36
to go into the second column of the table if there is no X in column
79, and we want it to go into the third column of the table if there is
an X in column 79. This is just another way of saying that we want the
number to go into the males column if it is a number of males, and into
the females column if it is a number of females. We make this happen by
using a selector.

A selector (Fig. 14) is a mechanism with 2 inputs and 2 outputs. The
2 inputs are called _X Pickup_ and _Common_. The 2 outputs are called
_X_ and _No X_. The X Pickup, as its name implies, watches for X’s.
The Common takes in information. What comes out of X is what goes into
Common if and only if an X punch is picked up; otherwise nothing comes
out. What comes out of No X is what goes into Common if and only if an
X punch is not picked up; otherwise nothing comes out. From the point
of view of ordering punch-card equipment, we should note that there are
two types of selectors: _X selectors_ or _X distributors_, which have a
selecting capacity of one column—that is, one decimal digit—and _class
selectors_, which ordinarily have a selecting capacity of 10 columns or
10 decimal digits. But we shall disregard this difference here, as we
have disregarded most other questions of capacity in multiplication,
division, etc.

[Illustration: FIG. 14. Selector.]

In the language of logic (see Chapter 9 and Supplement 2), if _p_,
_a_, _b_, _c_ are the information in X Pickup, Common, X, and No X,
respectively, then the equations for a selector are:

_b_ = _a_·_p_

_c_ = _a_·(1 - _p_)

Returning now to the table we wish to make, we connect columns 30 to
36 of the punch card to Common. We connect column 79 of the punch card
to the X Pickup. We connect the output No X to the males column of the
table. We connect the output X to the females column of the table. In
this way we make the number in the punch card appear in either one of
two places in the table according to whether the number counts males or
females.

We might mention several more properties of selectors. A selector can
be used in the reverse way, with X Pickup, X, and No X as inputs and
Common as output (Fig. 15). What will come out of Common is (1) what
goes into input No X if there is no X punch in the column to which
input X Pickup is wired, and (2) what goes into input X if there is an
X punch in the column to which input X Pickup is wired.

In this case the logical equation for the selector is:

_a_ = _bp_ + _c_(1 - _p_)

Also, selectors can be used one after another, so that selecting based
on 2 or 3 X punches can be made.

[Illustration: FIG. 15. Selector.]

In the language of logic, if _p_, _q_, _r_ are the truth values of
“there is an X punch in column _i_, _j_, _k_,” respectively, then by
means of selectors we can get such a function as:

_c_ = _apq_ + _b_(1 - _q_)(1 - _r_)

Also, a selector may often be energized not only by an X punch but
also by a punch 0, 1, 2, ···, 9 and 12. In this case, the selector is
equipped with an additional input that can respond to any digit. This
input is called the Digit Pickup.

Digit Selector

Something like an ordinary selector is another mechanism called a
_digit selector_ (Fig. 16). This has one input, Common, and 12 outputs,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12. This mechanism is often included
in the tabulator and may be included in other punch-card machines. For
example, suppose that we want to do something if and only if column 62
of a punch card contains a 3 or a 4 or a 9. Then we connect a brush
that reads column 62 of the punch card to the Common input of the digit
selector. And we connect out from the digit selector jointly from
outputs 3, 4, and 9.

[Illustration: FIG. 16. Digit selector.]

In the language of logic, if _a_ is the digit going into Common, and if
_p_ is the impulse coming out of the digit selector, then the equation
of the mechanism in this case is:

_p_ = _T_(_a_ = 3, 4, 9)

Sequencer

A fourth operation of reasoning done by punch-card machines is finding
that one number is greater than, or equal to, or less than another.
This operation is done in the collator and may be called _sequencing_.
For example, suppose that we have a file of punch cards for cities,
showing in columns 41 to 48 the number of people. Suppose that we wish
to pick out the cards for cities over 125,000 in population. Now the
collator has a mechanism that has 2 inputs and 3 outputs (Fig. 17). We
may call this mechanism a _sequencer_, since it can tell the sequence
of two numbers. What goes into the _Primary_ input is a number: let us
call it _a_. What goes into _Secondary_ is another number: let us call
it _b_. An impulse comes out of _Low Primary_ if _a_ is less than _b_.
An impulse comes out of _Equal_ if _a_ equals _b_. An impulse comes out
of _Low Secondary_ if _a_ is greater than _b_.

[Illustration: FIG. 17. Sequencer.]

In the language of logic, if _p_, _q_, _r_ are the three indications in
Low Primary, Equal, and Low Secondary, then:

_p_ = _T_(_a_ < _b_)

_q_ = _T_(_a_ = _b_)

_r_ = _T_(_a_ > _b_)

Returning to our example, we punch up a card with 125,000 in columns 43
to 48, and we put this card into the Secondary Feed. We take the punch
cards for cities and put them into the Primary Feed. In the plugboard,
we connect the hubs of the Secondary Brushes (that read the card in
the Secondary Feed), columns 43 to 48, to the Secondary input of the
Sequencer. We connect the hubs of the Primary Brushes (that read the
card in the Primary Feed), columns 41 to 48, to the Primary input of
the Sequencer. Then we connect the Low Primary output of the Sequencer
to a device that causes the city card being examined to fall into
pocket 1. We connect Equal output and Low Secondary output to a device
that causes the city card being examined to fall into pocket 2. Then,
when the card for any city comes along, the machine compares the number
of people in the city with 125,000. If the number is greater than
125,000, the card will fall into pocket 1; otherwise the card will fall
into pocket 2. At the end of the run, we shall find in pocket 1 all the
cards we want.

NEW DEVELOPMENTS

We may expect to see over the next few years major developments in
punch-card machinery. It would seem likely that types of punch-card
machines like the following might be constructed:

A punch-card machine that performs any arithmetical or
logical operation at high speed and may perform a dozen
such operations in sequence during the time that a punch
card passes through the machine.

A punch-card machine that uses loops of punched paper
tape, which express either a sequence of values in a table
that the machine can consult or a sequence of instructions
that govern the operations of the machine.

Punch-card machinery that uses a larger card than the
80-column card.

A punch-card machine that may have a fairly large amount
of internal memory, perhaps 30 or 40 registers where
numbers or words may be stored and referred to.

SPEED

The speed of various operations with present IBM punch-card machines is
about as shown in the table.

MACHINE OPERATION TIME IN SECONDS
Key punch Punch 80 columns About 20 to 40
Verifier Check 80 columns About 20 to 40
Sorter Sort 1 card on 1 column 0.15
Interpreter Print 1 line 0.8
Reproducer Reproduce a card, all 80 columns 0.6
Collator Merge 2 cards 0.25
Multiplying punch Multiply by 8 digits 5.6
Calculating punch Add 0.3
Calculating punch Multiply by 8 digits 3.6
Calculating punch Divide, obtaining 8 quotient digits 9.0
Tabulator Print 1 line, numbers only 0.4
Tabulator Print 1 line, letters included 0.75
Tabulator Add numbers from 1 card 0.4

COST

Punch-card machines may be either rented or purchased from some
manufacturers but only rented from others. If we take the cost of a
clerk as $120 to $150 a month, the monthly rent of most punch-card
machines ranges from ⅒ of the cost of a clerk for the simplest type
of machine, such as a key punch

source: Project Gutenberg · page

Cite this

Edmund Callis Berkeley. "Giant brains; or, Machines that think". Project Gutenberg. Public domain in the USA. https://www.gutenberg.org/ebooks/68991

JSON record · API collection · citation policy