Lesson 1 · Computer fundamentals

🖥️ Computers and Their History

Before writing programs, it helps to know what a computer actually is, what it is good at, and how it grew from room-sized machines into the phone in your pocket.

🖥️ What a computer is

A computer is an electronic machine that accepts data (input), processes it by following a list of instructions called a program, stores it, and produces information (output).

Data is raw facts (marks 72, 81, 64). Information is processed data that means something (average 72.3, grade B).

Hardware is the physical parts you can touch. Software is the programs that tell the hardware what to do. Neither is useful alone.

🖼️ See it

Generations of computers1940sVacuum tubes1950sTransistors1960sIntegrated circuits1970sMicroprocessorsTodayParallel + AI
Each generation is defined by a new switching technology, and each made computers smaller, faster, cheaper and more reliable.

🖼️ See it

Data becomes information⌨️Inputraw data⚙️Processfollow the program💾Storagekeep for later🖨️Outputuseful information
Every computer job follows this pattern: take data in, process it with a program, keep it, and give information out.

⚡ Characteristics of computers

  • Speed: billions of simple operations per second.
  • Accuracy: errors almost always come from wrong data or wrong programs (“garbage in, garbage out”).
  • Diligence: no tiredness or loss of concentration.
  • Versatility: the same machine plays music, edits photos and runs banks.
  • Storage: huge amounts of data kept and recalled exactly.

The big limitation: a computer has no intelligence or judgement of its own. It does exactly what the program says, even when the program is wrong.

🧮 From the abacus to the chip

Early aids such as the abacus, Napier’s bones and Pascal’s adding machine (1642) helped people calculate. Charles Babbage designed the Analytical Engine (1830s), with a store, a mill and punched-card input: the plan of a modern computer. Ada Lovelace wrote what is often called the first program for it.

Electronic computers are grouped into generations by the switching technology they used:

  • 1st (1940s–50s): vacuum tubes; huge, hot, unreliable; machine language. Example: ENIAC.
  • 2nd (late 1950s–60s): transistors; smaller, cooler; assembly language and early high-level languages (FORTRAN, COBOL).
  • 3rd (1960s–70s): integrated circuits (ICs); operating systems, keyboards and monitors.
  • 4th (1970s–now): microprocessors (VLSI), a whole CPU on one chip; personal computers, networks.
  • 5th (now and future): parallel processing and artificial intelligence.

🗂️ Kinds of computers

By size and power: supercomputers (weather forecasting, simulations), mainframes (banks and airlines serving thousands of users), minicomputers / servers, and microcomputers (desktops, laptops, tablets, phones).

By how they represent data: digital computers count in discrete digits, analog computers measure continuously varying quantities (a speedometer), and hybrid computers do both (a hospital ICU monitor).

🪜 Step by step: classifying a computer by generation and type

Use the main switching technology for the generation, and size and purpose for the type.

Problem: Classify: (a) ENIAC, (b) a 1970s computer built with integrated circuits, (c) a modern laptop, (d) a weather-forecast system with thousands of processors.

  1. (a) ENIAC.
    vacuum tubes → 1st generation
  2. (b) 1970s ICs.
    integrated circuits → 3rd generation
  3. (c) Laptop.
    microprocessor (VLSI) → 4th generation; type: microcomputer
  4. (d) Weather system.
    type: supercomputer
  5. Recall the order.
    tubes → transistors → ICs → microprocessors

Answer: (a) 1st gen, (b) 3rd gen, (c) 4th gen microcomputer, (d) supercomputer.

Common mistake: putting transistors after integrated circuits. Transistors came first (2nd generation).
✏️ Quick check · 1 of 8
Data vs information

Which of these is information rather than raw data?

Which one has already been worked out?
✏️ Quick check · 2 of 8
Generations

Which technology defines the second generation of computers?

It came straight after vacuum tubes.
✏️ Quick check · 3 of 8
Generations

A whole CPU on a single chip first appeared in which generation?

Microprocessors came after integrated circuits.
✏️ Quick check · 4 of 8
Limitations

A payroll program pays everyone twice. The most likely cause is:

Garbage in, garbage out.
✏️ Quick check · 5 of 8
Types

A car’s needle speedometer is an example of:

Does it count or measure?
✏️ Quick check · 6 of 8
Types

A national weather service running huge simulations would most likely use a:

Think of the most powerful class.
✏️ Quick check · 7 of 8
History

Who designed the Analytical Engine, the plan of a modern computer?

He is called the father of the computer.
✏️ Quick check · 8 of 8
Hardware and software

Which of these is software?

Can you touch it?
📝 Lesson quiz · 5 questions
0 / 5
Re-read the lesson, then give it another go.
Question 1 of 5

First-generation computers used:

Question 2 of 5

Processed, meaningful data is called:

Question 3 of 5

“Garbage in, garbage out” describes which point?

Question 4 of 5

A hospital monitor that measures and also displays digital readings is a:

Question 5 of 5

Integrated circuits define which generation?