Courses / Application of ICT (GEN-103) – BS 1st Semester
Week 1 Theory – Introduction to Computers and Their History
Week 1 – Introduction and History of Computers · 60 min read · 40 MCQs to check yourself
What is a computer?
A computer is an electronic device that accepts data (input), processes it according to a set of stored instructions (a program), stores the data and results, and produces information (output).
The word comes from Latin computare — "to calculate". Early "computers" were people who did calculations by hand; today the word means the machine.
Key characteristics of a computer
| Characteristic | What it means |
|---|---|
| Speed | Performs millions/billions of operations per second (measured in MIPS, GHz, FLOPS). |
| Accuracy | Results are correct if data and program are correct — "GIGO: Garbage In, Garbage Out". |
| Storage | Stores huge amounts of data permanently and recalls it instantly. |
| Diligence | Never gets tired or bored; the millionth calculation is as accurate as the first. |
| Versatility | The same machine can type a letter, play music, design a building or control a robot. |
| Automation | Once a program starts, it runs without human help until finished. |
| No IQ / No feelings | A computer only follows instructions; it cannot think or decide on its own. |
The computer processing system (IPO cycle)
Every computer works in a cycle called Input → Process → Output, with Storage supporting each step.
INPUT ───► PROCESS ───► OUTPUT
(keyboard, (CPU follows (monitor,
mouse, program printer,
scanner) instructions) speaker)
▲ │
│ ▼
STORAGE (RAM, hard disk)
- Input – raw facts are entered: typing marks, scanning a form, a sensor reading temperature.
- Processing – the CPU performs arithmetic (add, subtract…) and logic (compare: is marks ≥ 50?).
- Output – the result is shown, printed, heard or sent somewhere.
- Storage – data and programs are kept for now (RAM) or for later (hard disk, USB).
Example – result card: marks of 5 subjects (input) → total, percentage, grade calculated (process) → printed result card (output) → record saved in the school database (storage).
Data vs. information
| Data | Information |
|---|---|
| Raw, unorganised facts and figures | Processed, organised, meaningful data |
| Input to processing | Output of processing |
Has no meaning by itself: 78, 85, 64 |
Has meaning: "Ali's average is 75.7% – Grade A" |
| Not directly useful for decisions | Used for decision making |
| Example: individual sales receipts | Example: monthly sales report showing a 12% rise |
Data → Processing → Information → Knowledge / Decisions
Role of computers in various fields
- Education – e-learning platforms, online classes (Zoom, Google Classroom), digital libraries, computer-based testing (MDCAT, NTS online tests), result processing, simulations and virtual labs.
- Business – accounting and payroll, inventory control, online banking and ATMs, e-commerce (Daraz, Amazon), ERP systems, video meetings, data analysis for decision making.
- Media – desktop publishing of newspapers, video and audio editing, animation and special effects, digital broadcasting, social media and online news portals.
- Manufacturing – CAD (Computer-Aided Design), CAM (Computer-Aided Manufacturing), robots on assembly lines, CNC machines, quality control with sensors, automated inventory.
- Also: healthcare (CT/MRI scanners, patient records), banking, transport (ticketing, GPS), defence, weather forecasting, government (NADRA database, e-governance), entertainment.
Brief history: computing devices before modern computers
| Device | Inventor / period | Key idea |
|---|---|---|
| Abacus | China/Babylon, about 3000 BC (oldest known) | Beads on rods for adding and subtracting; the first counting device. |
| Napier's Bones | John Napier, 1617 | Numbered rods for multiplication and division (Napier also invented logarithms). |
| Slide Rule | William Oughtred, about 1622 | Two sliding logarithmic scales; used by engineers for multiplication, division, roots until the 1970s. An analog device. |
| Pascaline | Blaise Pascal, 1642 | First mechanical adding machine, used gears and wheels; could add and subtract. Made to help his father, a tax collector. |
| Stepped Reckoner | Gottfried Leibniz, 1673 | Improved the Pascaline: could also multiply and divide. |
| Jacquard Loom | Joseph-Marie Jacquard, 1801 | Used punched cards to control weaving patterns – the idea of a stored "program". |
| Difference Engine | Charles Babbage, 1822 | Mechanical machine to calculate mathematical tables (polynomials) automatically. |
| Analytical Engine | Charles Babbage, 1834 (designed) | Design of a general-purpose computer: input (punched cards), mill (processor), store (memory), output (printer). This is why Babbage is called the Father of Computers. |
| Lady Ada Lovelace | 1843 | Wrote instructions (an algorithm) for the Analytical Engine – regarded as the first programmer. |
| Hollerith's Tabulating Machine (Hollerith Desk) | Herman Hollerith, 1890 | Electromechanical machine that read punched cards to process the 1890 US census in about 2.5 years instead of 8. His company later became IBM. |
| Mark I (Harvard Mark I) | Howard Aiken with IBM, 1944 | First large electromechanical automatic computer; about 15 m long, used relays and switches, read instructions from punched paper tape. |
The four stages of computing history
- Manual stage (before 1600s) – counting with fingers, pebbles, sticks, abacus.
- Mechanical stage (1600s – 1880s) – gear-driven machines: Pascaline, Leibniz's reckoner, Babbage's engines.
- Electromechanical stage (1880s – 1940s) – electricity + mechanical parts: Hollerith's tabulator, Mark I (relays).
- Electronic stage (1940s – present) – no moving parts in processing; vacuum tubes, then transistors, ICs and microprocessors: ENIAC onwards.
Generations of computers
A generation is a stage of computer development defined by the main electronic switching technology used.
| Generation | Period | Technology | Characteristics | Examples |
|---|---|---|---|---|
| 1st | 1946 – 1956 | Vacuum tubes | Very large (filled rooms), huge power use and heat, frequent failures, slow (milliseconds), machine language, punched cards & paper tape, magnetic drums for memory | ENIAC, EDVAC, UNIVAC-I, IBM 650 |
| 2nd | 1956 – 1964 | Transistors | Smaller, faster (microseconds), less heat and power, more reliable, assembly language and early high-level languages (FORTRAN, COBOL), magnetic core memory, magnetic tape/disk | IBM 1401, IBM 7094, CDC 1604 |
| 3rd | 1964 – 1971 | Integrated Circuits (ICs) – many transistors on one silicon chip | Smaller and cheaper, faster (nanoseconds), keyboard and monitor used, operating systems, multiprogramming, high-level languages (BASIC, Pascal) | IBM System/360, PDP-8, PDP-11 |
| 4th | 1971 – present | Microprocessor (VLSI – thousands to billions of transistors on one chip) | Personal computers, very fast, small, cheap, GUI, networking and Internet, portable devices | Intel 4004 (first microprocessor, 1971), IBM PC, Apple Macintosh, laptops, smartphones |
| 5th | Present & future | Artificial Intelligence, ULSI, parallel processing, quantum computing | Machines that can understand natural language, learn and reason; expert systems, robotics, voice recognition | AI assistants (Siri, Alexa), IBM Watson, self-driving cars |
Memory trick: V-T-I-M-A → Vacuum tubes, Transistors, ICs, Microprocessors, Artificial intelligence.
Early Computing – Crash Course Computer Science #1 (abacus, Pascal, Babbage, Hollerith)
Every Computer Generation Explained in 4 Minutes
What Is a Computer and How Does It Work? (LearnFree)
Summary
- A computer accepts data, processes it under a program, stores it and gives information.
- IPO cycle: Input → Process → Output, with Storage.
- Data is raw; information is processed, meaningful data.
- Computers are used in education, business, media, manufacturing and almost every field.
- History moved through manual → mechanical → electromechanical → electronic stages.
- Five generations: vacuum tubes, transistors, ICs, microprocessors, AI.
Short and long questions
1. Write any four characteristics of a computer.
Model answer
(1) Speed – millions of instructions per second. (2) Accuracy – error-free results if input is correct (GIGO). (3) Storage – stores large amounts of data permanently. (4) Diligence – works continuously without tiredness. Others: versatility, automation, no IQ.
2. Explain the IPO cycle with an example.
Model answer
IPO stands for Input–Process–Output. Input: data is entered, e.g. marks of a student typed with a keyboard. Process: the CPU calculates total, percentage and grade. Output: the result card is displayed or printed. Storage keeps the data and results for later use.
3. Define computer.
Model answer
A computer is an electronic machine that accepts data as input, processes it according to a set of stored instructions (program), stores data and results, and produces meaningful information as output.
4. Differentiate between data and information.
Model answer
Data are raw, unorganised facts and figures (e.g. 72, 85, 64) that have no meaning by themselves; they are the input to processing. Information is processed, organised and meaningful data (e.g. "average marks are 73.6%") and is used for decision making; it is the output of processing.
5. Discuss the role of computers in education, business, media and manufacturing.
Model answer
Education: computers support e-learning and online classes, digital libraries, multimedia lectures, simulations and virtual labs, computer-based testing, admissions and result processing. Business: accounting, payroll and inventory software; online banking and ATMs; e-commerce; communication by email and video conferencing; data analysis for management decisions (ERP, spreadsheets). Media: newspapers and magazines are designed with desktop publishing; films use video editing, animation and special effects; TV/radio broadcasting is digital; news spreads through websites and social media. Manufacturing: CAD to design products, CAM and CNC machines to produce them, robots on assembly lines, sensors for quality control and automated stock management. Overall, computers increase speed, accuracy and productivity in every field.
6. What are CAD and CAM?
Model answer
CAD (Computer-Aided Design) is software used to design products, machines and buildings on a computer. CAM (Computer-Aided Manufacturing) uses computers to control machines (CNC machines, robots) that produce the designed products.
7. Write two uses of computers in education and two in business.
Model answer
Education: online/e-learning classes and computer-based testing; result preparation and student records. Business: accounting and payroll; e-commerce and online banking.
8. Describe the evolution of computing devices from the abacus to Mark I.
Model answer
Abacus (about 3000 BC): beads on rods used for counting; the first calculating device. Napier's Bones (1617): numbered rods for multiplication/division. Slide rule (about 1622, William Oughtred): logarithmic scales used for multiplication, division and roots; an analog device. Pascaline (1642, Blaise Pascal): first mechanical adding machine using gears; could add and subtract. Leibniz's Stepped Reckoner (1673): could also multiply and divide. Jacquard loom (1801): punched cards controlled weaving patterns — the idea of a program. Difference Engine (1822, Charles Babbage): calculated mathematical tables automatically. Analytical Engine (1834, Babbage): design of a general-purpose computer with input, mill (processor), store (memory) and output; Ada Lovelace wrote its first program. Hollerith's tabulating machine (1890): electromechanical punched-card machine for the US census; company later became IBM. Mark I (1944, Howard Aiken/IBM): large electromechanical automatic computer using relays, controlled by punched paper tape.
9. Write a short note on Hollerith's tabulating machine.
Model answer
Herman Hollerith built an electromechanical machine (1890) that read data from punched cards using electrical contacts. It processed the US census of 1890 in about 2.5 years instead of 8. His company later became IBM.
10. Why is Charles Babbage called the Father of Computers?
Model answer
Because he designed the Analytical Engine (1834), the first design of a general-purpose programmable computer. It had input (punched cards), a mill (processing unit), a store (memory) and output — the same basic parts as a modern computer.
11. Explain the five generations of computers with their technology, characteristics and examples.
Model answer
1st generation (1946–56) – vacuum tubes: very large, high power consumption and heat, unreliable, machine language, punched cards; e.g. ENIAC, UNIVAC-I. 2nd generation (1956–64) – transistors: smaller, faster, cheaper, more reliable, less heat; assembly language and FORTRAN/COBOL; magnetic core memory; e.g. IBM 1401, IBM 7094. 3rd generation (1964–71) – integrated circuits: many transistors on a chip; smaller, faster; keyboards and monitors; operating systems and multiprogramming; e.g. IBM System/360, PDP-11. 4th generation (1971–present) – microprocessors (VLSI): whole CPU on one chip; personal computers, GUI, networking, Internet, laptops, smartphones; e.g. Intel 4004, IBM PC, Apple Macintosh. 5th generation (present & future) – artificial intelligence: ULSI, parallel processing, natural-language understanding, expert systems, robotics, voice recognition; e.g. AI assistants, IBM Watson.
12. Give two characteristics of second-generation computers.
Model answer
They used transistors instead of vacuum tubes, so they were smaller, faster, more reliable and produced less heat. Assembly language and high-level languages such as FORTRAN and COBOL were used.
13. What is meant by a "generation" of computers?
Model answer
A generation is a stage in the development of computers, marked by a major change in the main electronic technology (switching device) used, such as vacuum tubes, transistors, ICs, microprocessors and AI.
This lesson ends with a quiz of 40 MCQs. Open the lesson on PrepOasis to take it and save your progress.
Previous: Course Guide – Outline, CLOs, Assessment and Plan · Next: Week 1 Lab 1 – Email: Create, Send, Reply, Attach and Sign Out
All lessons in Application of ICT (GEN-103) – BS 1st Semester