Computer Memory
RAM, cache and persistent storage
Core concepts
Registers and cache help processors access frequently needed data quickly. RAM stores active programs and data. Persistent storage retains files without continuous power. Capacity and access speed are different properties.
Worked example
Opening a spreadsheet loads working data into RAM. Saving writes changes to persistent storage. Closing the application releases its working memory.
Practice activity
Compare the RAM and storage capacities shown in system settings. Explain which upgrade might help when many applications are open.
Common mistakes
Free disk space is not the same as free RAM. Virtual memory uses storage and is generally slower than RAM.
Review your understanding
Explain the core concept in your own words, then complete the activity without referring to the example. Compare your result with the example and identify any difference. Write down one question you still have and revisit the relevant concept before moving on.
Key points to remember
- Primary memory (RAM, ROM, cache) is directly accessed by the CPU; secondary storage (HDD, SSD, pen drive) keeps data permanently.
- RAM is volatile – its contents are lost when power is switched off. ROM is non-volatile and stores start-up firmware.
- Memory hierarchy from fastest to slowest: registers → cache → RAM → SSD → hard disk → optical disc.
- Cache memory stores frequently used instructions close to the CPU, so programs run faster.
- More RAM lets you keep more programs and browser tabs open smoothly; more storage lets you save more files.
- Example: an unsaved Word document lives in RAM; pressing Ctrl+S writes it to the SSD or hard disk so it survives a power cut.
Quick check: test yourself
Answer these questions without looking at the notes. Options are shuffled every time.