Computer System Organization & Memory Units
A Computer System is an integrated set of hardware and software components designed to accept raw input data, process it according to programmed instructions, and produce meaningful output information.
1. Functional Architecture of a Computer
The classical Von Neumann Architecture models the flow of data and control instructions through four primary functional units:
mermaid
graph LR
Input["Input Devices<br><i>Keyboard, Mouse, Scanner</i>"] --> CPU["Central Processing Unit (CPU)"]
CPU --> Output["Output Devices<br><i>Monitor, Printer, Speaker</i>"]
subgraph CPU Organization
CU["Control Unit (CU)"]
ALU["Arithmetic Logic Unit (ALU)"]
REG["CPU Registers"]
end
CPU <--> Primary["Primary Memory (RAM / Cache)"]
Primary <--> Secondary["Secondary Storage (SSD / HDD)"]1.1 Central Processing Unit (CPU)
Known as the "Brain of the Computer", the CPU executes program instructions:
- Arithmetic Logic Unit (ALU): Performs arithmetic calculations (
) and logical comparisons ( ). - Control Unit (CU): Decodes instructions, coordinates timing signals, and directs data movement between CPU components, memory, and I/O devices.
- Registers: Ultra-high-speed temporary storage locations located inside the CPU chip (e.g., Program Counter, Accumulator, Memory Data Register).
2. Memory Hierarchy & Types
mermaid
graph TD
Hierarchy["Computer Memory Hierarchy (Fastest / Most Expensive to Slowest)"]
Hierarchy --> R["1. Registers (Inside CPU)"]
R --> C["2. Cache Memory (L1, L2, L3 - SRAM)"]
C --> RAM["3. Primary Memory (RAM - DRAM)"]
RAM --> ROM["4. Read-Only Memory (ROM - Firmware)"]
ROM --> Sec["5. Secondary Storage (SSD, NVMe, HDD)"]
Sec --> Aux["6. Tertiary / Cloud Storage"]2.1 Primary Memory: RAM vs ROM
| Parameter | RAM (Random Access Memory) | ROM (Read Only Memory) |
|---|---|---|
| Volatility | Volatile (data lost when power is turned off) | Non-Volatile (data retained permanently) |
| Operation | Read and Write operations permitted | Read-only during normal operation |
| Content | Currently active OS programs and user applications | Bootstrap loader, BIOS / UEFI firmware |
| Speed | Extremely fast electronic access | Slower than RAM |
| Types | SRAM (Static RAM - Cache), DRAM (Dynamic RAM) | PROM, EPROM (UV erasable), EEPROM (Electrically erasable) |
2.2 Cache Memory
A small, extremely fast SRAM buffer situated between the CPU and the main RAM. It stores frequently accessed instructions and data to bridge the speed mismatch between the fast CPU clock and slower main memory access.
3. Data Storage Units & Conversion Mathematics
The fundamental unit of information in digital computing is the Bit (Binary Digit,
Standard Binary Memory Multipliers ( Series)
| Unit | Symbol | Exact Power of 2 | Equivalent in Bytes | Equivalent in Preceding Unit |
|---|---|---|---|---|
| Kilobyte | KB | |||
| Megabyte | MB | |||
| Gigabyte | GB | |||
| Terabyte | TB | |||
| Petabyte | PB | |||
| Exabyte | EB | |||
| Zettabyte | ZB | |||
| Yottabyte | YB |
4. Board Practice Problems: Unit Conversions
Problem 1 (CBSE Board 1-Mark)
How many Kilobytes (KB) are there in
Solution:
Problem 2
A video file has a size of
Solution: