Difficulty: Introductory | Prerequisites: None. This is foundational material suitable for first-year CS students.
This topic traces how computing evolved from a theoretical idea in the 1840s into a recognised academic discipline by the early 1960s. It sits at the very start of most introductory CS courses because everything that follows (programming languages, operating systems, algorithms) was built on the machines and ideas covered here. You do not need any prior CS knowledge. If you understand that computers are machines that follow instructions, you have enough to start.
The history of computing runs from Ada Lovelace writing the first published algorithm in 1843, through a series of increasingly powerful mechanical and electromechanical machines, to the birth of electronic computers in the 1940s. By the early 1960s, "computer science" had become a formal academic discipline with its own university departments, degree programmes, and research labs.
Algorithm
A finite set of well-defined instructions for solving a class of problems or performing a computation. In simple terms, it is a step-by-step recipe a computer follows to get a result.
Analytical Engine
Charles Babbage's proposed general-purpose mechanical computer, designed in the 1830s. It was never completed but introduced concepts (stored programmes, branching, looping) that underpin modern computing. Think of it as the first blueprint for a programmable computer, even though it was never built.
Punched card (punched circuit board)
A stiff card with holes punched in specific positions to represent data. Used from Hollerith's tabulator (1885) through to mid-20th-century mainframes. In simple terms, each pattern of holes is a piece of data the machine can read mechanically.
Tabulating machine (tabulator)
Herman Hollerith's device (~1885) that read punched cards to count and sort census data. His company eventually became part of IBM. Think of it as the first automated data-processing machine.
Floating-point arithmetic
A method of representing real numbers that supports a wide range of values by using a movable ("floating") decimal point. In simple terms, it is how computers handle very large or very small numbers without losing too much precision.
Electromechanical computer
A computing device that uses both electrical signals and mechanical parts (relays, gears) to perform calculations. Preceded fully electronic computers. Think of it as halfway between a mechanical calculator and a modern electronic computer.
Harvard Mark I (ASCC/Harvard Mark I)
A large electromechanical computer completed in 1944, based on Babbage's Analytical Engine concepts. Built by Howard Aiken and IBM, it used punched tape and a central processing unit. In simple terms, it was one of the first machines that could run long, complex calculations automatically.
ENIAC (Electronic Numerical Integrator and Computer)
One of the earliest general-purpose electronic computers (1945). Fully electronic, using vacuum tubes instead of mechanical relays. Think of it as the moment computers stopped being mechanical and started being electronic.
Atanasoff-Berry Computer (ABC)
An early electronic digital computer built around 1939-1942. It was not programmable in the modern sense but demonstrated that electronic switching could replace mechanical parts. In simple terms, it proved that electronics, not gears, were the future of computing.
Computer science (computing science / datalogy)
The academic discipline concerned with the study of computation, algorithms, data structures, and information processing. The term appeared in print in a 1959 article in Communications of the ACM. In simple terms, it is the formal study of what computers can do and how they do it, though much of it does not require a physical computer at all.
Ada Lovelace and the first algorithm (1843)
While translating a French article on Babbage's Analytical Engine, Lovelace wrote detailed notes
One note contained an algorithm to compute Bernoulli numbers
This is widely considered the first published algorithm designed specifically for a machine
Lovelace is often described as the first computer programmer
Herman Hollerith and the punched-card tabulator (~1885)
Invented a machine that used punched cards to process statistical data
Originally designed for census tabulation
His company eventually became part of IBM
Percy Ludgate's Analytical Engine design (1909)
Working independently of Babbage (and unaware of his earlier work), Ludgate published the only other complete design for a mechanical analytical engine
This is notable because it shows the idea of a general-purpose computer was not unique to Babbage
Leonardo Torres Quevedo and electromechanical computing (1914, 1920)
Published Essays on Automatics in 1914, describing a theoretical electromechanical calculator controlled by a stored programme (read-only)
Introduced the concept of floating-point arithmetic in the same paper
In 1920, demonstrated the Electromechanical Arithmometer in Paris, proving the feasibility of an electromechanical analytical engine
The machine could accept typed input and print results automatically
Howard Aiken and the Harvard Mark I (1937-1944)
In 1937, one hundred years after Babbage's original vision, Aiken convinced IBM to build a large programmable calculator
The result was the ASCC/Harvard Mark I, based on Babbage's Analytical Engine concepts
It used punched tape and a central processing unit
When completed, it was celebrated as "Babbage's dream come true"
The shift to electronic computing (1940s)
New machines such as the Atanasoff-Berry Computer (ABC) and ENIAC were fully or partially electronic
The word "computer" shifted meaning: it had previously referred to a human who performed calculations, and now came to mean the machine itself
As it became clear that computers could do far more than arithmetic, the scope of "computer science" broadened to include computation in general
IBM Watson Scientific Computing Lab (1945)
Founded at Columbia University in New York City
IBM's first laboratory devoted to pure science
It was the forerunner of IBM's Research Division, which today operates research facilities worldwide
Columbia University and early CS education (1946)
The IBM-Columbia relationship helped launch a new academic field
Columbia offered one of the first academic-credit courses in computer science in 1946
The first CS degree programme (1953)
The Diploma in Computer Science at the University of Cambridge was the world's first computer science degree programme
The first CS department (1962)
Purdue University established the first computer science department in the United States
Other universities quickly followed, and by the early 1960s computer science was an established academic discipline
Computer science became a distinct field of study in the 1950s and early 1960s
Previously, computing had been treated as a branch of mathematics or electrical engineering
The work of advocates like George Forsythe and Louis Fein was instrumental in establishing CS as its own discipline
The term "computer science" was first proposed in 1956
It appeared in print in a 1959 article in Communications of the ACM by Louis Fein
Fein argued for creating a graduate school in computer science, modelled on the Harvard Business School (founded 1921)
He justified the name by arguing the field is applied and interdisciplinary, like management science, while still having the rigour of an academic discipline
Alternative names that have been proposed:
"Computing science", preferred by some universities to emphasise that the discipline is not solely about computers as machines
"Datalogy", suggested by Danish scientist Peter Naur, reflecting the idea that the field revolves around data and information processing rather than the machines themselves
A significant portion of computer science does not require the study of physical computers at all. Much of it is concerned with abstract computation, algorithms, and information theory.
Hollerith's punched-card tabulator was built to solve a practical problem: the 1890 US Census was taking so long to process by hand that results risked being outdated before they were published. His machine cut processing time from years to months, and the same principle (encoding data on physical media for automated reading) persisted in computing well into the 1970s.
Torres Quevedo's concept of a stored programme controlled by read-only instructions is the ancestor of every piece of firmware running inside modern devices, from your car's engine controller to your microwave oven.
"Charles Babbage built the first computer." He did not. Babbage designed the Analytical Engine but never completed it. The significance is in the design, not a working machine.
"Ada Lovelace invented programming." More precisely, she published the first algorithm intended for machine execution. The concept of instructing machines existed before her, but her Note G on Bernoulli numbers is the earliest published example tailored for a computing device.
"Computer science is about computers." A large portion of the discipline concerns abstract computation, algorithms, and data, with no requirement for a physical machine. Peter Naur's proposed name "datalogy" reflects this.
"The Harvard Mark I was the first computer." It was one of the first large-scale automatic calculators, but it was electromechanical, not electronic. The ABC and ENIAC were earlier electronic machines. "First computer" depends heavily on how you define the term.
⚠️ Know the chronological sequence: Lovelace (1843) → Hollerith (~1885) → Ludgate (1909) → Torres Quevedo (1914/1920) → Aiken/Harvard Mark I (1937-1944) → ABC and ENIAC (1940s) → Cambridge diploma (1953) → Purdue department (1962). Exams love timeline questions.
⚠️ Be clear on the distinction between mechanical, electromechanical, and electronic computers. Babbage's and Ludgate's designs were mechanical. The Harvard Mark I was electromechanical. The ABC and ENIAC were electronic.
⚠️ Understand why the word "computer" changed meaning in the 1940s (from a human job title to a machine).
⚠️ The term "computer science" first appeared in print in 1959 (Communications of the ACM, Louis Fein). First proposed in 1956. These dates come up on exams.
True or False: Ada Lovelace built the first computer.
False. She wrote the first published algorithm for a machine, but she did not build one.
Fill in the blank: Herman Hollerith's tabulating machine used __________ to process data.
Punched cards.
True or False: The Harvard Mark I was an electronic computer.
False. It was electromechanical (relays and mechanical parts, not vacuum tubes).
Fill in the blank: The first computer science department in the US was established at __________ in 1962.
Purdue University.
True or False: The term "computer science" first appeared in print in 1949.
False. It appeared in a 1959 article in Communications of the ACM.
Q: What is Ada Lovelace's primary contribution to computing, and why is it significant?
A: She wrote an algorithm to compute Bernoulli numbers as part of her notes on Babbage's Analytical Engine (1843). It is considered the first published algorithm specifically designed for execution on a machine.
Q: How did Herman Hollerith's invention connect to the founding of IBM?
A: Hollerith invented the punched-card tabulating machine (~1885) for processing statistical data. His company went through several mergers and eventually became part of IBM.
Q: What was innovative about Torres Quevedo's 1914 paper on automatics?
A: It described a theoretical electromechanical computer controlled by a read-only stored programme and introduced the concept of floating-point arithmetic.
Q: In what ways was the Harvard Mark I both a breakthrough and a throwback?
A: It was a breakthrough because it was one of the first large-scale programmable calculating machines. It was a throwback because it was electromechanical (using relays) at a time when electronic computing (vacuum tubes) was already emerging.
Q: Why have alternative names for "computer science" been proposed?
A: Because much of the discipline does not require the study of physical computers. "Computing science" and "datalogy" (proposed by Peter Naur) emphasise that the field is fundamentally about computation and data processing, not machines.
Q: What was the significance of the IBM Watson Scientific Computing Lab at Columbia University (1945)?
A: It was IBM's first laboratory devoted to pure science, and the IBM-Columbia partnership helped establish computer science as a new academic field. Columbia offered one of the first academic-credit courses in computer science in 1946.
This material connects directly to any later unit on computer architecture, since the progression from Babbage's mechanical design to electronic stored-programme computers is the origin story of how modern CPUs work.
The shift in the meaning of "computer" (from human to machine) ties into discussions of automation and artificial intelligence. If your course covers the Turing Test or early AI, the 1940s transition is where that thread begins.
The founding of CS as a discipline (1950s-1960s) provides context for why your course exists at all, and why CS departments are often separate from mathematics and engineering departments.
Ada Lovelace, first algorithm, Bernoulli numbers, Charles Babbage, Analytical Engine, Difference Engine, Herman Hollerith, punched cards, tabulating machine, IBM origins, Percy Ludgate, Leonardo Torres Quevedo, Essays on Automatics, floating-point arithmetic, electromechanical computer, arithmometer, Howard Aiken, Harvard Mark I, ASCC, Atanasoff-Berry Computer, ABC, ENIAC, vacuum tubes, electronic computer, human computer, IBM Watson Lab, Columbia University, computer science history, first CS degree, Cambridge Diploma in Computer Science, Purdue University, first CS department, George Forsythe, Louis Fein, Communications of the ACM, computing science, datalogy, Peter Naur, history of computing, CS 101, origins of computer science