A Think Again Media Group publication
Tech Stumper

Programming ENIAC

ENIAC programming: The calculation took shape in cables and switches

By Phil Springer, Editor · Published · Tech Stumper

ENIAC programming: The calculation took shape in cables and switches

ENIAC programming began with a physical arrangement of switches and cables. A new calculation required people to plan the configuration, connect units, and set their controls before the electronic work could run. The Computer History Museum describes that preparation as taking many days. Its photographs identify people checking the configuration beside the multiplier racks and working at the control panels. Fast arithmetic and slow preparation belonged to the same machine: the speed of a calculation began to matter after the required connections had been made.

The people learning this work included six women drawn from wartime calculating jobs. The museum's introduction to Jean Jennings Bartik's 2008 public appearance names Frances Snyder Holberton, Kathleen McNulty Mauchly Antonelli, Marlyn Wescoff Meltzer, Ruth Lichterman Teitelbaum, Frances Bilas Spence, and Bartik. They studied logical and electrical diagrams while the equipment was still being built, then developed flow charts and programming sheets. Their interface included hundreds of wires and thousands of switches. ENIAC programming required a numerical plan and a way to translate that plan into a particular arrangement of hardware.

Bartik's recorded 2008 interview with Gardner Hendrie describes how that responsibility grew. She remembered an initial expectation that people bringing mathematical problems would devise their own programs, leaving the women to plug up the machine and run it. The complexity of ENIAC changed that division of labor. The women became programmers themselves. Their work joined an understanding of the calculation to an understanding of the machine. Bartik's recollection also describes working in teams on different tasks, including the trajectory calculation intended for the acceptance test.

The 1946 ENIAC Operating Manual by Arthur Burks and Harry Huskey documents the controls in considerable detail. Its accumulator instructions distinguish program inputs from program outputs and distinguish controls that repeat from those that do not. An incoming program pulse starts the operation selected by switches. A repeat control can send an output pulse when its prescribed run finishes. The repeat switch determines how many addition times the operation lasts. ENIAC programming therefore involved both choosing an arithmetic action and arranging when another part of the machine would begin its work.

The manual also makes verification a concrete activity. Its function-table test builds up an argument in an accumulator, transmits results, and punches cards for comparison against a standard deck. It warns that changing switches requires the check to be repeated. For division and square-root tests, operators could advance through a problem one addition time at a time and compare the illuminated indicators with a drawing. These procedures distinguish checking a particular numerical path from checking every possible control. A successful calculation depended on knowing what had actually been exercised during the test.

One small switch figures prominently in Bartik's memories of the demonstration trajectory. She recalled that the simulated shell's calculation did not stop when it reached the ground. Betty Snyder recognized a switch setting on the master programmer, returned the next morning, and changed it. The calculation then stopped as intended. Bartik also described the accumulator displays, whose changing numbers let observers follow the trajectory. This is a participant's recollection recorded decades later, but its physical details fit the control system documented in the operating manual: a switch could change the course of the calculation.

A later Army report explicitly distinguishes that original method from a new arrangement. R. F. Clippinger's A Logical Coding System Applied to the ENIAC, dated September 29, 1948, describes work initiated after a suggestion by John von Neumann in 1947. Its introduction contrasts changing many cable connections with entering a problem through function-table switches. Clippinger estimated that a change might take an hour under the new system, compared with a day using the earlier method. Those were his estimates of practical preparation time, recorded while the machine was still in service.

The same report sets out the tradeoff. Function-table space could hold approximately 1,800 order positions, compared with about 450 program controls in the old arrangement, allowing longer problems. Clippinger expected the switches to be easier to check systematically and the new method to simplify tests of suspected units. He also reported a sixfold reduction in computing speed. His expectation was that improved preparation and testing could still increase the delivery of useful results. The later arrangement changed ENIAC programming by changing how instructions were organized and entered.

The original machine's units supplied the resources that all this planning coordinated. The museum identifies 20 accumulators, plus specialized multiplication, division, and square-root equipment. A photograph of Harry Huskey at the cycling unit accompanies its explanation that timing signals synchronized the functional units. Another identifies Frances Bilas and Betty Jean Jennings, later Bartik, at the main controls. The diagrams, test instructions, and named operators connect the mathematics to physical work: choosing settings, establishing connections, checking intermediate behavior, and bringing the assembled calculation into motion.

The Question

How did programmers originally configure ENIAC to run a program?

Show the answer

The Answer

They set switches and connected cables. After a program had been planned on paper, configuring the machine could take days, followed by verification and debugging.

Send this question to a friend

Read next

By clicking “Send me a stumper” you agree to Tech Stumper’s Terms of Use and Privacy Policy.