What is a computer?
A computer is an electronic machine. It takes data in, works on it and gives a result. It follows a program. A program is a list of instructions.
Data means raw facts, like 72 or "Ravi". Information is data that has been worked on and is useful, like "Ravi scored 72, first in class".
Evolution of computing devices
- Abacus (very old): beads on rods to add and subtract.
- Pascaline (1642, Blaise Pascal): gears that could add and subtract.
- Analytical Engine (1834, Charles Babbage): the first design of a machine that could follow a program. Ada Lovelace wrote steps for it, so she is called the first programmer.
- Tabulating machine (1890, Herman Hollerith): read punched cards for the US census.
- ENIAC (1946): a huge electronic computer made of vacuum tubes.
- Von Neumann idea (1945): keep the program in memory with the data. All modern computers use this.
- Transistor (1947) and IC chip (1958) made computers small.
- Microprocessor (1971, Intel 4004): a whole CPU on one chip. This gave us the PC (1981), laptops and smartphones (2007).
Generations of computers
1st: vacuum tubes. 2nd: transistors. 3rd: integrated circuits. 4th: microprocessors (VLSI). 5th: AI, parallel processing. Each generation was smaller, faster, cheaper and used less power.
Components of a computer system
Look at the block diagram in step 3.
- Input unit: takes data and instructions from us. It changes them into 0s and 1s.
- CPU (Central Processing Unit): the brain. It has the ALU (Arithmetic Logic Unit), which adds and compares, the CU (Control Unit), which gives orders to every part, and registers, tiny fast stores inside the CPU.
- Memory: keeps data and programs. Primary memory (RAM) is used while working. Secondary storage (hard disk, SSD) keeps them for later.
- Output unit: changes 0s and 1s back into a form we understand, like text on a screen or a printed page.
Hardware is the part you can touch. Software is the set of programs. One is useless without the other.
Connections: buses and ports
A bus is a set of wires that carries signals between parts on the motherboard.
- Data bus: carries the actual data. Two-way.
- Address bus: carries the memory address, that is, where to read or write. One-way, from CPU to memory.
- Control bus: carries commands like "read" or "write" and timing signals.
A port is a socket on the outside of the computer. USB joins keyboards, mice and pen drives. HDMI and VGA join monitors and projectors. An audio jack joins speakers. An Ethernet (LAN) port joins the network. Bluetooth and Wi-Fi join devices without wires.
Input and output devices
Input devices
Keyboard, mouse, scanner, microphone, webcam, joystick, barcode reader, biometric (fingerprint) sensor, OMR and OCR readers, touchpad, stylus.
Output devices
Monitor, printer (inkjet, laser, dot-matrix), plotter, speaker, headphones, projector, 3D printer.
Both input and output
A touchscreen takes your touch (input) and shows pictures (output). A headset with a mic also does both.
Tip: ask "Does data go INTO the computer or come OUT of it?"
Try it: I-P-O-S hunt at home
Walk around your home. Find 3 machines with a tiny computer inside: a washing machine, a microwave, a TV remote, a phone. For each, write: what is the input (buttons, touch, voice)? What is the output (display, sound, motion)? Then open step 6 of the 3D and test yourself on 5 devices before checking.
Key formulas and definitions
- Computer = Input → Process (CPU) → Output, with Storage
- CPU = ALU + CU + registers
- Buses: data (two-way), address (one-way), control
- Generations: tube → transistor → IC → microprocessor → AI
Worked examples
1. Classify: scanner, plotter, touchscreen, microphone.
Scanner: input. Plotter: output. Touchscreen: both. Microphone: input.
2. You click "Print" on a document. Trace the path through the parts.
The mouse click is input. The CPU (CU) reads the command, fetches the file from memory, the ALU prepares the page, and data goes through a port to the printer (output).
3. Why can the address bus be one-way while the data bus is two-way?
Only the CPU decides which address to use, so addresses go one way (CPU → memory). Data must go both ways: read from memory to CPU and write from CPU to memory.
4. Put these in time order: microprocessor, ENIAC, Pascaline, Analytical Engine.
Pascaline (1642) → Analytical Engine (1834) → ENIAC (1946) → microprocessor (1971).
Common mistakes
- Calling the CPU cabinet "the CPU". The CPU is the chip inside; the box is the cabinet.
- Thinking a touchscreen is only output. It is both input and output.
- Mixing up data and information. Data is raw; information is processed and useful.
- Saying the address bus is two-way. It carries addresses only from the CPU.