ArticleslgStudy

computer science

Punched card input/output

Punched card input/output is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Punched card input/output rather than just read about it. In short: A computer punched card reader or just computer card reader is a computer input device used to read computer programs in either source or executable form and data from punched cards. A computer card punch is a computer output device that punches holes in cards.

Punched card input/output — main illustration
Punched card input/output — illustration

Key takeaways

  • Punched card input/output belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Punched card input/output to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Punched card input/output from memory before moving on to harder problems.

Reference excerpt

A computer punched card reader or just computer card reader is a computer input device used to read computer programs in either source or executable form and data from punched cards. A computer card punch is a computer output device that punches holes in cards. Sometimes computer punch card readers were combined with computer card punches and, later, other devices to form multifunction machines.

History Many early computers, such as the ENIAC, and the IBM NORC, provided for punched card input/output. Card readers and punches, either connected to computers or in off-line card to/from magnetic tape configurations, were ubiquitous through the mid-1970s. Punched cards had been in use since the 1890s; their technology was mature and reliable. Card readers and punches developed for punched card machines were readily adaptable for computer use. Businesses were familiar with storing data on punched cards and keypunch machines were widely employed. Punched cards were a better fit for some computer applications than other 1950s technologies, such as magnetic tape, because individual cards could easily be updated without having to access a computer. Also file drawers of punched cards served as a low-density offline storage medium for data.

Operation The standard measure of speed is cards per minute, abbreviated CPM: The number of cards which can be read or punched in one minute. Card reader models vary from 150 to around 2,000 CPM. At 1200 CPM, i.e. 20 cards per second, this translates to 1,600 characters per second (CPS), assuming all 80 columns of each card encode information. Early computer card readers were based on electromechanical unit record equipment and used mechanical brushes that make an electrical contact for a hole, and no contact if there was no hole. Later readers used photoelectric sensors to detect the presence or absence of a hole. Timing within each read cycle relates the resulting signals to the corresponding position on the card. Early readers read cards in parallel, row by row, following unit record practice (hence the orientation of the rectangular holes). Later, card readers that read cards serially, column by column became more common. Card punches necessarily run more slowly to allow for the mechanical action of punching, up to around 300 CPM or 400 characters per second. Some card devices offer the ability to interpret, or print a line on the card displaying the data that is punched. Typically this slows down the punch operation. Many punches would read the card just punched and compare its actual contents to the original data punched, to protect against punch errors. Some devices allowed data to be read from a card and additional information to be punched into the same card. Readers and punches include a hopper for input cards and one or more stacker bins to collect cards read or punched. A function called stacker select allows the controlling computer to choose which stacker a card just read or punched will be placed into.

Card readers/punches

Control Data Corporation CDC 405 — CDC 6000 series card reader, 1200 or 1600 cards per minute (CPM) CDC 415 — CDC 6000 series card punch, 250 cards per minute

Documation Documation Inc., of Melbourne, Florida, made card readers for minicomputers in the 1970s:

M-200 card reader, 300 cards/minute also sold by DEC as the CR-11 card reader for the PDP-11 M-600 card reader, 600 cards/minute, also sold by HP as 2892A and 2893A M-1000-L card reader 1,000 cards/minute Their card readers have been used in elections, including the 2000 "chads" election in Florida.

IBM IBM 711 card reader computer peripheral used in the vacuum tube era, 150 or 250 CPM IBM 2501 card reader, 600 or 1000 CPM IBM 1402 high speed reader/punch introduced with the IBM 1401, 800 CPM IBM 1442 reader/punch introduced with the lower-cost IBM 1440, read 80-400 CPM, punch 91-355 CPM IBM 2540 reader/punch derived from the 1402 that was introduced with System 360 IBM 2560 Multi-Function Card Machine (MFCM), first introduced for the IBM System/360 Model 20, could also collate, sort and print/interpret. IBM 3505 reader and its companion 3525 reader/printer/punch that was introduced for the System/370 in 1971, read 1200 CPM, punch 300 CPM

Binary format

For some computer applications, binary formats were used, where each hole represented a single binary digit (or "bit"), every column (or row) is treated as a simple bitfield, and every combination of holes is permitted. For example, the IBM 711 card reader used with the 704/709/7090/7094 series scientific computers treated every row as two 36-bit words, ignoring 8 columns. (The specific 72 columns used were selectable using a plugboard control panel, which is almost always wired to select columns 1–72.) Sometimes the ignored columns (usually 73–80) were used to contain a sequence number for each card, so the card deck could be sorted to the correct order in case it was dropped. An alternative format, used by the IBM 704's IBM 714 native card reader, is referred to as Column Binary or Chinese Binary, and used 3 columns for each 36-bit word. Later computers, such as the IBM 1130 or System/360, used every column. The IBM 1401's card reader could be used in Column Binary mode, which stored two characters in every column, or one 36-bit word in three columns when used as input device for other computers. However, most of the older card punches were not intended to punch more than 3 holes in a column. The multipunch key is used to produce binary cards, or other characters not on the keypunch keyboard. As a prank, in binary mode, cards could be punched where every possible punch position had a hole. Such "lace cards" lacked structural strength, and would frequently buckle and jam inside the machine.

See also Plugboard discusses how early card readers worked in some detail Computer programming in the punched card era List of IBM products#Punched card and paper tape equipment

References

Punched card equipment

Illustrations

Punched card input/output: An IBM 80-column punched card of the type most widely used in the 20th century
An IBM 80-column punched card of the type most widely used in the 20th century
Punched card input/output: IBM 1442 card reader/punch for 80 column cards
IBM 1442 card reader/punch for 80 column cards
Punched card input/output: Binary punched card
Binary punched card
Punched card input/output: Invalid "lace cards" such as these pose mechanical problems for card readers.
Invalid "lace cards" such as these pose mechanical problems for card readers.
Punched card input/output illustration

Worked examples

Example 1 — a first encounter with Punched card input/output

Start with the simplest possible case. Write down what Punched card input/output claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Punched card input/output before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Punched card input/output ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Punched card input/output

In research
Punched card input/output appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Punched card input/output in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Punched card input/output is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer output devices, Computing-related lists, Computing input devices, so understanding it makes those chapters shorter.
In everyday life
Look for Punched card input/output outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Punched card input/output” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Punched card input/output in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Punched card input/output means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Punched card input/output out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Punched card input/output in simple terms?

A computer punched card reader or just computer card reader is a computer input device used to read computer programs in either source or executable form and data from punched cards. A computer card punch is a computer output device that punches holes in cards.

Why does Punched card input/output matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Punched card input/output?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Punched card input/output.

Tags

  • Computer output devices
  • Computing-related lists
  • Computing input devices
  • Punched card

Keep exploring