Memory is one of the most frequently tested topics in IB Computer Science, yet many students lose marks by giving vague or incomplete explanations. In IB exams, students are expected to clearly distinguish between RAM, ROM, and cache memory, explaining not only what they are but why they exist and how they affect performance.
Understanding memory types also helps students make sense of CPU speed, system efficiency, and the fetch–decode–execute cycle.
What Is RAM?
Random Access Memory (RAM) is the computer’s main working memory.
RAM is used to:
- Store programs currently running
- Store data being actively used
- Hold instructions waiting to be executed
Key characteristics of RAM:
- Volatile: data is lost when the computer is turned off
- Fast: much faster than secondary storage
- Read/write: data can be changed constantly
In IB exam questions, RAM is often linked to:
- Program execution
- Multitasking
- System performance
More RAM allows more programs and data to be accessed at the same time.
What Is ROM?
Read Only Memory (ROM) stores permanent instructions needed to start the computer.
ROM is used for:
- Boot-up instructions
- Firmware
- Low-level system control
