9.1 Computer Architecture, Hardware, Memory Hierarchy & Storage
Key Takeaways
Technological Knowledge is a topic within the possible RMR Regulation 88(ii) general-post model; use the announced syllabus to determine whether and how it is tested.
A useful historical teaching sequence is vacuum tubes, transistors, integrated circuits and microprocessors; the fifth-generation label often refers to knowledge-based computing and AI research, not a strict hardware standard.
In the simplified CPU model, the ALU performs arithmetic and logic, the control unit interprets instructions and coordinates operations, and registers hold small amounts of data and state.
Typical volatile registers, SRAM cache and DRAM main memory contrast with nonvolatile firmware storage and persistent secondary storage; retention does not mean permanent preservation.
One byte has eight bits; distinguish decimal kB/MB/GB from binary KiB/MiB/GiB. One KiB is 1,024 bytes, whereas one kB is 1,000 bytes.
Why computer hardware matters for SPSC
Regulation 88(ii) of the SPSC Recruitment Management Regulations (RMR) lists Technological Knowledge among General Knowledge topics in its possible general-post model (60% GK and 40% English). The syllabus for your particular advertised post determines the actual subjects and weights. For computer basics, distinguish the purpose of a device from the technology it uses.
Historical milestones and computer generations
Charles Babbage began designing the mechanical Analytical Engine in the 1830s. Ada Lovelace's 1843 published notes on the engine described an algorithm for calculating Bernoulli numbers, an important early contribution to programming. Alan Turing's 1936 work on computable numbers described an abstract computing machine.
A common introductory classification of electronic computing history uses generations. It is a teaching convention with overlapping periods, not a universal technical standard with exact cutoff dates:
| Label | Technology or development | Approximate historical context |
|---|---|---|
| First generation | Vacuum tubes | Large electronic computers of the 1940s and 1950s, including ENIAC |
| Second generation | Transistors | Transistorized computers from the late 1950s, e.g., IBM 7090 |
| Third generation | Integrated circuits | Greater circuit integration during the 1960s |
| Fourth generation | Microprocessors and increasing chip integration (including VLSI) | Intel 4004 commercially introduced in 1971; personal computers later expanded |
| Fifth-generation concepts | Knowledge-based information processing and parallel computing, often linked to AI | Japan's Fifth Generation Computer Project began in 1982; later AI and parallel architectures overlap with microprocessor development |
VLSI means very-large-scale integration; ULSI denotes ultra-large-scale integration. The terms are measures or descriptions of chip integration, not firm dates that separate all computers into five mutually exclusive types. Remember the physical sequence of discrete vacuum tubes, discrete transistors, integrated circuits, and microprocessors.
Stored-program architecture and CPU components
John von Neumann's 1945 draft report on the EDVAC described a design developed with the EDVAC project in which memory could hold data and instructions. The simplified von Neumann model uses shared memory for both. Actual computers may use separate instruction and data caches or more complex interfaces.
A central processing unit (CPU) processes instructions. In a simple model:
- Arithmetic logic unit (ALU): performs integer arithmetic and logical operations such as AND, OR and comparisons. Modern processors may have separate units for specialized operations.
- Control unit: interprets instructions and coordinates their execution. The simplified cycle fetches an instruction, decodes it, executes it and, when applicable, stores or writes back a result.
- Registers: small, fast storage locations within the processor for active data and state. A program counter (PC) tracks instruction position; an instruction register (IR) holds an instruction in the simplified model; an accumulator holds intermediate results in accumulator-based designs. A memory address register (MAR) and memory data register (MDR) illustrate how a simple design represents a memory address and the data being transferred. Actual architectures need not implement these as separately visible registers.
System interconnections carry data, address and control information. A textbook data bus carries data, an address bus identifies locations, and control signals coordinate operations. Modern buses and interconnects differ in their organization. Clock frequency is measured in hertz (GHz means billions of cycles per second); clock rate alone does not determine instructions per second or overall performance.
Input, output and dual-purpose devices
Input devices supply data to a computer; output devices present results. Some devices do both.
| Input technology | Purpose |
|---|---|
| Optical Mark Recognition (OMR) | Identifies marked positions on a form, such as filled answer bubbles |
| Optical Character Recognition (OCR) | Extracts machine-readable text from an image of printed or handwritten text |
| Magnetic Ink Character Recognition (MICR) | Reads characters printed with magnetic ink, such as encoded characters on bank cheques |
| Keyboard, mouse, scanner, microphone | Enter text, pointing input, images or audio |
Regulation 87 allows either OMR or computer-based testing depending on the SPSC test. If the admission instructions specify an OMR paper, use only the indicated writing instrument and follow the provided marking rules. Do not assume that all tests are delivered on bubble sheets.
Output examples include monitors, speakers, and printers. A monitor's resolution describes its pixel dimensions; refresh rate in hertz describes how often the display refreshes, not necessarily how many new frames the source produces. A conventional LED-backlit LCD uses an LCD panel with LED lighting, while OLED display pixels emit light.
| Printer family | Example | Basic distinction |
|---|---|---|
| Impact | Dot matrix | Pins strike an inked ribbon; can print multipart forms |
| Non-impact | Inkjet | Deposits small ink droplets |
| Non-impact | Laser | Electrophotographic drum, toner and fusing |
| Non-impact | Direct thermal | Heat-sensitive paper; common in receipt printing |
A touchscreen both displays output and receives touch input. A multifunction printer with scanner provides both input and output; a network interface can send and receive data. USB is a connection interface rather than an OCR or OMR technology.
Memory and storage hierarchy
A typical hierarchy balances access speed, capacity, cost and retention. Registers and cache are near the CPU, then main memory, then secondary storage. The relative speed and capacity depend on the particular design.
| Technology | Volatility | Common role |
|---|---|---|
| CPU registers | Generally volatile | Active operands, instruction position and state |
| SRAM (static RAM) | Volatile | Often used in processor caches; holds data without periodic capacitor refresh while powered |
| DRAM (dynamic RAM) | Volatile | Main working memory, e.g., DDR SDRAM; stored charge requires periodic refresh |
| ROM (read-only memory) and flash | Nonvolatile | Fixed or reprogrammable code/storage depending on type |
| SSD and HDD | Nonvolatile | Secondary storage of software and files |
Random-access memory describes an access property; common SRAM and DRAM are volatile, but not every random-access memory technology is. A ROM stores contents without continued power; programmable ROM (PROM) can be programmed once, erasable PROM (EPROM) can be erased and reused, and electrically erasable PROM (EEPROM) can be rewritten electrically. Modern flash is electrically erasable nonvolatile memory. BIOS is a traditional PC firmware implementation; UEFI defines a firmware-to-operating-system interface whose implementation initializes the platform and loads the operating system. Firmware is commonly stored in reprogrammable flash rather than permanent mask ROM.
A hard disk drive (HDD) stores data magnetically on rotating disks with moving heads. A solid-state drive (SSD) typically stores data using NAND flash and has no moving mechanical drive parts. SSDs usually have lower access latency than HDDs. SATA and NVMe are different storage interfaces/protocols; local NVMe drives commonly use PCI Express, whereas the NVMe standard also supports other transports. Performance varies by device and interface. Optical media include CDs, DVDs and Blu-ray Discs; they are read optically and differ in capacity and recording format. Persistent storage retains data without power but can fail, so backups matter.
Binary representation and units
A bit is a binary digit (0 or 1), a nibble is four bits, and a modern byte is eight bits. ASCII uses 7-bit codes (128 possible code values); various legacy 8-bit encodings extend ASCII differently. Unicode represents characters from many writing systems including Urdu and Sindhi; UTF-8 and UTF-16 are different encodings of Unicode, not fixed one-byte character tables.
Do not equate decimal prefixes with binary prefixes. The SI Brochure (2026 update) and IEC binary-prefix standard distinguish:
| Decimal unit | Exact bytes | Binary unit | Exact bytes |
|---|---|---|---|
| kilobyte (kB) | 1,000 | kibibyte (KiB) | 1,024 |
| megabyte (MB) | 1,000,000 | mebibyte (MiB) | 1,048,576 |
| gigabyte (GB) | gibibyte (GiB) | ||
| terabyte (TB) | tebibyte (TiB) | ||
| petabyte (PB) | pebibyte (PiB) |
The higher decimal prefixes exa, zetta, yotta, ronna and quetta (powers of 10) differ from the binary exbi, zebi, yobi, robi and quebi (powers of 2). Older materials sometimes use KB for 1,024 bytes; if an exercise explicitly defines that legacy convention, use it for that exercise, but the standards-based term is KiB. Example: 2 MiB = 2 × 1,048,576 = 2,097,152 bytes; 2 MB = 2,000,000 bytes. Distinguish bytes (B) from bits (bit or b): 1 MiB contains 8,388,608 bits.
Worked binary-decimal conversion
Binary place values grow from right to left: 1, 2, 4, 8, 16, 32. For 101101, the 1-bits correspond to 32, 8, 4 and 1:
To reverse the conversion, divide 45 by 2 repeatedly and record the remainders: 45→22 remainder 1, 22→11 remainder 0, 11→5 remainder 1, 5→2 remainder 1, 2→1 remainder 0, 1→0 remainder 1. Reading the remainders bottom to top gives 101101.
In an SPSC test delivered with a standardized paper bubble sheet rather than CBT, which scanning technology identifies filled answer bubbles?
Magnetic Ink Character Recognition (MICR)
Optical Character Recognition (OCR)
Optical Mark Recognition (OMR)
Universal Serial Bus (USB) Imaging
Which commonplace volatile memory technology does not need periodic capacitor refresh and is often used for processor cache?
Static RAM (SRAM)
Dynamic RAM (DRAM)
Electrically Erasable PROM (EEPROM)
NAND Flash Storage
What is the decimal (base-10) equivalent of the binary number 101101?
37
41
43
45
Sections you finish are checked off in the contents.