The Bootstrapping Process: When a computer is powered on, the CPU is hard-wired to look at a specific memory address in ROM. This triggers the 'Bootstrap' program, which performs a Power-On Self-Test (POST) and then loads the Operating System from secondary storage into RAM.
Data Swapping: Because RAM has a finite capacity (e.g., 8GB or 16GB), the operating system manages which data is currently held in RAM. If RAM becomes full, the system may use 'Virtual Memory' on the hard drive, though this significantly slows down performance compared to native RAM access.
Firmware Updates: While ROM is 'Read-Only' in daily use, modern systems often use Flash ROM (EEPROM). This allows the BIOS to be updated or 'flashed' through a specific controlled process, though it remains non-volatile and read-only during standard operation.
| Feature | RAM (Random Access Memory) | ROM (Read Only Memory) |
|---|---|---|
| Volatility | Volatile (lost when power is off) | Non-volatile (permanent) |
| Primary Use | Temporary workspace for active data | Permanent storage for startup (BIOS) |
| Read/Write | Read and Write | Read Only (mostly) |
| Capacity | Large (e.g., 8GB - 64GB) | Small (e.g., 4MB - 16MB) |
| Speed | Extremely Fast | Fast (but slower than RAM) |
Identify the Context: If a question asks about 'currently running programs' or 'multitasking,' the answer is almost always RAM. If it asks about 'startup,' 'booting,' or 'BIOS,' the answer is ROM.
The Volatility Test: Always check if the scenario involves a power loss. If the data must survive a reboot, it cannot be stored in RAM; it must be in ROM (for system data) or secondary storage (for user data).
Capacity Units: Be careful with units in exam questions. RAM is typically measured in Gigabytes (GB), while ROM is often measured in Megabytes (MB) or even Kilobytes (KB).
Common Comparison Points: When asked to compare them, always mention Volatility, Read/Write capability, and Purpose to secure full marks.
Confusing ROM with Hard Drives: Students often think ROM is where their files (photos, documents) are saved because it is 'permanent.' In reality, ROM is for system firmware; user files are stored in Secondary Storage (HDD/SSD).
The 'Read-Only' Misnomer: Many assume ROM can never be changed. While true for older 'Mask ROM,' modern computers use types of ROM that can be updated (flashed), but they are still categorized as ROM because they aren't written to during normal program execution.
Speed Hierarchy: Do not assume all primary memory is the same speed. RAM is optimized for the fastest possible throughput for the CPU, while ROM is slightly slower as it is optimized for data retention.