PROM (Programmable ROM): Manufactured as blank chips that can be programmed once by the user using a special device; once written, the data is permanent and cannot be altered.
EPROM (Erasable Programmable ROM): Can be erased by exposing the internal chip to ultraviolet (UV) light through a clear window. This requires the chip to be physically removed from the circuit board for updating.
EEPROM (Electrically Erasable Programmable ROM): Allows data to be erased and rewritten using electrical voltages while still installed in the device. Flash memory is a modern high-performance derivative of EEPROM used in SSDs and BIOS chips.
| Feature | RAM | ROM |
|---|---|---|
| Volatility | Volatile (Lost without power) | Non-volatile (Retained) |
| Read/Write | Full Read and Write capability | Primarily Read-only |
| Speed | Extremely fast | Fast (but slower than RAM) |
| Capacity | Large (e.g., 8GB - 64GB) | Small (e.g., 4MB - 32MB) |
| Contents | OS, running apps, current data | Bootstrap, BIOS, Firmware |
| Feature | SRAM | DRAM |
|---|---|---|
| Mechanism | Flip-flops (Transistors) | Capacitors and Transistors |
| Refreshing | Not required | Required constantly |
| Application | CPU Cache | Main System RAM |
| Cost/Density | High cost / Low density | Low cost / High density |
Identify the 'Why': If a question asks why DRAM is used for main memory, focus on cost per gigabyte and physical size (density) rather than just saying it is 'standard'.
Volatility Check: Always verify if the scenario involves data that must survive a reboot. If it does, the answer must involve a form of ROM or secondary storage.
The Refresh Factor: A common exam pattern is identifying memory based on the need for a 'refresh cycle'. Only DRAM requires this; if the memory is fast and doesn't refresh, it is SRAM.
Flash Memory Nuance: Remember that while Flash memory behaves like storage, it is technically a type of EEPROM. In exams, it is often categorized under non-volatile primary memory when discussing BIOS.