Primary Storage
When you open a program on your device, it is loaded into RAM.
RAM is volatile memory. This means that when you close the program, all data is lost (unless you save it onto secondary storage, eg SSD).
RAM is connected directly to the CPU. Memory connected to the CPU is known as PRIMARY MEMORY.
Other examples of primary memory are:
- ROM: non-volatile memory storing startup instruction for your computer.
- Cache: volatile memory which is located closer to the CPU than RAM. Stores frequently used instruction, speeding up processing.
Cache comes in 3 common forms: L1, L2 and L3 cache.