Computer Basics and Generations
What to remember
- A computer is an electronic machine that takes input, processes it, stores it and gives output. The cycle is: input, process, output, storage.
- Five generations are linked to the main part used: vacuum tubes, transistors, integrated circuits (IC), microprocessors and artificial intelligence (AI).
- Devices are grouped as input, output and storage. Ports are the sockets where devices connect to the computer.
1. What is a computer?
A computer is an electronic device that follows instructions (a program) to work on data and give useful results. Data means raw facts. Information means data that has been processed and has meaning.
Main features:
- Speed: it works in a fraction of a second.
- Accuracy: errors come mostly from wrong input or wrong programs ("garbage in, garbage out").
- Storage: it can keep a large amount of data.
- Diligence: it does not get tired.
- Versatility: it can do many types of work.
Main parts of a computer system:
- Hardware: parts you can touch (keyboard, monitor, CPU).
- Software: programs and instructions.
- CPU (Central Processing Unit): the brain. It has the Arithmetic Logic Unit (ALU) for calculations and logic, the Control Unit (CU) for directing work, and registers for tiny, very fast storage.
- Memory: RAM (temporary, working memory) and ROM (permanent, read-only memory).
2. A short history of computing
Before electronic computers, people used tools and machines to count and calculate.
| Device / person | Contribution |
|---|---|
| Abacus | early counting frame, used for simple sums |
| Napier's bones | rods for multiplication (John Napier) |
| Pascaline | mechanical adding machine by Blaise Pascal |
| Leibniz's machine | could multiply and divide (Gottfried Leibniz) |
| Jacquard loom | used punched cards to control weaving patterns |
| Charles Babbage | Difference Engine and the Analytical Engine; called the "Father of the Computer" |
| Ada Lovelace | wrote the first program idea for the Analytical Engine; called the first programmer |
| Herman Hollerith | tabulating machine using punched cards for census data |
| Alan Turing | gave the idea of a "universal machine" (Turing machine) |
| ENIAC | an early large electronic computer, built in the 1940s |
Some points to note:
- Babbage's Analytical Engine had the main ideas of a modern computer: an input, a "store" (memory), a "mill" (processor) and an output.
- John von Neumann gave the stored-program concept: both data and program are kept in memory.
- The word "computer" first meant a person who did calculations.
3. Generations of computers
| Generation | Period (approx.) | Main technology | Features |
|---|---|---|---|
| First | 1940s-1950s | Vacuum tubes | very large, heat produced, costly, machine language, high power use |
| Second | 1950s-1960s | Transistors | smaller, faster, more reliable; assembly language and early high-level languages |
| Third | 1960s-1970s | Integrated circuits (IC) | smaller, cheaper; keyboards, monitors, operating systems |
| Fourth | 1970s onward | Microprocessors (VLSI) | personal computers, GUI, networks |
| Fifth | present and future | Artificial intelligence, ULSI | speech recognition, learning machines, parallel processing |
Key notes:
- Intel 4004 (1971) is known as the first microprocessor.
- ICs were invented in the late 1950s; they pack many transistors on one chip.
- First generation examples: ENIAC, UNIVAC. Third generation example: IBM-360 series. Fourth generation example: the IBM PC and Apple computers.
- Each generation brought smaller size, higher speed, lower cost and lower power use.
4. Types of computers
By size and power
| Type | Meaning | Use |
|---|---|---|
| Supercomputer | fastest and most powerful | weather forecast, space research, scientific work |
| Mainframe | large and powerful; many users | banks, large offices |
| Minicomputer | mid-sized | small companies, labs |
| Microcomputer | personal computer | homes, schools, offices |
Microcomputers include desktops, laptops, tablets and smartphones.
By working method
- Analog: works on continuous signals (for example, a speedometer or a thermometer).
- Digital: works on 0s and 1s (a normal computer).
- Hybrid: has features of both (used in hospitals and in some control systems).
India's PARAM series of supercomputers was developed by the Centre for Development of Advanced Computing (C-DAC) at Pune.
5. Input devices
Input devices send data into the computer.
- Keyboard: typing letters, numbers and commands.
- Mouse: pointing and clicking.
- Scanner: copies a paper page into the computer as an image.
- Microphone: records sound.
- Webcam: takes live video or photos.
- Joystick: used in games.
- Light pen and touch screen: point or touch on the display.
- Barcode reader: reads lines (a bar code) on products.
- OMR (Optical Mark Reader): reads marked bubbles, as in exam answer sheets.
- OCR (Optical Character Recognition): reads printed text as editable text.
- MICR (Magnetic Ink Character Recognition): reads cheque numbers in magnetic ink.
- Biometric devices: fingerprint and iris scanners.
6. Output devices
Output devices show results to the user.
- Monitor: screen display (CRT, LCD, LED). It is also called a VDU (Visual Display Unit).
- Printer: gives a printed copy (hard copy).
- Impact printers (dot matrix) strike the paper.
- Non-impact printers (laser, inkjet) do not strike the paper.
- Plotter: draws large drawings (maps, designs).
- Speaker: gives sound.
- Projector: shows the display on a large screen.
A soft copy is the output seen on the screen. A hard copy is a printed copy.
7. Storage devices
Primary memory is inside or very close to the CPU: RAM and ROM (and cache memory, which is very fast).
Secondary storage keeps data for a long time.
| Type | Examples | Note |
|---|---|---|
| Magnetic | hard disk, floppy disk, magnetic tape | hard disk is the main storage in most computers |
| Optical | CD, DVD, Blu-ray | read with a laser |
| Flash (solid state) | pen drive, memory card, SSD | no moving parts, fast |
Units of storage: 1 bit is the smallest unit; 8 bits = 1 byte; 1024 bytes = 1 kilobyte (KB); 1024 KB = 1 megabyte (MB); 1024 MB = 1 gigabyte (GB); 1024 GB = 1 terabyte (TB).
8. Ports and connectors
A port is a socket on the computer where a cable or device is attached.
| Port | Used for |
|---|---|
| USB (Universal Serial Bus) | pen drives, mouse, keyboard, phones, many devices |
| HDMI | high-quality video and sound to a TV or monitor |
| VGA | older video connection to a monitor or projector |
| DisplayPort | video to a monitor |
| Ethernet (RJ-45) | wired network connection |
| Audio jack | headphones, speakers, microphone |
| PS/2 | older keyboard and mouse |
| Serial / Parallel | older printers and modems |
| Thunderbolt | very fast data and video |
9. How a computer works (the basic cycle)
- 1. Input: data is entered through a keyboard, mouse or other device.
- 2. Processing: the CPU fetches an instruction from memory, decodes it, and executes it. This is the fetch-decode-execute cycle.
- 3. Storage: results are kept in memory or on a disk.
- 4. Output: results are shown on the screen or printed.
The computer works with the binary system, which has only two digits, 0 and 1. Each 0 or 1 is a bit. Letters, numbers, pictures and sound are all changed to bits inside the machine. Cache memory is a very small and very fast memory between the CPU and RAM; it keeps the data that the CPU uses often.
Speed of a processor is measured in hertz (Hz), usually in gigahertz (GHz). A computer with more cores can do more tasks at the same time.
Exam traps
- RAM is temporary (volatile); ROM is permanent. RAM data is lost when power is off.
- Hardware vs software: touchable parts are hardware.
- Babbage is the father of the computer; Ada Lovelace is the first programmer.
- Transistors belong to the second generation; ICs to the third; microprocessors to the fourth.
- Input vs output: scanner is input; plotter, speaker and monitor are output.
- Hard copy and soft copy: printed vs on-screen.
- OMR reads marks; OCR reads characters; MICR reads magnetic ink numbers.
- Bit and byte: 1 byte = 8 bits.
One-liners
- 1. The CPU is the brain of the computer.
- 2. ALU does arithmetic and logic work.
- 3. RAM is volatile; ROM is non-volatile.
- 4. Charles Babbage is the father of the computer.
- 5. Ada Lovelace is the first programmer.
- 6. The first generation used vacuum tubes.
- 7. The second generation used transistors.
- 8. The third generation used integrated circuits.
- 9. The fourth generation used microprocessors.
- 10. Fifth generation work is linked to artificial intelligence.
- 11. A supercomputer is the fastest type of computer.
- 12. USB stands for Universal Serial Bus.
Practice questions
Who is called the Father of the Computer?
- Blaise Pascal
- Herman Hollerith
- Charles Babbage
- Alan Turing
Answer
C. Charles Babbage
Babbage designed the Analytical Engine.
Who is regarded as the first programmer?
- John Napier
- Grace Hopper
- Charles Babbage
- Ada Lovelace
Answer
D. Ada Lovelace
Ada Lovelace wrote programs for the Analytical Engine.
First generation computers used
- transistors
- vacuum tubes
- microprocessors
- integrated circuits
Answer
B. vacuum tubes
Vacuum tubes were the main part in the first generation.
Second generation computers used
- transistors
- integrated circuits
- AI chips
- vacuum tubes
Answer
A. transistors
Transistors replaced vacuum tubes.
Third generation computers used
- integrated circuits
- vacuum tubes
- transistors
- punched cards only
Answer
A. integrated circuits
ICs pack many transistors on one chip.
Fourth generation computers used
- transistors
- microprocessors
- relays
- vacuum tubes
Answer
B. microprocessors
Microprocessors (VLSI) mark the fourth generation.
Fifth generation computing is linked to
- magnetic drums
- vacuum tubes
- artificial intelligence
- punched cards
Answer
C. artificial intelligence
AI and parallel processing are its focus.
Which was the first microprocessor?
- Core i3
- Intel 8086
- Pentium
- Intel 4004
Answer
D. Intel 4004
Intel 4004 was released in 1971.
The brain of the computer is the
- Monitor
- Printer
- CPU
- Keyboard
Answer
C. CPU
The CPU controls and processes everything.
ALU stands for
- Arithmetic Logic Unit
- Advanced Logic Unit
- Arithmetic Link Unit
- Analog Logic Utility
Answer
A. Arithmetic Logic Unit
The ALU does arithmetic and logical operations.
Which memory loses its content when power is switched off?
- Pen drive
- RAM
- Hard disk
- ROM
Answer
B. RAM
RAM is volatile.
Which memory is permanent and read-only?
- Register
- Cache
- RAM
- ROM
Answer
D. ROM
ROM keeps its data without power.
Which of these is an input device?
- Speaker
- Monitor
- Scanner
- Plotter
Answer
C. Scanner
A scanner sends images into the computer.
Which of these is an output device?
- Plotter
- Scanner
- Mouse
- Keyboard
Answer
A. Plotter
A plotter draws output on paper.
A printed copy of output is called a
- cache
- backup
- soft copy
- hard copy
Answer
D. hard copy
A soft copy is the on-screen display.
1 byte equals how many bits?
- 4
- 16
- 10
- 8
Answer
D. 8
A byte has 8 bits.
1 kilobyte equals
- 1024 bytes
- 1000 bytes only
- 512 bytes
- 8 bytes
Answer
A. 1024 bytes
Computer units are based on 1024.
OMR is used to read
- bar codes
- marked bubbles on answer sheets
- magnetic ink numbers
- handwriting
Answer
B. marked bubbles on answer sheets
OMR reads marks.
MICR is mainly used in
- video editing
- radio
- banks for cheques
- games
Answer
C. banks for cheques
MICR reads numbers printed in magnetic ink.
OCR converts
- text to sound
- printed text images to editable text
- files to folders
- audio to video
Answer
B. printed text images to editable text
OCR recognises characters.
India's PARAM supercomputers were developed by
- BARC
- DRDO
- C-DAC
- ISRO
Answer
C. C-DAC
The Centre for Development of Advanced Computing, Pune, built PARAM.
Which type of computer is the fastest and most powerful?
- Supercomputer
- Minicomputer
- Microcomputer
- Mainframe
Answer
A. Supercomputer
Supercomputers handle very heavy tasks.
A laptop is an example of a
- mainframe
- supercomputer
- analog computer
- microcomputer
Answer
D. microcomputer
Personal computers are microcomputers.
A computer that works on continuous signals is
- hybrid
- analog
- digital
- binary
Answer
B. analog
A speedometer is an analog device.
A computer that uses features of both analog and digital is
- hybrid
- mini
- mainframe
- micro
Answer
A. hybrid
Hybrid computers combine both.
Which port is widely used for pen drives?
- PS/2
- HDMI
- VGA
- USB
Answer
D. USB
USB connects many devices.
HDMI carries
- only text
- only power
- video and sound
- only mouse signals
Answer
C. video and sound
HDMI sends high-quality digital video and audio.
An Ethernet (RJ-45) port is used for
- a headphone
- a wired network connection
- a pen drive
- a printer power
Answer
B. a wired network connection
Ethernet cables connect to wired networks.
Which of these is secondary storage?
- Register
- RAM
- Cache
- Hard disk
Answer
D. Hard disk
Secondary storage keeps data for a long time.
Which of these uses a laser to read data?
- DVD
- Hard disk
- Magnetic tape
- Floppy
Answer
A. DVD
Optical discs use a laser.
A pen drive is an example of
- primary memory
- flash storage
- magnetic storage
- optical storage
Answer
B. flash storage
Flash memory has no moving parts.
Who gave the stored-program concept?
- John Napier
- Charles Babbage
- John von Neumann
- Herman Hollerith
Answer
C. John von Neumann
Programs and data are kept in memory.
Which machine used punched cards for census data?
- Abacus
- Hollerith's tabulating machine
- Pascaline
- Napier's bones
Answer
B. Hollerith's tabulating machine
Herman Hollerith's machine used punched cards.
The Pascaline was a
- printer
- loom
- electronic computer
- mechanical adding machine
Answer
D. mechanical adding machine
It was invented by Blaise Pascal.
Which first generation computer name is correct?
- Apple II
- Pentium
- ENIAC
- IBM-360
Answer
C. ENIAC
ENIAC used vacuum tubes.
Which device is used for biometric login?
- Fingerprint scanner
- Plotter
- Projector
- Speaker
Answer
A. Fingerprint scanner
A fingerprint scanner reads a person's fingerprint.
A dot matrix printer is a
- plotter
- non-impact printer
- laser printer
- impact printer
Answer
D. impact printer
It strikes the paper to print.
Consider the statements about memory. 1. RAM is volatile. 2. ROM loses its data when power is off.
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Answer
A. 1 only
ROM is non-volatile.
Consider the statements about generations. 1. Vacuum tubes were used in the fourth generation. 2. Transistors were used in the second generation.
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Answer
B. 2 only
Vacuum tubes belong to the first generation.
Consider the statements. 1. A scanner is an input device. 2. A speaker is an input device.
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Answer
A. 1 only
A speaker is an output device.
Consider the statements about history. 1. Ada Lovelace invented the Pascaline. 2. Charles Babbage designed the Analytical Engine.
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Answer
B. 2 only
The Pascaline was invented by Pascal.
Consider the statements about storage units. 1. 1 byte is 8 bits. 2. 1 megabyte is smaller than 1 kilobyte.
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Answer
A. 1 only
A megabyte is larger than a kilobyte.
Consider the statements. 1. VGA is a newer digital port that replaced HDMI. 2. HDMI can carry both video and audio.
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Answer
B. 2 only
VGA is older than HDMI.
Consider the statements. 1. The CPU contains the ALU and the control unit. 2. The ALU controls the movement of data between devices.
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Answer
A. 1 only
The control unit directs the work; the ALU does calculations.
Which of the following is a sign of a later generation of computers?
- Slower speed
- Bigger size and higher heat
- Smaller size and lower cost
- More vacuum tubes
Answer
C. Smaller size and lower cost
Each generation became smaller, faster and cheaper.