Ruled

Generations and classification of computers

The five generations and the switching technology that defines each, then the classification of computers by size, purpose and the type of data they handle.

Computers are grouped in two quite different ways, and exam questions mix them up freely. Generations are about when and what the machine was built from. Classification is about how big and what for.

The five generations

Each generation is defined by the component used for switching — the physical thing that represents a or a .

First generation (1940–1956) — vacuum tubes

  • Technology: vacuum tubes for circuitry, magnetic drums for memory
  • Language: machine language only
  • Characteristics: enormous (filling whole rooms), enormous power consumption, enormous heat, frequent failures, very expensive
  • Input/output: punched cards and printouts
  • Examples: ENIAC, EDVAC, UNIVAC-I, IBM-701

Second generation (1956–1963) — transistors

  • Technology: transistors replace tubes; magnetic core memory
  • Language: assembly language, then early high-level languages (FORTRAN, COBOL)
  • Characteristics: smaller, faster, cheaper, more reliable and far less heat than the first generation
  • Input/output: punched cards, magnetic tape
  • Examples: IBM-1401, IBM-7094, CDC-1604, UNIVAC-1108

Third generation (1964–1971) — integrated circuits

  • Technology: IC — many transistors on a single silicon chip (SSI and MSI)
  • Language: high-level languages in general use; the first operating systems
  • Characteristics: much smaller and faster still; remote processing and time-sharing appear, so many users share one machine
  • Input/output: keyboard and monitor
  • Examples: IBM-360 series, ICL-1900, PDP-8

Fourth generation (1971–present) — microprocessors

  • Technology: VLSI — very large scale integration; thousands then millions of components on one chip, giving the microprocessor
  • Language: all high-level languages; graphical user interfaces
  • Characteristics: the personal computer becomes possible; cheap, portable, and networked. Computer networks and the Internet belong to this generation.
  • Examples: IBM PC, Apple II, Pentium series, and every laptop and phone in use today

Fifth generation (present and beyond) — ULSI and artificial intelligence

  • Technology: ULSI — ultra large scale integration; parallel processing
  • Aim: natural language processing, expert systems, machine learning, speech and image recognition
  • Characteristics: machines intended to infer rather than only to follow instructions
  • Examples: AI systems, robotics, voice assistants, quantum computing research

The generations at a glance

GenPeriodComponentLanguageScale
1st1940–56Vacuum tubeMachineRoom-sized
2nd1956–63TransistorAssemblyCabinet-sized
3rd1964–71IC (SSI/MSI)High-level, OSDesk-sized
4th1971–Microprocessor (VLSI)HLL, GUIPersonal
5thpresent–ULSI, parallelNatural languageEmbedded, distributed

The pattern to state in an answer. Across the generations, size, cost, power consumption and failure rate all fall, while speed, reliability, storage and ease of use all rise. Every one of those changes follows from putting more switches into less space.

Classification by size and capacity

Microcomputer

Built round a single microprocessor. One user at a time. Desktops, laptops, tablets, palmtops, smartphones and workstations. Cheapest and by far the most numerous.

Minicomputer

Mid-sized, multi-user, serving a department — tens to a few hundred terminals. Historically PDP-11 and VAX; the category has largely been absorbed by powerful servers.

Mainframe

Very large, very reliable, supporting thousands of simultaneous users. Built for very high transaction throughput rather than raw calculation speed. Used by banks, railways, insurers and tax departments — IBM Z series.

Supercomputer

The fastest machines available, built for a single enormous calculation rather than many users. Massively parallel — thousands of processors on one problem. Used for weather forecasting, molecular modelling, nuclear simulation, aerodynamics. Speed is quoted in FLOPS (floating-point operations per second). India's PARAM and AIRAWAT are examples.

UsersBuilt forTypical use
Micro1General workPersonal computing
Mini10s–100sDepartmental sharingSmall organisation server
Mainframe1000sTransaction volume and reliabilityBanking, reservations
SuperFewRaw calculation speedWeather, simulation, research

Classification by purpose

  • General-purpose — can be programmed for any task; a PC is the obvious example.
  • Special-purpose — designed and programmed for one job only, with the program often in firmware: a washing-machine controller, an ATM, a traffic-signal controller, a car's engine management unit.

Classification by the type of data handled

This is the classification students most often lose marks on.

Analog computer

Works on continuously varying physical quantities — voltage, pressure, temperature, length — and measures rather than counts. Output is usually a reading on a scale. Accuracy is limited by the measuring instrument. Examples: a mercury thermometer, a speedometer, an analog voltmeter, a slide rule.

Digital computer

Works on discrete values, ultimately and , and counts rather than measures. Accuracy is limited only by the number of digits carried. Every computer discussed elsewhere in this paper is digital.

Hybrid computer

Combines both: an analog section measures a physical quantity and a digital section processes the measurement. Standard example — an ICU patient monitor, which measures temperature, pulse and blood pressure as analog signals, then converts them to digital form to display, record and raise alarms.

AnalogDigital
DataContinuousDiscrete
OperationMeasuresCounts
AccuracyLimited by the instrumentLimited by the word length
OutputScale reading, graphNumbers, text
ExampleThermometer, speedometerPC, mainframe

Worked examples

2 solved

Every step is shown, in the order you would write it in an answer book.

Example 1

Placing a machine in its generation

Question

A computer uses a single silicon chip containing several million transistors, runs a graphical operating system, and connects to a network. Which generation is it, and what evidence supports the answer?

  1. Identify the switching technology

    Millions of components on one chip is VLSI — very large scale integration. That gives the microprocessor.

  2. Match the technology to a generation

    Vacuum tube → 1st, transistor → 2nd, IC (SSI/MSI) → 3rd, microprocessor (VLSI) → 4th, ULSI with parallel processing and AI → 5th.

  3. Confirm with the secondary evidence

    Two further details agree:

    • a graphical operating system is a fourth-generation development (third-generation machines had command-driven operating systems)
    • networking and the Internet belong to the fourth generation
  4. Check what would move it to the fifth

    The fifth generation is characterised not by being newer but by inference — natural language processing, expert systems, learning. Nothing in the description suggests that, so it stays in the fourth.

Answer

Fourth generation — VLSI microprocessor, GUI operating system and networking are all fourth-generation characteristics.

NoteAnswer generation questions from the switching component first. Dates and features are supporting evidence, not the definition.

Example 2

Choosing the right class of computer

Question

Recommend a class of computer for each, with a reason: (a) the Indian Railways reservation system, (b) forecasting the monsoon, (c) a college computer laboratory, (d) a hotel lift controller.

  1. (a) Railway reservation

    Thousands of clerks and websites booking at once, every transaction must be recorded reliably, and the system may never lose a booking. The requirement is transaction throughput and reliability, not calculation speed.

    Mainframe.

  2. (b) Monsoon forecasting

    One single enormous numerical model of the atmosphere, needing as many floating-point operations per second as can be bought, with very few users.

    Supercomputer, working by parallel processing.

  3. (c) College laboratory

    Many independent single users each doing general-purpose work — programming, documents, browsing — with cost per seat mattering.

    Microcomputers (desktop PCs), probably networked to a server.

  4. (d) Lift controller

    One fixed task, forever: read the buttons and floor sensors, drive the motor, open the doors. The program never changes and is held in firmware.

    Special-purpose (embedded) computer.

  5. Note the distinction being tested

    (a)–(c) are answered on the size and capacity classification; (d) is answered on the purpose classification. A question can ask for either, so read which axis is wanted.

Answer

(a) mainframe (b) supercomputer (c) microcomputers (d) special-purpose embedded computer.

Practice problems

6 with solutions

Work each one on paper first. The full solution — not just the answer — is one click away.

Problem 1Basic

Name the switching technology of each of the five generations of computers.

Show solution
GenerationSwitching technology
FirstVacuum tubes
SecondTransistors
ThirdIntegrated circuits (SSI and MSI)
FourthMicroprocessors — VLSI
FifthULSI with parallel processing (and artificial intelligence as the goal)

The examinable point behind the table: each step packs more switches into less space, and every other improvement — speed, size, cost, reliability, heat — follows from that.

AnswerVacuum tube, transistor, IC, microprocessor (VLSI), ULSI.
Problem 2Basic

Differentiate between analog and digital computers, giving two examples of each.

Show solution
Analog computerDigital computer
Data handledContinuously varying physical quantitiesDiscrete values, ultimately and
Basic actionMeasuresCounts
AccuracyLimited by the measuring instrumentLimited only by the number of digits used
SpeedLowerVery high
OutputA reading on a scale, or a graphNumbers, text, images
StorageVery limitedVery large
ProgrammabilityUsually fixed by its wiringFully programmable
ExamplesMercury thermometer, speedometer, analog voltmeter, slide rulePersonal computer, mainframe, calculator, smartphone

A hybrid computer contains both: an ICU patient monitor measures pulse and temperature as analog signals and then processes them digitally to display readings and raise alarms.

AnswerAnalog measures continuous quantities (thermometer, speedometer); digital counts discrete values (PC, calculator).
Problem 3Exam level

Explain the classification of computers based on size and capacity.

Show solution

1. Microcomputer. Built around a single microprocessor and intended for one user at a time. Smallest, cheapest and most numerous. Includes desktops, laptops, notebooks, tablets, palmtops, smartphones and workstations. A workstation is a high-end microcomputer for engineering, design or graphics work.

2. Minicomputer. Medium-sized and multi-user, serving a department or small organisation with anything from a few to a few hundred terminals. More powerful and more expensive than a microcomputer, less so than a mainframe. Historic examples: PDP-11, VAX-8000. The category has largely been replaced by powerful servers.

3. Mainframe computer. Very large, supporting thousands of simultaneous users. Designed for extremely high transaction throughput and for continuous, reliable operation over years rather than for raw arithmetic speed. Requires a controlled environment and specialist staff. Used by banks, railways, insurance companies and tax departments. Example: IBM Z series.

4. Supercomputer. The fastest and most expensive class, built to run one enormous calculation as quickly as possible rather than to serve many users. Achieves its speed by massive parallel processing across thousands of processors. Performance is measured in FLOPS. Used for weather forecasting, climate modelling, molecular and nuclear simulation and aerodynamic design. Indian examples: PARAM series, AIRAWAT.

The key contrast to state explicitly: a mainframe is optimised for many transactions, a supercomputer for one calculation. Both are large, but for opposite reasons.

AnswerMicrocomputer (single user), minicomputer (departmental multi-user), mainframe (thousands of users, transaction throughput), supercomputer (parallel, raw speed).
Problem 4Exam level

Compare the first and fourth generations of computers under at least six headings.

Show solution
HeadingFirst generation (1940–56)Fourth generation (1971–)
ComponentVacuum tubesMicroprocessor (VLSI)
MemoryMagnetic drumSemiconductor RAM, very large
SizeFilled a whole roomFits on a lap or in a pocket
SpeedMilliseconds per operationNanoseconds per operation
Power and heatEnormous; needed heavy air conditioningLow; runs on a battery
ReliabilityVery poor — tubes failed constantlyVery high
CostAffordable only to governmentsAffordable to individuals
LanguageMachine language onlyAll high-level languages, GUI
Input/outputPunched cards, printoutsKeyboard, mouse, touch, display
UsersOne operator, batch jobsPersonal and networked, interactive
ExampleENIAC, UNIVAC-IIBM PC, Pentium, modern laptops

Every difference in the table traces to a single cause: the number of switches that can be placed in a given volume rose by many orders of magnitude, so the machine became smaller, cooler, cheaper, faster and more reliable all at once.

AnswerCompared on component, memory, size, speed, power, reliability, cost, language, I/O and users — see table.
Problem 5Exam level

What is a hybrid computer? Explain with an example why both analog and digital sections are needed.

Show solution

A hybrid computer contains both an analog and a digital section, using each for the part of the job it does best. The analog section measures a continuously varying physical quantity; the digital section then processes, stores and displays that measurement.

Standard example — an ICU patient monitor.

  1. Analog section. The patient's temperature, pulse rate, blood pressure and blood-oxygen level are continuous physical quantities. Sensors convert each into a continuously varying electrical voltage. Only an analog device can pick up a continuous signal in the first place.

  2. Analog-to-digital conversion. The voltage is sampled and converted into a number.

  3. Digital section. The numbers are displayed as readings, plotted as a trace, stored as a record of the last several hours, compared against safe limits, and used to trigger an alarm when a limit is crossed.

Why both are needed. The quantities being observed exist in the physical world as continuous signals, so measurement must be analog. But storing a history, comparing against thresholds, raising an alarm and printing a report are all discrete decisions on stored data — work only a digital computer can do accurately and repeatably.

Other examples: a petrol pump (analog flow measurement, digital price calculation), and industrial process controllers.

AnswerA computer with both analog and digital sections — e.g. an ICU monitor measures vital signs as analog signals and processes, stores and alarms on them digitally.
Problem 6Challenge

A mainframe and a supercomputer are both very large and very expensive. Explain why one cannot simply be used in place of the other.

Show solution

They are large for opposite reasons, and each is poor at the other's job.

What a mainframe optimises. Throughput of many small independent transactions, and uninterrupted availability. A booking system might handle tens of thousands of requests per second, each of which does almost no arithmetic — read a record, check a seat, write a record. The design effort goes into:

  • very high input/output bandwidth, because the work is dominated by moving records, not computing
  • transaction integrity, so a booking is never half-completed
  • redundancy and hot-swappable parts, so the machine runs for years without stopping
  • serving thousands of concurrent users fairly

What a supercomputer optimises. The wall-clock time of one enormous calculation. A weather model divides the atmosphere into millions of cells and solves equations for each, repeatedly. The design effort goes into:

  • the largest possible number of floating-point operations per second, across thousands of processors working on one problem
  • extremely fast interconnect between processors, since they must exchange partial results constantly
  • vector and parallel arithmetic units

Why they are not interchangeable.

Put the reservation system on a supercomputer and most of its arithmetic units sit idle while it waits on disk and network, and it has neither the transaction machinery nor the year-round reliability the job requires — an expensive machine doing an I/O-bound job badly.

Put the weather model on a mainframe and the single calculation runs far too slowly to be a forecast; a prediction of tomorrow's rain that takes three days to compute has no value at all.

The general principle. "Powerful" is not one quantity. A machine is fast at the thing it was designed to be fast at — here, transactions per second versus floating-point operations per second — and choosing hardware means matching the design to which of those the workload actually needs.

AnswerA mainframe is built for transaction throughput, I/O bandwidth and continuous reliability; a supercomputer for the FLOPS of a single parallel calculation. Each performs the other's workload badly.