Attic › Computer science › Punched card
The first punched cards controlled weaving looms and guided Charles Babbage's mechanical computer designs
About Jacquard machine
Punched cards existed for almost a century before Herman Hollerith used them to process data for the 1890 U.S. census. French inventors, starting with Basile Bouchon in 1725, developed them to control complex textile patterns, and Charles Babbage later adapted the idea to design the first programmable computer.
In 1804, Joseph Marie Jacquard built the Jacquard machine, a device that attached to the top of a weaving loom. To weave a pattern into cloth, a loom must lift specific vertical threads before the horizontal thread passes through. Before Jacquard's invention, earlier punched-paper loom designs still required an assistant to operate the mechanism.
Jacquard automated this work with a chain of punched cards linked into a chain of any length. Each card controlled one pass of the horizontal thread:
1. A row of metal rods pressed against the card. Each rod connected to a hook that could lift one vertical thread.
2. Where the card had a hole, the rod passed through, the hook engaged, and the loom lifted that thread.
3. Where the card had no hole, the stiff paper blocked the rod, and the thread stayed down.
To change the woven pattern, the weaver simply replaced the chain of cards with a different chain. The loom itself did not change. This separated the machine's hardware from its instructions.
In the 1830s, the British mathematician Charles Babbage used Jacquard's system to design the Analytical Engine, a mechanical general-purpose computer. Babbage planned to use three separate sets of punched cards to control the machine:
* Operation cards told the machine which mathematical step to do, such as addition or multiplication.
* Variable cards told the machine which memory columns to read the numbers from and where to store the answer.
* Number cards gave the machine the initial numbers for the calculation, or punched out the final results.
Babbage also designed the machine to move the chain of cards forward or backward depending on the result of a calculation. This allowed the machine to repeat steps or choose between two paths, which are the basic functions of a modern computer program. Although Babbage never completed the physical machine, his design proved that punched cards could store both instructions and numbers for computing.
Fact-checked against Punched card on Wikipedia
Part of the Computer science syllabus: Stored-Program Computers and Architecture
See it on the timeline of Stored-Program Computers and Architecture