Primary Memory Explained – RAM vs ROM (O Level Computer Science 2210 / IGCSE 0478)
What Is Primary Memory?
Primary memory (also called main memory) is the memory directly accessed by the CPU to store data and instructions currently being used.
Primary memory is essential because it allows the CPU to quickly access the programs and data needed for processing.
Primary memory mainly consists of:
RAM (Random Access Memory)
ROM (Read Only Memory)
Random Access Memory (RAM)
RAM is a type of memory used to temporarily store data and programs currently being used by the computer.
RAM is called volatile memory, which means:
Data is lost when the computer is turned off.Functions of RAM
RAM stores:
Running programs
Open files
Data currently being processed
Advantages of RAM
Very fast data access
Allows quick program execution
Improves overall system performance
Example
When you open a web browser or run a game, the program is loaded into RAM so the CPU can access it quickly.
Read Only Memory (ROM)
ROM is memory that stores permanent instructions required to start the computer.
ROM is non-volatile memory, which means:
Data remains stored even when power is turned off.Functions of ROM
ROM stores the boot program (firmware) that starts the computer when it is powered on.
This process is known as booting.
Advantages of ROM
Permanent storage of essential instructions
Data cannot be easily modified
Reliable for system startup processes
RAM vs ROM Comparison
FeatureRAMROMTypeVolatileNon-volatilePurposeTemporary data storagePermanent system instructionsData loss when power offYesNoSpeedVery fastSlower than RAM
Both types of memory are necessary for proper computer operation.
Why Primary Memory Is Important
Primary memory allows the computer to:
Run programs efficiently
Process data quickly
Start the operating system
Without primary memory, the CPU cannot execute instructions effectively.
Real-Life Example
When you turn on a computer:
1️⃣ ROM contains the boot instructions
2️⃣ The operating system is loaded from storage into RAM
3️⃣ The CPU then begins executing programs
This process allows the computer to start functioning normally.
Exam Tip (2210 / 0478)
Students are often asked to:
Define RAM
Define ROM
Compare RAM and ROM
A common exam question is:
Explain one difference between RAM and ROM.
Practice Question
Explain one advantage of ROM over RAM.
Answer
ROM retains data even when the computer is turned off because it is non-volatile memory.
Study Computer Science with IVY Online
Preparing for Cambridge O Level Computer Science (2210) or IGCSE Computer Science (0478) requires strong conceptual understanding and exam-focused practice.
With the IVY Online App, students can access:
Complete syllabus coverage
Interactive concept explanations
Past paper practice
Exam-focused revision
📱 Download the IVY Online App and start preparing smarter for Computer Science exams.

