What is the difference between RAM and ROM?
Resposta curta
RAM (random access memory) is volatile: it holds the programs and data currently in use and loses everything when the power is turned off. ROM (read-only memory) is non-volatile: it keeps its contents without power and stores the start-up instructions (the BIOS or boot program). RAM can be read and written; ROM is normally only read.
Passo a passo
- Volatile or not: RAM loses data without power, ROM keeps it.
- Purpose: RAM stores the operating system, open programs and data in use; ROM stores the boot instructions.
- Read or write: RAM can be changed constantly; ROM is read-only in normal use.
- Size: RAM is usually measured in gigabytes; ROM is much smaller.
Exemplo resolvido
What happens when you switch a computer on
- The CPU runs the boot program stored in ROM
- The boot program loads the operating system from storage into RAM
- You open apps, which are also loaded into RAM
Erros comuns
- Confusing RAM with storage. A hard drive or SSD stores files permanently; RAM is temporary.
- Saying ROM stores the operating system. It stores the instructions that load it.
- Saying more RAM makes the CPU faster. It lets more programs run without slowing down.
Uma aula particular é o jeito mais rápido de reforçar o que falta antes de uma prova. A primeira aula é grátis.
Encontrar um professor de Informática