Computers ยท Lesson 1

History & Parts of a Computer

Travel from wooden beads to room-sized machines to the laptop on your desk. Meet the inventors, learn the five generations, and discover how every computer follows one simple cycle: Input โ†’ Process โ†’ Output.

~40 min read8 quick checksTest: 20 questions

1What is a computer?

The word computer comes from compute, which means to calculate. The very first "computers" were calculating machines. Today a computer does much more: it plays music, draws pictures, sends messages and even talks to you.

A computer is an electronic machine that accepts data, processes it according to instructions, gives results and can store them for later use.

Every computer is made of two things that work together:

๐Ÿ–ฅ๏ธ Hardware

The parts of a computer you can see and touch: monitor, keyboard, mouse, CPU, printer, speakers.

๐Ÿ’ฟ Software

A set of programs (instructions) that tell the hardware what to do. You cannot touch it. Examples: Windows 10, MS Word, MS Paint, Scratch.

Remember: Hardware is hard โ€” you can knock on it. Software is soft โ€” you can only use it on the screen. Hardware without software is like a body without a mind!

Computers are digital machines: they work by counting with just two digits, 0 and 1. (You will learn about bits and bytes in Lesson 2.)

2Calculating devices before computers

Long before electricity, people invented clever tools of beads, rods and gears to help them calculate. Learn these five in order โ€” olympiads love asking who made what and what it could do.

The Abacus โ€” the first calculating device

The abacus is more than 4,000 years old and was used in ancient Mesopotamia, China, Japan and other lands. It is a wooden frame with rods, and beads slide on the rods. A bar called the beam divides it into two parts. It helps us add and subtract.

HundredsTensOnes 0 + 3 = 35 + 2 = 70 + 2 = 2
Reading an abacus: orange beads = 5, blue beads = 1. Only the beads touching the beam count. This abacus shows 372.

Napier's Bones (1617) โ€” for multiplication

John Napier of Scotland carved multiplication tables on a set of rods (made of bone or ivory, so they were called "bones"). Placing rods side by side made multiplying (and dividing) large numbers quick.

Pascaline (1642) โ€” the first mechanical adding machine

Blaise Pascal of France, aged just 19, built a box of toothed wheels (gears) to help his father, a tax officer, add long columns of numbers. When one wheel turned past 9, it pushed the next wheel on by one โ€” just like a car's distance meter. The Pascaline could only add and subtract.

Stepped Reckoner (designed 1671) โ€” all four operations

Gottfried Wilhelm Leibniz of Germany improved Pascal's idea with a special stepped drum (the Leibniz wheel). His machine could add, subtract, multiply and divide. Leibniz also wrote about the binary system (0s and 1s) that computers use today.

Jacquard Loom (1801) โ€” the idea of punched cards

Joseph Marie Jacquard of France made a weaving loom controlled by a chain of punched cards. The holes decided the pattern woven into the cloth. Change the cards, and the pattern changed! This idea of giving instructions on punched cards was later used by Babbage and Hollerith to feed input to their machines.

A Chinese wooden abacus (suanpan) with two beads above the beam and five below on each rod
A Chinese abacus (suanpan).Photo: Felix Winkelnkemper, CC BY-SA 4.0 via Wikimedia Commons
A set of Napier's bones: wooden rods with numbers in a case
Napier's bones in a museum.Photo: Kim Traynor, CC BY-SA 3.0 via Wikimedia Commons
Pascal's calculating machine, a brass box with dials
A Pascaline โ€” dials on top, gears inside.Photo: David Monniaux, CC BY-SA 3.0 via Wikimedia Commons
Leibniz's Stepped Reckoner calculating machine
Leibniz's Stepped Reckoner.Photo: Kolossos, CC BY-SA 3.0 via Wikimedia Commons
A Jacquard loom with a long chain of punched cards
A Jacquard loom. Look at the long chain of punched cards โ€” each card controls one row of the pattern.Photo: Stephencdickson, CC BY-SA 4.0 via Wikimedia Commons
Device & yearInventor (country)What it could do
Abacus (thousands of years ago)Ancient Mesopotamia / ChinaAdd and subtract with beads โ€” the first calculating device
Napier's Bones (1617)John Napier (Scotland)Multiply (and divide) using rods with tables
Pascaline (1642)Blaise Pascal (France)Only add and subtract, using gears
Stepped Reckoner (1671)G. W. Leibniz (Germany)All four: +, โˆ’, ร—, รท using a stepped drum
Jacquard Loom (1801)Joseph Marie Jacquard (France)Wove patterns controlled by punched cards
โš ๏ธ Olympiad trap

"Pascaline could do all four operations" is false. The Pascaline only added and subtracted. The first machine for all four operations was Leibniz's Stepped Reckoner.

Remember the order: "All Nice People Love Jellies" โ†’ Abacus, Napier, Pascal, Leibniz, Jacquard.

Which machine was built with gears to help a tax officer, but could only add and subtract?

  1. Napier's Bones
  2. Pascaline
  3. Stepped Reckoner
  4. Jacquard Loom
Blaise Pascal built the Pascaline (1642) for his father, a tax officer. It only added and subtracted. Leibniz's Stepped Reckoner did all four operations.

3Babbage, Ada Lovelace and Hollerith

Charles Babbage โ€” the Father of Computers

Charles Babbage (England) was a mathematician who was tired of mistakes in printed number tables. He designed two famous machines:

Inputpunched cards The Millcalculates = ALU/CPU The Storekeeps numbers = memory Outputprinted results
The Analytical Engine's plan โ€” input, a processor (Mill), a memory (Store) and output โ€” is the blueprint of every computer today.
๐Ÿ“Œ Remember

Babbage is called the Father of Computers because his Analytical Engine had input, a Mill (like today's processor/ALU), a Store (like today's memory) and output.

Lady Ada Lovelace โ€” the first computer programmer

Ada Lovelace (England), daughter of the poet Lord Byron, worked with Babbage. In 1843 she wrote notes on the Analytical Engine, including a set of step-by-step instructions (an algorithm) for it to calculate special numbers. That is why she is called the world's first computer programmer. She also imagined that such machines could one day work with music and pictures, not only numbers.

Photograph of Charles Babbage around 1860
Charles Babbage.Photo: unknown author, public domain via Wikimedia Commons
Painted portrait of Ada Lovelace
Ada Lovelace.Painting: Alfred Edward Chalon, public domain via Wikimedia Commons
Babbage's Difference Engine No. 2, a large machine of metal gears and columns
Babbage's Difference Engine No. 2, built from his drawings by the Science Museum, London (finished in 1991). It works!Photo: gocarts, CC BY 2.0 via Wikimedia Commons

Herman Hollerith โ€” the Tabulating Machine

Counting the people of the USA in the 1880 census took about eight years by hand. For the 1890 census, Herman Hollerith (USA) built a Tabulating Machine that read facts from punched cards using electricity. The counting finished in a small part of the time. His Tabulating Machine Company later joined with others and in 1924 was renamed IBM (International Business Machines).

Hollerith's census tabulating machine with dials and a card reader
A Hollerith census tabulator at the Computer History Museum. The dials counted the answers read from punched cards.Photo: Tomwsulcer, CC0 via Wikimedia Commons
โš ๏ธ Olympiad trap

Punched cards appear three times! Jacquard (weaving patterns) โ†’ Babbage (input for the Analytical Engine) โ†’ Hollerith (counting the census). If a question says "census", the answer is Hollerith; if it says "cloth", it is Jacquard.

In Babbage's Analytical Engine, the Store did the job of which part of a modern computer?

  1. Keyboard
  2. Printer
  3. Processor (ALU)
  4. Memory
The Store held numbers, just like memory. The Mill did the calculating, like the ALU in the CPU.

4Early electronic computers & famous pioneers

In the 1940s, clicking gears were replaced by vacuum tubes โ€” glass bulbs that switch electricity on and off very fast. Computers became electronic, much faster, and enormous.

ENIAC (1946)

ENIAC (Electronic Numerical Integrator and Computer) was built by John Mauchly and J. Presper Eckert in the USA. It was one of the first general-purpose electronic computers.

The ENIAC computer filling a large room with tall panels of wires and switches, with two people working at it
ENIAC filled a room about the size of a school hall.Photo: U.S. Army, public domain via Wikimedia Commons
Early computerYearGood to know
Harvard Mark I1944Built by Howard Aiken with IBM. Electro-mechanical (switches and gears), about 15 m long.
Colossus1943โ€“44Built in Britain by Tommy Flowers to break secret wartime codes. Mark 1 had about 1,500 vacuum tubes.
ENIAC1946Mauchly & Eckert, USA. About 18,000 vacuum tubes, 30 tonnes.
EDVAC / EDSAC1949Early computers that stored their program in memory (the idea described by John von Neumann).
UNIVAC I1951By Mauchly & Eckert. The first computer made for sale to businesses in the USA.

Hall of fame

Alan Turing

British mathematician. Described an imaginary "Turing machine" that explains what computers can do, helped break wartime codes and proposed the Turing Test for machine intelligence. Called the father of computer science and AI.

John von Neumann

Described the stored-program plan: the program and the data are both kept in memory. Most computers still follow it.

Grace Hopper

US Navy officer who made the first compiler and helped create the COBOL language. In 1947 her team found a real moth stuck inside the Harvard Mark II โ€” a famous "computer bug"!

Douglas Engelbart

Invented the computer mouse in 1964. The first one was a wooden box with two metal wheels.

Jack Kilby & Robert Noyce

Invented the integrated circuit (IC), or microchip, in 1958โ€“59. Noyce later co-founded Intel.

Ted Hoff & Federico Faggin

Designed the Intel 4004 (1971), the first microprocessor sold โ€” a whole CPU on one tiny chip.

Tim Berners-Lee

British scientist who invented the World Wide Web in 1989.

Dr Vijay Bhatkar

Indian scientist who led the C-DAC team that built PARAM 8000 (1991), India's first supercomputer.

โš ๏ธ Olympiad trap

Ada Lovelace = first computer programmer (1843). Grace Hopper = first compiler, about 100 years later. Don't mix them up just because both are women pioneers!

About how many vacuum tubes did ENIAC use?

  1. 1,500
  2. 5,000
  3. 18,000
  4. 1,80,000
ENIAC (1946) used about 18,000 vacuum tubes. 1,500 is Colossus Mark 1; 5,000 is how many additions ENIAC did per second.

5The five generations of computers

Computers are grouped into generations by the main electronic part used inside them. Each new part made computers smaller, faster, cheaper, cooler and more reliable.

12345 Vacuum tubesabout 1940โ€“1956 ยท room-sized, very hot Transistorsabout 1956โ€“1963 ยท smaller, cooler Integrated circuits (ICs)about 1964โ€“1971 ยท keyboards & monitors Microprocessors1971โ€“today ยท PCs, laptops, phones Artificial Intelligencetoday & future ยท thinks, talks, learns
From vacuum tubes to AI. Dates are approximate โ€” different books give slightly different years.
GenerationMain partWhat they were likeExamples
1stVacuum tubesHuge (room-sized), very hot, used lots of electricity, broke down often. Input by punched cards; machine language (0s and 1s).ENIAC, UNIVAC I
2ndTransistors (invented 1947)Smaller, faster, cheaper and cooler than tubes. Languages like FORTRAN and COBOL.IBM 1401
3rdIntegrated circuits (ICs) โ€” many transistors on one chipMuch smaller and faster. Keyboards and monitors replaced punched cards; operating systems arrived.IBM System/360
4thMicroprocessors โ€” the whole CPU on one chipPersonal computers, laptops, smartphones, the GUI (icons and windows) and the Internet.IBM PC, Apple Macintosh, today's laptops
5thArtificial Intelligence (AI)Machines that understand speech, recognise faces and learn โ€” voice assistants, robots, self-driving cars.AI assistants, smart robots
A row of glass vacuum tubes of different sizes
Vacuum tubes (1st generation).Photo: Stefan Riepl (Quark48), CC BY-SA 2.0 DE via Wikimedia Commons
The Intel 4004 microprocessor chip, white with gold pins
Intel 4004 (1971), the first microprocessor sold (4th generation).Photo: Thomas Nguyen, CC BY-SA 4.0 via Wikimedia Commons
Remember: "Very Tiny Insects Make Ants" โ†’ Vacuum tubes, Transistors, ICs, Microprocessors, AI.
โš ๏ธ Olympiad trap

Transistors belong to the 2nd generation, not the 3rd. An IC packs many transistors on one chip (3rd); a microprocessor packs the whole CPU on one chip (4th).

Keyboards and monitors replaced punched cards in which generation, when integrated circuits came in?

  1. Third
  2. First
  3. Second
  4. Fifth
The 3rd generation used ICs, and people started giving input with keyboards and seeing output on monitors.

6Types of computers by size & power

Super Mainframe Minicomputer Microcomputer (PC) faster,bigger,costlier morecommon least powerful at the bottom โ†’ most powerful at the top
The four types of computers by size and power.
TypeWhat it is likeUsed for
Microcomputer (personal computer)Smallest and cheapest, has one microprocessor, used by one person at a time.Home, school, office. Desktops, laptops, tablets, smartphones.
MinicomputerMedium-sized; many users at once.A small company, a college department, a factory.
MainframeVery large and powerful; hundreds or thousands of users together.Banks, railway and airline ticket booking, big companies.
SupercomputerFastest and most expensive; thousands of processors working together.Weather forecasting, space research, science research.

India's PARAM supercomputers

In 1991, C-DAC (Centre for Development of Advanced Computing), Pune, built PARAM 8000 โ€” India's first supercomputer. The team was led by Dr Vijay Bhatkar, often called the father of Indian supercomputing. Param is a Sanskrit word meaning "supreme". Newer PARAM machines (like PARAM Siddhi-AI) are much faster and help in weather, medicine and AI research.

Portrait photo of Dr Vijay Bhatkar
Dr Vijay Bhatkar led the team that built PARAM 8000.Photo: Nachiketas, CC BY-SA 4.0 via Wikimedia Commons
โš ๏ธ Olympiad trap

PARAM 8000 was led by Dr Vijay Bhatkar, not Dr A.P.J. Abdul Kalam (missile and space scientist) or Dr C.V. Raman (physicist).

A railway booking system lets thousands of people book tickets at the same time. Which type of computer suits this best?

  1. Microcomputer
  2. Minicomputer
  3. Mainframe
  4. Calculator
Mainframes serve thousands of users at once โ€” banks and railway/airline booking. (A supercomputer is built for super-fast calculating, like weather forecasting.)

7Parts of a computer & the IPO cycle

Every computer, from a phone to PARAM, works in the same cycle: Input โ†’ Process โ†’ Output, and the result can be Stored.

INPUT keyboard, mouse,microphone PROCESS CPU โ€” the brainworks on the data OUTPUT monitor, printer,speakers STORAGE hard disk, pen drivekeeps it for later
The IPO cycle with storage.
โœ๏ธ Worked example
  1. Input: Riya types 28 + 20 on the keyboard.
  2. Process: the CPU adds the two numbers.
  3. Output: 48 appears on the monitor (or is printed).
  4. Storage: she saves the file, so the answer is kept on the hard disk.

Main parts of a desktop computer

CPU (Central Processing Unit)
The brain of the computer. It processes data and controls all the other parts. (The box that holds it is often called the CPU cabinet.)
Monitor
The screen that shows output โ€” also called the VDU (Visual Display Unit).
Keyboard & mouse
Input devices: we type with the keyboard and point and click with the mouse.
Printer & speakers
Output devices: the printer gives output on paper; speakers give sound.
Memory & storage
Hold data and programs โ€” RAM while working, the hard disk to keep things.
Soft copy / Hard copy
Output you see on the screen is a soft copy. A paper printout is a hard copy.

Sameer speaks into a microphone and his voice is recorded by the computer. Which step of the IPO cycle is "speaking into the microphone"?

  1. Process
  2. Input
  3. Output
  4. Storage
Anything we give to the computer is input. The microphone is an input device.

8Data vs information, and GIGO

Data is raw facts and figures โ€” letters, numbers or symbols that don't tell us much on their own. When the computer processes data, it becomes information: useful and meaningful.

DATA Rahul 45Anu 38Sita 50 Process INFORMATION Sita got thehighest marks: 50Class average: 44.3
Raw data in โ†’ meaningful information out.

GIGO โ€” Garbage In, Garbage Out

A computer cannot think for itself โ€” it has no IQ. It does exactly what it is told with the data it is given. If the input is wrong (garbage in), the output will be wrong too (garbage out).

โœ๏ธ Example

Kabir's Science marks were 95, but he typed 59. The computer correctly added the numbers โ€” and still showed the wrong total. The computer made no mistake; the input was wrong. That is GIGO.

โš ๏ธ Olympiad trap

Don't confuse GIGO (Garbage In, Garbage Out โ€” wrong input gives wrong output) with IPO (Input, Process, Output โ€” the working cycle). Also, a list of numbers or names is only data; a sentence that tells you something useful from them is information.

Which of these is information, not just data?

  1. 12, 9, 15, 7
  2. Delhi, Pune, Goa
  3. A, B, C, D
  4. Pune was the hottest city today at 38 ยฐC
Lists of numbers, names or letters are raw data. A meaningful result produced from data is information.

9Characteristics & limitations of computers

โšก Speed

Does millions of calculations in a second.

๐ŸŽฏ Accuracy

Gives correct results every time โ€” if the input and instructions are correct.

๐Ÿ” Diligence

Never gets tired or bored. It can do the same job a million times with the same care.

๐Ÿงฐ Versatility

Can do many different kinds of jobs: typing, drawing, music, games, banking.

๐Ÿ—„๏ธ Storage

Stores huge amounts of data and finds it again in seconds.

๐Ÿ”’ Reliability

Works the same way again and again for a long time.

Limitations โ€” what a computer cannot do

Remember: "SADVS" โ†’ Speed, Accuracy, Diligence, Versatility, Storage.

A computer can type a letter, play a song and show a map. Which characteristic is this?

  1. Diligence
  2. Accuracy
  3. Versatility
  4. Speed
Doing many different kinds of work is versatility. Diligence means working without getting tired.

Watch & explore

10Quick recap

Flip cards

QuestionWho is the Father of Computers?
AnswerCharles Babbage
QuestionFirst computer programmer?
AnswerLady Ada Lovelace (1843)
QuestionWhat could the Pascaline do?
AnswerOnly add and subtract
QuestionWhich machine used punched cards to weave cloth?
AnswerJacquard Loom (1801)
QuestionHollerith's company later becameโ€ฆ?
AnswerIBM (1924)
QuestionVacuum tubes in ENIAC?
AnswerAbout 18,000
QuestionMain part of the 2nd generation?
AnswerTransistors
QuestionIndia's first supercomputer?
AnswerPARAM 8000 (1991), C-DAC Pune, led by Dr Vijay Bhatkar
QuestionWhat does GIGO stand for?
AnswerGarbage In, Garbage Out
QuestionA paper printout is a โ€ฆ copy.
AnswerHard copy (on screen = soft copy)