Know and understand the differences between ROM (Read‑Only Memory) and RAM (Random‑Access Memory).
ROM is a non‑volatile memory that retains its contents even when the power is switched off. It is used to store firmware – the essential programs that start the computer and perform basic hardware control.
RAM is a volatile memory that loses its data when power is removed. It provides the workspace for the CPU to read and write data quickly while programs are running.
| Feature | ROM | RAM |
|---|---|---|
| Volatility | Non‑volatile – retains data without power | Volatile – data lost when power is removed |
| Purpose | Stores firmware, boot instructions, and permanent system software | Stores temporary data and program instructions while the computer is operating |
| Read/Write Capability | Primarily read‑only; writing is rare and usually done only by manufacturers or during firmware updates | Read and write operations are frequent and rapid |
| Speed | Slower than RAM (access times measured in microseconds) | Very fast (access times measured in nanoseconds) |
| Typical Capacity | Usually a few megabytes (e.g., BIOS chip 2–16 MB) | Typically several gigabytes (e.g., 4 GB, 8 GB, 16 GB, …) |
| Location on Motherboard | Integrated chips (e.g., BIOS/UEFI chip) or separate ROM modules | DIMM or SODIMM slots for RAM modules |
| Examples | BIOS/UEFI firmware, embedded system firmware, read‑only lookup tables | DDR4, DDR5 memory modules, video RAM (VRAM) on graphics cards |
ROM and RAM serve distinct but complementary roles in a computer system. ROM provides permanent, non‑volatile storage for critical startup instructions, whereas RAM offers high‑speed, volatile memory for active processing. Understanding their differences helps learners appreciate how computers manage both permanent and temporary data.