Search the courses, subjects, tracks, games and features, or jump straight to a page.
The memory the CPU uses directly, made up of RAM and ROM.
Volatile memory that holds the programs and data in use and loses them when the power is off.
Non-volatile memory that keeps firmware and the bootstrap program; its types include PROM, EPROM and EEPROM.
Permanent storage such as hard disks, SSDs, optical discs, pen drives and cloud storage.
Files are copied from storage into RAM to be used, and written back to storage when they are saved.
Memory units hold the data and instructions a computer works with. This section covers primary memory (RAM and ROM), which the CPU uses directly, and secondary memory, which keeps data permanently.
This section has two sub-lessons. Primary Memory (Main Memory) explains volatile RAM, which holds the programs and data in use, and non-volatile ROM, which holds firmware and the start-up (bootstrap) program. Secondary Memory (Storage) explains how hard disk drives, solid-state drives, optical discs, pen drives and cloud storage keep data even when the power is off, and how they differ in capacity, speed, durability and cost.
A computer needs two kinds of memory: fast memory for the instructions and data it is using right now, and permanent memory for files that must survive when the power is switched off. The two sub-lessons cover these two needs in turn.
1. Primary Memory (Main Memory)
2. Secondary Memory (Storage)
How the two work together: when you open a file, it is copied from secondary memory into RAM, and the CPU works on it there; when you save it, the changes are written back to secondary memory. Primary memory is faster but smaller, and RAM is temporary; secondary memory is slower but much larger and permanent. The next section, Storage Devices, looks at secondary storage devices in more detail.