difference between RAM and ROM:
| Feature | RAM (Random Access Memory) | ROM (Read Only Memory) |
|---|---|---|
| Full Form | Random Access Memory | Read Only Memory |
| Volatility | Volatile – loses data when power is off | Non-volatile – retains data even without power |
| Purpose | Temporary storage for programs and data currently in use | Stores permanent instructions required to boot the computer |
| Read/Write | Both readable and writable | Mostly readable, rarely writable (some types like EEPROM can be rewritten) |
| Speed | High speed, fast access | Slower compared to RAM |
| Storage Type | Primary storage | Primary storage |
| Example | System RAM modules in desktops/laptops | BIOS chip, Firmware |
| Cost | Expensive per GB | Relatively cheaper per unit |
| Size | Usually larger capacity (GBs) for active programs | Usually smaller capacity (MBs) for system instructions |