Chapter II: Part 2
Seventy years later another eminent Englishman named Darwin published a book called _On the Origin of Species_ that in the eyes of many readers did little to glorify man himself. Samuel Butler, better known for his novel, _The Way of All Flesh_, wrote too of the mechanical being, and was one of the first to point out just what sort of future Darwin was suggesting. In the satirical _Erewhon_, he described the machines of this mysterious land in some of the most prophetic writing that has been done on the subject. It was almost a hundred years ago that Butler wrote the first version, called “Darwin Among the Machines,” but the words ring like those of a 1962 worrier over the electronic brain. Butler’s character warns:
There is no security against the ultimate development of mechanical consciousness in the fact of machines possessing little consciousness now. Reflect upon the extraordinary advance which machines have made during the last few hundred years, and note how slowly the animal and vegetable kingdoms are advancing. The more highly organized machines are creatures not so much of yesterday, as of the last five minutes, so to speak, in comparison with past time.
Do not let me be misunderstood as living in fear of any actually existing machine; there is probably no known machine which is more than a prototype of future mechanical life. The present machines are to the future as the early Saurians to man ... what I fear is the extraordinary rapidity with which they are becoming something very different to what they are at present.
Butler envisioned the day when the present rude cries with which machines call out to one another will have been developed to a speech as intricate as our own. After all, “... take man’s vaunted power of calculation. Have we not engines which can do all manner of sums more quickly and correctly than we can? What prizeman in Hypothetics at any of our Colleges of Unreason can compare with some of these machines in their own line?”
Noting another difference in man and his creation, Butler says,
... Our sum-engines never drop a figure, nor our looms a stitch; the machine is brisk and active, when the man is weary, it is clear-headed and collected, when the man is stupid and dull, it needs no slumber.... May not man himself become a sort of parasite upon the machines? An affectionate machine-tickling aphid?
It can be answered that even though machines should hear never so well and speak never so wisely, they will still always do the one or the other for our advantage, not their own; that man will be the ruling spirit and the machine the servant.... This is all very well. But the servant glides by imperceptible approaches into the master, and we have come to such a pass that, even now, man must suffer terribly on ceasing to benefit the machines. If all machines were to be annihilated ... man should be left as it were naked upon a desert island, we should become extinct in six weeks.
Is it not plain that the machines are gaining ground upon us, when we reflect on the increasing number of those who are bound down to them as slaves, and of those who devote their whole souls to the advancement of the mechanical kingdom?
Butler considers the argument that machines at least cannot copulate, since they have no reproductive system. “If this be taken to mean that they cannot marry, and that we are never likely to see a fertile union between two vapor-engines with the young ones playing about the door of the shed, however greatly we might desire to do so, I will readily grant it. [But] surely if a machine is able to reproduce another machine systematically, we may say that it has a reproductive system.”
Butler repeats his main theme. “... his [man’s] organization never advanced with anything like the rapidity with which that of the machine is advancing. This is the most alarming feature of the case, and I must be pardoned for insisting on it so frequently.”
Then there is a startlingly clear vision of the machines “regarded as a part of man’s own physical nature, being really nothing but extra-corporeal limbs. Man ... as a machinate mammal.” This was feared as leading to eventual weakness of man until we finally found “man himself being nothing but soul and mechanism, an intelligent but passionless principle of mechanical action.” And so the Erewhonians in self-defense destroyed all inventions discovered in the preceding 271 years!
_Early Mechanical Devices_
During the nineteenth century, weaving was one of the most competitive industries in Europe, and new inventions were often closely guarded secrets. Just such an idea was that of Frenchman Joseph M. Jacquard, an idea that automated the loom and would later become the basis for the first modern computers. A big problem in weaving was how to control a multiplicity of flying needles to create the desired pattern in the material. There were ways of doing this, of course, but all of them were unwieldy and costly. Then Jacquard hit on a clever scheme. If he took a card and punched holes in it where he wanted the needles to be actuated, it was simple to make the needles do his bidding. To change the pattern took only another card, and cards were cheap. Patented in 1801, there were soon thousands of Jacquard looms in operation, doing beautiful and accurate designs at a reasonable price.
To show off the scope of his wonderful punched cards, Jacquard had one of his looms weave a portrait of him in silk. The job took 20,000 cards, but it was a beautiful and effective testimonial. And fatefully a copy of the silk portrait would later find its way into the hands of a man who would do much more with the oddly punched cards.
At about this same time, a Hungarian named Wolfgang von Kempelen decided that machines could play games as well as work in factories. So von Kempelen built himself a chess-playing machine called the Maelzel Chess Automaton with which he toured Europe. The inventor and his machine played a great game, but they didn’t play fair. Hidden in the innards of the Maelzel Automaton was a second human player, but this disillusioning truth was not known for some time. Thus von Kempelen doubtless spurred other inventors to the task, and in a short while machines would actually begin to play the royal game. For instance, a Spaniard named L. Torres y Quevedo built a chess-playing machine in 1914. This device played a fair “end game” using several pieces, and its inventor predicted future work in this direction using more advanced machines.
Charles Babbage was an English scientist with a burning desire for accuracy. When some mathematical tables prepared for the Astronomical Society proved to be full of errors, he angrily determined to build a machine that would do the job with no mistakes. Of course calculating machines had been built before; but the machine Babbage had in mind was different. In fact, he called it a “difference engine” because it was based on the difference tables of the squares of numbers. The first of the “giant computers,” it was to have hundreds of gears and shafts, ratchets and counters. Any arithmetic problem could be set into it, and when the proper cranks were turned, out would come an answer—the right answer because the machine could not make a mistake. After doing some preliminary work on his difference engine, Babbage interested the government in his project since even though he was fairly well-to-do he realized it would cost more money than he could afford to sink into the project. Babbage was a respected scientist, Lucasian Professor of Mathematics at Cambridge, and because of his reputation and the promise of the machine, the Chancellor of the Exchequer promised to underwrite the project.
For four years Babbage and his mechanics toiled. Instead of completing his original idea, the scientist had succeeded only in designing a far more complicated machine, one which would when finished weigh about two tons. Because the parts he needed were advanced beyond the state of the art of metalworking, Babbage was forced to design and build them himself. In the process he decided that industry was being run all wrong, and took time out to write a book. It was an excellent book, a sort of forerunner to the modern science of operations research, and Babbage’s machine shop was doing wonders for the metalworking art.
Undaunted by the lack of progress toward a concrete result, Babbage was thinking bigger and bigger. He was going to scrap the difference engine, or rather put it in a museum, and build a far better computer—an “analytical engine.” If Jacquard’s punched cards could control the needles on a loom, they could also operate the gears and other parts of a calculating machine. This new engine would be one that could not only add, subtract, multiply, and divide; it would be designed to control itself. And as the answers started to come out, they would be fed back to do more complex problems with no further work on the operator’s part. “Having the machine eat its own tail!” Babbage called this sophisticated bit of programming. This mechanical cannibalism was the root of the “feedback” principle widely used in machines today. Echoing Watt’s steam governor, it prophesied the coming control of machines by the machines themselves. Besides this innovation, the machine would have a “store,” or memory, of one thousand fifty-digit numbers that it could draw on, and it would actually exercise judgment in selection of the proper numbers. And as if that weren’t enough, it would print out the correct answers automatically on specially engraved copper plates!
_Space Technology Laboratories_
“As soon as an Analytical Engine exists, it will necessarily guide the
future course of science. Whenever any result is sought by its aid,
the question will then arise—by what course of calculation can these
results be arrived at by the machine in the shortest time?” Charles
Babbage—_The Life of a Philosopher_, 1861.
]
It was a wonderful dream; a dream that might have become an actuality in Babbage’s own time if machine technology had been as advanced as his ideas. But for Babbage it remained only a dream, a dream that never did work successfully. The government spent £17,000, a huge sum for that day and time, and bowed out. Babbage fumed and then put his own money into the machine. His mechanics left him and became leaders in the machine-tool field, having trained in Babbage’s workshops. In despair, he gave up on the analytical engine and designed another difference engine. An early model of this one would work to five accurate places, but Babbage had his eyes on a much better goal—twenty-place accuracy. A lesser man would have aimed more realistically and perhaps delivered workable computers to the mathematicians and businessmen of the day. There is a legend that his son did finish one of the simpler machines and that it was used in actuarial accounting for many years. But Babbage himself died in 1871 unaware of how much he had done for the computer technology that would begin to flower a few short decades later.
Singlehandedly he had given the computer art the idea of programming and of sequential control, a memory in addition to the arithmetic unit he called a “mill,” and even an automatic readout such as is now standard on modern computers. Truly, the modern computer was “Babbage’s dream come true.”
_Symbolic Logic_
Concurrently with the great strides being made with mechanical computers that could handle mathematics, much work was also being done with the formalizing of the logic. As hinted vaguely in the syllogisms of the early philosophers, thinking did seem amenable to being diagrammed, much like grammar. Augustus De Morgan devised numerical logic systems, and George Boole set up the logic system that has come to be known as Boolean algebra in which reasoning becomes positive or negative terms that can be manipulated algebraically to give valid answers.
John Venn put the idea of logic into pictures, and simple pictures at that. His symbology looks for all the world like the three interlocking rings of a well-known ale. These rings stand for the subject, midterm, and predicate of the older Aristotelian syllogism. By shading the various circles according to the major and minor premises, the user of Venn circles can see the logical result by inspection. Implicit in the scheme is the possibility of a mechanical or electrical analogy to this visual method, and it was not long until mathematicians began at least on the mechanical kind. Among these early logic mechanizers, surprisingly, was Lewis Carroll who of course was mathematician Charles L. Dodgson before he became a writer.
Carroll, who was a far busier man than most of us ever guess, marketed a “Game of Logic,” with a board and colored cardboard counters that handled problems like the following:
All teetotalers like sugar.
No nightingale drinks wine.
By arranging the counters on Carroll’s game board so that: All M are X, and No Y is not-M, we learn that No Y is not-X! This tells the initiate logician that no nightingale dislikes sugar; a handy piece of information for bird-fancier and sugar-broker alike.
Lewis Carroll’s “Symbolic Logic.”
]
Charles, the third Earl Stanhope, was only slightly less controversial than his prime minister, William Pitt. Scientifically he was far out too, writing books on electrical theory, inventing steamboats, microscopes, and printing presses among an odd variety of projects; he also became interested in mechanical logic and designed the “Stanhope Demonstrator,” a contrivance like a checkerboard with sliding panels. By properly manipulating the demonstrator he could solve such problems as:
Eight of ten children are bright.
Four of these children are boys.
What are the minimum and maximum number of bright boys? A simple sliding of scales on the Stanhope Demonstrator shows that two must be boys and as many as four may be. This clever device could also work out probability problems such as how many heads and tails will come up in so many tosses of a coin.
In 1869 William S. Jevons, an English economist and expert logician, built a logic machine. His was not the first, of course, but it had a unique distinction in that it solved problems faster than the human brain could! Using Boolean algebra principles, he built a “logical abacus” and then even a “logical piano.” By simply pressing the keys of this machine, the user could make the answer appear on its face. It is of interest that Jevons thought his machine of no practical use, since complex logical questions seldom arose in everyday life! Life, it seems, was simpler in 1869 than it is today, and we should be grateful that Jevons pursued his work through sheer scientific interest.
More sophisticated than the Jevons piano, the logic machine invented in America by Allan Marquand could handle four terms and do problems like the following:
There are four schoolgirls, Anna, Bertha, Cora, and Dora.
When Anna or Bertha, or both, remain home, Cora is at home.
When Bertha is out, Anna is out.
Whenever Cora is at home, Anna is too.
What can we tell about Dora?
The machine is smart enough to tell us that when Dora is at home the other three girls are all at home or out. The same thing is true when Dora is out.
_The Census Taker_
Moving from the sophistication of such logic devices, we find a tremendous advance in mechanical computers spurred by such a mundane chore as the census. The 1880 United States census required seven years for compiling; and that with only 50 million heads to reckon. It was plain to see that shortly a ten-year census would be impossible of completion unless something were done to cut the birth rate or speed the counting. Dr. Herman Hollerith was the man who did something about it, and as a result the 1890 census, with 62 million people counted, took only one-third the time of the previous tally.
Hollerith, a statistician living in Buffalo, New York, may or may not have heard the old saw about statistics being able to support anything—including the statisticians, but there was a challenge in the rapid growth of population that appealed to the inventor in him and he set to work. He came up with a card punched with coded holes, a card much like that used by Jacquard on his looms, and by Babbage on the dream computer that became a nightmare. But Hollerith did not meet the fate of his predecessors. Not stoned, or doomed to die a failure, Hollerith built his card machines and contracted with the government to do the census work. “It was a good paying business,” he said. It was indeed, and his early census cards would some day be known generically as “IBM cards.”
While Jacquard and Babbage of necessity used mechanical devices with their punched cards, Hollerith added the magic of electricity to his card machine, building in essence the first electrical computing machine. The punched cards were floated across a pool of mercury, and telescoping pins in the reading head dropped through the holes. As they contacted the mercury, an electrical circuit was made and another American counted. Hollerith did not stop with census work. Sagely he felt there must be commercial applications for his machines and sold two of the leading railroads on a punched-card accounting system. His firm merged with others to become the Computing-Tabulating-Recording Company, and finally International Business Machines. The term “Hollerith Coding” is still familiar today.
_International Business Machines Corp._
Hollerith tabulating machine of 1890, forerunner of modern computers.
]
Edison was illuminating the world and the same electrical power was brightening the future of computing machines. As early as 1915 the Ford Instrument Company was producing in quantity a device known as “Range Keeper Mark I,” thought to be the first electrical-analog computer. In 1920, General Electric built a “short-circuit calculating board” that was an analog or model of the real circuits being tested. Westinghouse came up with an “alternating-current network analyzer” in 1933, and this analog computer was found to be a powerful tool for mathematics.
_International Business Machines Corp._
A vertical punched-card sorter used in 1908.
]
While scientists were putting the machines to work, writers continued to prophesy doom when the mechanical man took over. Mary W. Shelley’s _Frankenstein_ created a monster from a human body; a monster that in time would take his master’s name and father a long horrid line of other fictional monsters. Ambrose G. Bierce wrote of a diabolical chess-playing machine that was human enough to throttle the man who beat him at a game. But it remained for the Czech playwright Karel Čapek to give the world the name that has stuck to the mechanical man. In Čapek’s 1921 play, _R.U.R._, for Rossum’s Universal Robots, we are introduced to humanlike workers grown in vats of synthetic protoplasm. _Robota_ is a Czech word meaning compulsory service, and apparently these mechanical slaves did not take to servitude, turning on their masters and killing them. Robot is generally accepted now to mean a mobile thinking machine capable of action. Before the advent of the high-speed electronic computer it had little likelihood of stepping out of the pages of a novel or movie script.
As early as 1885, Allan Marquand had proposed an electrical logic machine as an improvement over his simple mechanically operated model, but it was 1936 before such a device was actually built. In that year Benjamin Burack, a member of Chicago’s Roosevelt College psychology department, built and demonstrated his “Electrical Logic Machine.” Able to test all syllogisms, the Burack machine was unique in another respect. It was the first of the portable electrical computers.
The compatibility of symbolic logic and electrical network theory was becoming evident at about this time. The idea that yes-no corresponded to on-off was beautifully simple, and in 1938 there appeared in one of the learned journals what may fairly be called a historic paper. Appearing in _Transactions of the American Institute of Electrical Engineers_, “A Symbolic Analysis of Relay and Switching Circuits,” was written by Claude Shannon and was based on his thesis for the M.S. degree at the Massachusetts Institute of Technology a year earlier. One of its important implications was that the programming of a computer was more a logical than an arithmetical operation. Shannon had laid the groundwork for logical computer design; his work made it possible to teach the machine not only to add but also to think. Another monumental piece of work by Shannon was that on information theory, which revolutionized the science of communications. The author is now on the staff of the electronics research laboratory at M.I.T.
Two enterprising Harvard undergraduates put Shannon’s ideas to work on their problems in the symbolic logic class they were taking. Called a Kalin-Burkhart machine for its builders, this electrical logic machine did indeed work, solving the students’ homework assignments and saving them much tedious paperwork. Interestingly, when certain logical questions were posed for the machine, its circuits went into oscillation, making “a hell of a racket” in its frustration. The builders called this an example of “Russell’s paradox.” A typical logical paradox is that of the barber who shaved all men who didn’t shave themselves—who shaves the barber? Or of the condemned man permitted to make a last statement. If the statement is true, he will be beheaded; if false, he will hang. The man says, “I shall be hanged,” and thus confounds his executioners as well as logic, since if he is hanged, the statement is indeed true, and he should have been beheaded. If he is beheaded, the statement is false, and he should have been hanged instead.
World War II, with its pressingly complex technological problems, spurred computer work mightily. Men like Vannevar Bush, then at Harvard, produced analog computers called “differential analyzers” which were useful in solving mathematics involved in design of aircraft and in ballistics problems.
A computer built by General Electric for the gunsights on the World War II B-29 bomber is typical of applications of analog devices for computing and predicting, and is also an example of early airborne use of computing devices. Most computers, however, were sizable affairs. One early General Electric analog machine, described as a hundred feet long, indicates the trend toward the “giant brain” concept.
Even with the sophistication attained, these computers were hardly more than extensions of mechanical forerunners. In other words, gears and cams properly proportioned and actuated gave the proper answers whether they were turned by a manual crank or an electrical motor. The digital computer, which had somehow been lost in the shuffle of interest in computers, was now appearing on the scientific horizon, however, and in this machine would flower all the gains in computers from the abacus to electrical logic machines.
_The Modern Computer_
Many men worked on the digital concept. Aiken, who built the electromechanical Mark I at Harvard, and Williams in England are representative. But two scientists at the University of Pennsylvania get the credit for the world’s first electronic digital computer, ENIAC, a 30-ton, 150-kilowatt machine using vacuum tubes and semiconductor diodes and handling discrete numbers instead of continuous values as in the analog machine. The modern computer dates from ENIAC, Electronic Numerical Integrator And Computer.
_Remington Rand UNIVAC_
ENIAC in operation. This was the first electronic digital computer.
]
Shannon’s work and the thinking of others in the field indicated the power of the digital, yes-no, approach. A single switch can only be on or off, but many such switches properly interconnected can do amazing things. At first these switches were electromechanical; in the Eckert-Mauchly ENIAC, completed for the government in 1946, vacuum tubes in the Eccles-Jordan “flip-flop” circuit married electronics and the computer. The progeny have been many, and their generations faster than those of man. ENIAC has been followed by BINAC and MANIAC, and even JOHNNIAC. UNIVAC and RECOMP and STRETCH and LARC and a whole host of other machines have been produced. At the start of 1962 there were some 6,000 electronic digital computers in service; by year’s end there will be 8,000. The golden age of the computer may be here, but as we have seen, it did not come overnight. The revolution has been slow, gathering early momentum with the golden wheels of Homer’s mechanical information-seeking vehicles that brought the word from the gods. Where it goes from here depends on us, and maybe on the computer itself.
------------------------------------------------------------------------
“_Theory is the guide to practice, and practice is the ratification
and life of theory._”
—John Weiss
3: How Computers Work
In the past decade or so, an amazing and confusing number of computing machines have developed. To those of us unfamiliar with the beast, many of them do not look at all like what we imagined computers to be; others are even more awesome than the wildest science-fiction writer could dream up. On the more complex, lights flash, tape reels spin dizzily, and printers clatter at mile-a-minute speeds. We are aware, or perhaps just take on faith, that the electronic marvel is doing its sums at so many thousand or million per second, cranking out mathematical proofs and processing data at a rate to make mere man seem like the dullest slowpoke. Just how computers do this is pretty much of a mystery unless we are of the breed that works with them. Actually, in spite of all the blurring speed and seeming magic, the basic steps of computer operation are quite simple and generally the same for all types of machines from the modestly priced electromechanical do-it-yourself model to STRETCH, MUSE, and other ten-million-dollar computers.
It might be well before we go farther to learn a few words in the lexicon of the computer, words that are becoming more and more a part of our everyday language. The following glossary is of course neither complete nor technical but it will be helpful in following through the mechanics of computer operation.
COMPUTER DICTIONARY
ACCESS TIME—Time required for computer to locate data and transfer it from one computer element to another.
ADDER—Device for forming sums in the computer.
ADDRESS—Specific location of information in computer memory.
ANALOG COMPUTER—A physical or electrical simulator which produces an analogy of the mathematical problem to be solved.
ARITHMETIC UNIT—Unit that performs arithmetical and logical operations.
BINARY CODE—Representation of numbers or other information using only one and zero, to take advantage of open and closed circuits.
BIT—A binary digit, either one or zero; used to make binary numbers.
BLOCK—Group of words handled as a unit, particularly with reference to input and output.
BUFFER—Storage device to compensate for difference in input and operation rate.
CONTROL UNIT—Portion of the computer that controls arithmetic and logical operations and transfer of information.
DELAY LINE—Memory device to store and later reinsert information; uses physical, mechanical, or electrical techniques.
DIGITAL COMPUTER—A computer that uses discrete numbers to represent information.
FLIP-FLOP—A circuit or device which remains in either of two states until the application of a signal.
GATE—A circuit with more than one input, and an output dependent on these inputs. An AND gate’s output is energized only when all inputs are energized. An OR gate’s output is energized when one or more inputs are energized. There are also NOT-AND gates, EXCLUSIVE-OR gates, etc.
LOGICAL OPERATION—A nonarithmetical operation, i.e., decision-making, data-sorting, searching, etc.
MAGNETIC DRUM—Rotating cylinder storage device for memory unit; stores data in coded form.
MATRIX—Circuitry for transformation of digital codes from one type to another; uses wires, diodes, relays, etc.
MEMORY UNIT—That part of the computer that stores information in machine language, using electrical or magnetic techniques.
MICROSECOND—One millionth of a second.
MILLISECOND—One thousandth of a second.
NANOSECOND—One billionth of a second.
PARALLEL OPERATION—Digital computer operation in which all digits are handled simultaneously.
PROGRAMMING—Steps to be executed by computer to solve problem.
RANDOM ACCESS—A memory system that permits more nearly equal access time to all memory locations than does a nonrandom system. Magnetic core memory is a random type, compared with a tape reel memory.
REAL TIME—Computer operation simultaneous with input of information; e.g., control of a guided missile or of an assembly line.
REGISTER—Storage device for small amount of information while, or until, it is needed.
SERIAL OPERATION—Digital computer operation in which all digits are handled serially.
STORAGE—Use of drums, tapes, cards, and so on to store data outside the computer proper.
_The Computer’s Parts_
Looking at computers from a distance, we are vaguely aware that they are given problems in the form of coded instructions and that through some electronic metamorphosis this problem turns into an answer that is produced at the readout end of the machine. There is an engineering technique called the “black box” concept, in which we are concerned only with input to this box and its output. We could extend this concept to “black-magic box” and apply it to the computer, but breaking the system down into its components is quite simple and much more informative.
There are five components that make up a computer: input, control, arithmetic (or logic) unit, memory, and output. As machine intelligence expert, Dr. W. Ross Ashby, points out, we can get no more out of a brain—mechanical or human—than we put into it. So we must have an input. The kind of input depends largely on the degree of sophistication of the machine we are considering.
With the abacus we set in the problem mechanically, with our fingers. Using a desk calculator we punch buttons: a more refined mechanical input. Punched cards or perforated tapes are much used input methods. As computers evolve rapidly, some of them can “read” for themselves and the input is visual. There are also computers that understand verbal commands.
Input should not be confused with the control portion of the computer’s anatomy. We feed in data, but we must also tell the computer what to do with the information. Shall it count the number of cards that fly through it, or shall it add the numbers shown on the cards, record the maximum and minimum, and print out an average? Control involves programming, a computer term that was among the first to be assimilated into ordinary language.
The arithmetic unit—that part of the computer that the pioneer Babbage called his “mill”—is the nuts and bolts end of the business. Here are the gears and shafts, the electromechanical relays, or the vacuum tubes, transistors, and magnetic cores that do the addition, multiplication, and other mathematical operations. Sometimes this is called the “logic” unit, since often it manipulates the ANDS, ORS, NORS, and other conjunctives in the logical algebra of Boole and his followers.
The memory unit is just that; a place where numbers, words, or other data are stored and ready to be called into use whenever needed. There are two broad types of memory, internal and external, and they parallel the kind of memory we use ourselves. While our brain can store many, many facts, it does have a practical limit. This is why we have phone books, logarithm tables, strings around fingers, and so on. The computer likewise has its external memory that may store thousands of times the capacity of its internal memory. Babbage’s machine could remember a thousand fifty-digit numbers; today’s large computers call on millions of bits of data.
Conversion of problem to machine program.
]
After we have dumped in the data and told the computer what to do with them, and the arithmetic and memory have collaborated, it remains only for the computer to display the result. This is the output of the computer, and it can take many forms. If we are using a simple analog computer such as a slide rule, the answer is found under the hairline on the slide. An electronic computer in a bank prints out the results of the day’s transactions in neat type at hundreds of lines a minute. The SAGE defense computer system displays an invading bomber and plots the correct course for interceptors on a scope; a computer in a playful mood might type out its next move—King to Q7 and checkmate.
With this sketchy over-all description to get us started, let us study each unit in a little more detail. It is interesting to compare these operations with those of our human computer, our brain, as we go along.
_Remington Rand UNIVAC_
A large computer, showing the different parts required.
]
_Input_
An early and still very popular method of getting data into the computer is the punched card. Jacquard’s clever way of weaving a pattern got into the computer business through Hollerith’s census counting machines. Today the ubiquitous IBM card can do these tasks of nose counting and weaving, and just about everything else in between. Jacquard used the punched holes to permit certain pins to slide through. Hollerith substituted the mercury electrical contact for the loom’s flying needles. Today there are many other ways of “reading” the cards. Metal base plate and springs, star wheels, even photoelectric cells are used to detect the presence or absence of the coded holes. A human who knows the code can visually extract the information; a blind man could do it by the touch system. So with the computer, there are many ways of transferring data.
_Remington Rand_ UNIVAC
The Computer’s Basic Parts.
]
An obvious requirement of the punched card is that someone has to punch the holes in the first place. This is done with manually operated punches, power punches, and even automatic machines that handle more than a hundred cards a minute. Punched cards, which fall into the category called computer “software,” are cheap, flexible, and compatible with many types of equipment.
Particularly with mathematical computations and scientific research, another type of input has become popular, that of paper tape. This in effect strings many cards together and puts them on an easily handled roll. Thus a long series of data can be punched without changing cards, and is conveniently stored for repeated use. Remember the old player-piano rolls of music? These actually formed the input for one kind of computer, a musical machine that converted coded holes to musical sounds by means of pneumatic techniques. Later in this chapter we will discuss some modern pneumatic computers.
More efficient than paper is magnetic tape, the same kind we use in our home recording instruments. Anyone familiar with a tape recorder knows how easy it is to edit or change something on a tape reel. This is a big advantage over punched cards or paper tapes which are physically altered by the data stored on them and cannot be corrected. Besides this, magnetic tape can hold many more “bits” of information than paper and also lends itself to very rapid movement through the reading head of the computer. For example, standard computer tape holds seven tracks, each with hundreds of bits of information per inch. Since there are thousands of feet on a ten-inch reel, it is theoretically possible to pack 40 _million_ bits on this handful of tape!
Since the computer usually can operate at a much higher rate of speed than we can put information onto tape, it is often the practice to have a “buffer” in the input section. This receiving station collects and stores information until it is full, then feeds it to the computer which gobbles it up with lightning speed. Keeping a fast computer continuously busy may require many different inputs.
Never satisfied, computer designers pondered the problem of all the lost time entailed in laboriously preparing cards or tapes for the ravenous electronic machine. The results of this brain-searching are interesting, and they are evident in computers that actually read man-talk. Computers used in the post office and elsewhere can optically read addresses as well as stamps; banks have computers that electrically read the coded magnetic ink numbers on our checks and process thousands of times as many as human workers once did. This optical reading input is not without its problems, of course. Many computers require a special type face to be used, and the post office found that its stamp recognizer was mistaking Christmas seals for foreign stamps. Improved read heads now can read hand-printed material and will one day master our widely differing human scrawls. This is of course a boon to the “programmer” of lengthy equations who now has to translate the whole problem into machine talk before the machine can accept it.
If a machine can read, why can’t it understand verbal input as well? Lazy computer engineers have pushed this idea, and the simplest input system of all is well on the way to success. Computers today can recognize numbers and a few words, and the Japanese have a typewriter that prints out the words spoken to it! These linguistic advances that electronic computers are making are great for everyone, except perhaps the glamorized programmer, a new breed of mathematical logician whose services have been demanded in the last few years.
Magnetic Tape - Paper Tape - IBM Card - Magnetic Ink Characters
]
_Control_
Before we feed the problem into the machine, or before we give it some “raw” data to process, we had better tell our computer what we want it to do. All the fantastic speed of our electrons will result in a meaningless merry-go-round, or perhaps a glorious machine-stalling short circuit unless the proper switches open and close at the right time. This is the job of the control unit of the computer, a unit that understands commands like “start,” “add,” “subtract,” “find the square root,” “file in Bin B,” “stop,” and so on. The key to all the computer’s parts working together in electronic harmony is its “clock.” This timekeeper in effect snaps its fingers in perfect cadence, and the switches jump at its bidding. Since the finger-snapping takes place at rates of millions of snaps a second, the programmer must be sure he has instructed the computer properly.
The ideal programmer is a rare type with a peculiarly keen brain that sometimes takes seemingly illogical steps to be logical. Programmers are likely to be men—or women, for there is no sex barrier in this new profession—who revel in symbolic logic and heuristic or “hunch” reasoning. Without a program, the computer is an impressively elaborate and frighteningly expensive contraption which cannot tell one number from another. The day may come when the mathematician can say to the machine, “Prove Fermat’s last theorem for me, please,” or the engineer simply wish aloud for a ceramic material that melts at 15,000° C. and weighs slightly less than Styrofoam. Even then the human programmer will not start drawing unemployment insurance, of course. If he is not receiving his Social Security pension by then he will simply shift to more creative work such as thinking up more problems for the machine to solve.
Just as there are many jobs for the computer, so there are many kinds of programs. On a very simple, special-purpose computer, the program may be “wired-in,” or fixed, so that the computer can do that particular job and no other. On a more flexible machine, the program may still be quite simple, perhaps no more than a card entered in a desk unit by an airline ticket agent to let the computer arrange a reservation for three tourist seats on American Airlines jet flight from Phoenix to Chicago at 8:20 A.M. four days from now. On a general-purpose machine, capable of many problems, the program may be unique, a one-of-a-kind highly complex set of instructions that will make the computer tax its huge memory and do all sorts of mental “nip-ups” before it reaches a solution.
A computer that understands about sixty commands has been compared to a Siamese elephant used for teak logging; the animal has about that many words in its vocabulary. Vocabulary is an indication of computer as well as human sophistication. The trend is constantly toward less-than-elephant size, and more-than-elephant vocabulary.
The programmer’s work can be divided into four basic phases: _analysis_ of the problem; _application_ or matching problem requirements with the capabilities of the right computer; _flow charting_ the various operations using symbolic diagrams; and finally, _coding_ or translating the flow chart into language the computer knows.
The flow chart to some extent parallels the way our own brains solve logic problems, or at least the way they _ought_ to solve them. For example, a computer might be instructed to select the smallest of three keys. It would compare A and B, discard the larger, and then compare with C, finally selecting the proper one. This is of course such a ridiculously simple problem that few of us would bother to use the computer since it would take much longer to plot the flow chart than to select the key by simple visual inspection. But the logical principle is the same, even when the computer is to be told to analyze all the business transactions conducted by a large corporation during the year and advise a program for the next year which will show the most profit. From the symbolic flow chart, the programmer makes an operational flow chart, a detailed block diagram, and finally the program itself. Suitably coded in computer language, this program is ready for the computer’s control unit.
With a problem of complex nature, such as one involving the firing of a space vehicle, programmers soon learned they were spending hours, or even days, on a problem which the computer proceeded to zip through in minutes or seconds. It was something like working all year building an elaborate Fourth of July fireworks display, touching the match, and seeing the whole thing go up in spectacular smoke for a brief moment. Of course the end justifies the means in either case, and as soon as the computer has quit whirring, or the skyrockets faded out, the programmer gets back to work. But some short cuts were learned.
Even a program for a unique problem is likely to contain many “subroutines” just like those in other problems. These are used and re-used; some computers now have libraries of programs they can draw on much as we call on things learned last week or last year.
With his work completed, the programmer’s only worry is that an error might exist in it, an error that could raise havoc if not discovered. One false bit of logic in a business problem; a slight mathematical boner in a design for a manned missile, could be catastrophic since our technology is so complicated that the mistake might be learned only when disaster struck. So the programmer checks and rechecks his work until he is positive _he_ has not erred.
How about the computer? It checks itself too; so thoroughly that there is no danger of it making a mistake. Computer designers have been very clever in this respect. One advanced technique is “majority rule” checking. Not long ago when the abacus was used even in banking, the Japanese were aware that a single accountant might make a false move and botch up the day’s tally. But if two operators worked the same problem and got the same answer, the laws of probability rule that the answer can be accepted. If the sums do not agree, though, which man is right? To check further, and save the time needed to go through the whole problem again, _three_ abacuses, or abaci, are put through their paces. Now if two answers agree, chances are they are the right solution. If all three are different, the bank had better hire new clerks!
_Remington Rand UNIVAC_
A word picture “flow chart” of the logical operation of selecting the
proper key.
]
_Arithmetic or Logic_
Now that our computer has the two necessary ingredients of input and control, the arithmetic or logic unit can get busy. Babbage called this the “mill,” and with all the whirring gears and clanking arms his engine boasted, the term must have been accurate. Today’s computer is much quieter since in electronic switches the only moving parts are the electrons themselves and these don’t make much of a racket. Such switches have another big advantage in that they open and close at a great rate, practically the speed of light. The fastest computers use switches that act in _nanoseconds_, or billionths of a second. In one nanosecond light itself travels only a foot.
The computer may be likened to someone counting on two of his fingers. Instead of the decimal or ten-base system, most computers use binary arithmetic, which has a base of two. But fingers that can be counted in billionth parts of a second can handle figures pretty fast, and the computer has learned some clever tricks that further speed things up. It can only add, but by adroit juggling it subtracts by using the complement of the desired number, a technique known to those familiar with an ordinary adding machine. There are also some tricks to multiplying that allow the computer again to simply add and come up with the answer.
With pencil and paper we can multiply 117 times 835 easily. Remember, though, that the computer can only add, and that it was once called a speedy imbecile. The most imbecilic computer might solve the problem by adding 117 to itself 835 times. A smarter model will reverse the procedure and handle only 117 numbers. The moron type of computer is a bit more clever and sets up the problem this way:
835
835
835
835
835
835
835
8350
83500
——
97695
A moment’s reflection will show that this is the same as adding 7 times 835, 10 times 835, and 100 times 835. And of course the computer arrives at the answer in about the time it takes us to start drawing the line under our multiplier.
_The Bendix Corp., Computer Division_
Assembly of printed-circuit component “packages” into computer.
]
Perhaps smarting under the unkind remarks about its mental ability, the computer has lately been trying some new approaches to the handling of complex arithmetical problems. Instead of adding long strings of numbers, it will take a guess at the result, do some smart checking, adjust its figures, and shortly arrive at the right solution. For nonarithmetical problems, the computer substitutes yes and no for 1 and 0 and blithely solves problems in logic at the same high rate of speed.
_Memory_
When we demonstrated our superiority earlier in multiplying instead of adding the numbers in the problem, we were drawing on our memory: recalling multiplication tables committed to memory when we were quite young. Babbage’s “store” in his difference engine, you will recall, could memorize a thousand fifty-digit numbers, a feat that would tax most of us. The grandchildren of the Babbage machine can call on as many as a billion bits of information stored on tape. As you watch the reels of tape spinning, halting abruptly, and spinning again so purposefully, remember that the computer is remembering. In addition to its large memory, incidentally, a computer may also have a smaller “scratch-pad” memory to save time.
Early machines used electromechanical relays or perhaps vacuum-tube “flip-flops” for memory. Punched-card files store data too. To speed up the access to information, designers tried the delay-line circuit, a device that kept information circulating in a mercury or other type of delay. Magnetic drums and discs are also used. Magnetic tape on reels is used more than any other memory system for many practical reasons. There is one serious handicap with the tape system, however. Information on it, as on the drum, disc, file card, or delay line, is serial, that is, it is arranged in sequence. To reach a certain needed bit of data might require running through an entire reel of tape. Even though the tape moves at very high speed, time is lost while the computer’s arithmetic unit waits. For this reason the designers of the most advanced computers have gone to “random access” instead of sequential memory for part of the machine.
Tiny cores of ferrite material which has the desired magnetic properties are threaded on wires. These become memory elements, as many as a hundred of them in an area the size of a postage stamp. Each core is at the intersection of two wires, one horizontal and one vertical. Each core thus has a unique “address” and because of the arrangement of the core matrix, any address can be reached in about the same amount of time as any other. Thus, instead of spinning the tape several hundred feet to reach address number 6,564, the computer simply closes the circuit of vertical row 65 and horizontal row 64, and there is the desired bit of information in the form of a magnetic field in the selected core.
Hot on the heels of the development of random-access core memories came that of thin metallic film devices and so-called cryogenic or supercold magnetic components that do the same job as the ferrite cores but take only a fraction of the space. Some of these advanced devices also lend themselves to volume production and thus pave the way for memories with more and more information-storage capability.
_International Business Machines Corp._
Magnetic core plane, the computer’s memory.
]
In the realm of “blue-sky” devices, sometimes known as “journalistors,” are molecular block memories. These chunks of material will contain millions of bits of information in cubic inches of volume, and some way of three-dimensional scanning of the entire block will be developed. With such a high-volume memory, the computer of tomorrow will fit on a desk top instead of requiring rows and rows of tape-filled machines.
Today, tape offers the cheapest “per bit” storage, and it is necessary to use the external or peripheral type of information storage. This is not much of a problem except for the matter of space. Since most computers are electronic, all that is required to tie the memory units to the arithmetic unit is wire connections. Douglas Aircraft ties computers in its California and North Carolina plants with 2,400 miles of telephone hookup. Sometimes even wires are not necessary. In the Los Angeles area, North American Aviation has a number of plants separated by as many as forty miles. Each plant is quite capable of using the computers in the other locations, with a stream of digits beamed by microwave radio from one to the other. Information can be transferred in this manner at rates up to 65,000 bits per second.
_Output_
Once the computer has taken the input of information, been instructed what to do, and used its arithmetic and memory, it has done the bulk of the work on the problem. But it must now reverse the procedure that took place when information flowed into it and was translated into electrical impulses and magnetic currents. It could convey the answer to another machine that spoke its language, but man would find such information unintelligible. So the computer has an output section that translates back into earth language.
Babbage’s computer was to have printed out its answers on metal plates, and many computers today furnish punched cards or tape as an output. Others print the answers on sheets of paper, so rapidly that a page of this book would take little more than a second to produce! One of the greatest challenges of recent years is that of producing printing devices fast enough to exploit fully the terrific speeds of electronic computing machines. There would be little advantage in a computer that could add all the digits in all the phone books in the world in less than a minute if it took three weeks to print out the answer.
Impact printers, those that actually strike keys against paper, have been improved to the point where they print more than a thousand lines of type, each with 120 characters in it, per minute. But even this is not rapid enough in some instances, and completely new kinds of printers have been developed. One is the Charactron tube, a device combining a cathode-ray tube, something like the TV picture tube, with an interposed 64-character matrix about half an inch in diameter. Electrical impulses deflect the electron beam in the tube so that it passes through the proper matrix character and forms that image on the face of the tube. This image then is printed electrostatically on the treated paper rather than with a metal type face. With no moving parts except the paper, and of course the electrons themselves, the Charactron printer operates close to the speed of the computer itself, and produces 100,000 words a minute. This entire book could be printed out in about forty-five seconds in this manner.
_Minneapolis-Honeywell,
Electronic Data Processing Division_
A high-speed printer is the output of this computer. It prints 900
_lines_ a minute.
]
There are many other kinds of outputs. Some are in the form of payroll checks, rushing from the printer at the rate of 10,000 an hour. Some are simply illuminated numbers and letters on the face of the computer. As mentioned earlier, the SAGE air defense computer displays the tracks of aircraft and missiles on large screens, each accurately tagged for speed, altitude, and classification. The computer may even speak its answer to us audibly.
Comments
Log in to leave a comment.
Computers—the machines we think withChapter II: Part 2
0%37 min left in chapter