Memory (RAM and ROM) Revision Notes
Subject: Computer Science | Level: GCSE | Exam Board: OCR
Master the essentials of computer memory for your OCR GCSE exam. This guide breaks down RAM, ROM, and Virtual Memory with clear explanations, worked examples, and memory hooks to help you secure top marks.
Revision Notes & Key Concepts
Revision Podcast Transcript
# OCR GCSE Computer Science Podcast: Memory (RAM & ROM) **(Intro Music Fades In and Out)** **Host:** Hello and welcome to the GCSE Computer Science revision podcast! I'm your guide, and today we're diving into a fundamental part of any computer system: Memory. We'll be looking at RAM and ROM, what they do, why they're different, and how Virtual Memory saves the day. By the end of this episode, you'll be able to tackle those tricky exam questions with confidence. So, let's get started! **(Short musical sting)** **Host:** First up, let's talk about the big picture: Primary Storage. Imagine the CPU, the brain of the computer. It's incredibly fast, but it needs somewhere to hold the instructions and data it's working on right this second. That's the job of primary storage. It's the CPU's short-term workspace. Now, there are two main types you need to know for your exam: RAM and ROM. Let's start with RAM, or Random Access Memory. The best way to think about RAM is like your desk at school. It's where you put the textbooks, exercise books, and pens that you are using for the lesson you're in *right now*. It's your active workspace. In computer terms, RAM is where the operating system, your open applications—like your web browser or a game—and the data you're currently using are all stored. The key thing to remember about RAM, and this is a crucial exam point, is that it is **volatile**. That's a fancy word that simply means when you turn the power off, everything in RAM disappears. The desk is cleared, ready for the next day. So, for one mark in an exam, you'd say: 'RAM is volatile and loses its contents when power is removed.' So what about ROM? ROM stands for Read-Only Memory. If RAM is your desk, ROM is like the instruction manual that's been permanently glued to the inside of the desk lid. You can read it, but you can't change it, and it's always there, even when the desk is packed away. In a computer, ROM is **non-volatile**, meaning its contents are permanent and are not erased when the power is turned off. Its job is to hold the most essential startup instructions for the computer. This is called the **BIOS**—that's B-I-O-S—or the bootstrap loader. When you press the power button, the CPU looks at the ROM, which tells it how to perform a self-test and, most importantly, how to load the main operating system from the hard drive into RAM. So, for a mark, you'd say: 'ROM is non-volatile and stores the BIOS or bootstrap loader.' **(Short musical sting)** **Host:** Now, what happens when your desk, your RAM, gets completely full? If you try to open one more application, your computer could crash. This is where Virtual Memory comes in. It's a clever trick the operating system uses. It takes a section of your secondary storage—that's your hard drive or SSD—and uses it as a temporary extension of RAM. When physical RAM is full, the operating system moves data that hasn't been used recently from RAM to this special area on the hard drive, which is often called the 'paging file'. This process is called **swapping** or **paging**. This frees up space in RAM for the new application you want to open. The key trade-off? Accessing data from a hard drive is thousands of times slower than from RAM. So, while virtual memory is great because it prevents your system from crashing, it can really slow things down. An examiner would give credit for explaining that 'pages of data are swapped between RAM and secondary storage when RAM is full.' **(Short musical sting)** **Host:** Okay, let's talk exam technique. Here are some common mistakes and top tips. A very common mistake is being too vague. Candidates will write that ROM stores 'files' or 'the memory'. That won't get you the mark. You must be specific: it stores the **BIOS** or **bootstrap loader**. Another pitfall is with Virtual Memory. Many students think it makes the computer faster. It doesn't! It's a safety net that prevents crashes, but it slows down performance. Make sure you are clear on that distinction. So, my top exam tips. First, when a question asks you to 'compare' RAM and ROM, you must discuss both **volatility** AND **purpose** to get full marks. For example: 'RAM is volatile, whereas ROM is non-volatile. RAM stores data currently in use, whereas ROM stores the startup instructions.' That's a perfect, multi-mark answer. Second, for Virtual Memory questions, always mention the movement of data. Use the keywords 'swapping' or 'paging' and state that data is moved from RAM to secondary storage. **(Short musical sting)** **Host:** Ready for a quick-fire quiz to lock in that knowledge? I'll ask a question, pause, and then give the answer. Let's go! Question 1: Is RAM volatile or non-volatile? ...(pause)... Volatile. Question 2: What is the name of the program stored in ROM that starts the computer? ...(pause)... The BIOS or bootstrap loader. Question 3: What is the process of moving data between RAM and virtual memory called? ...(pause)... Paging or swapping. Question 4: True or False: Using virtual memory speeds up the computer. ...(pause)... False. It slows it down but prevents crashing. How did you do? If you got them all right, fantastic! If not, just rewind and listen to the core concepts again. **(Short musical sting)** **Host:** So, let's summarise. Today we've covered the three key memory concepts for your OCR GCSE exam. **RAM** is your fast, volatile workspace for everything you're currently doing. **ROM** is your permanent, non-volatile instruction book for starting the computer up. And **Virtual Memory** is the safety net that uses your hard drive as an overflow for RAM when it gets full, keeping your system running but at a slower pace. Thanks for listening to the GCSE Computer Science revision podcast. Keep up the great work, and I'll see you next time! **(Outro Music Fades In)**
Key Terms & Definitions
- Primary Storage
- The main memory of a computer that is directly accessible by the CPU. It is volatile and holds the operating system, applications, and data currently in use.
- RAM (Random Access Memory)
- Volatile primary storage that holds the operating system, applications, and data in current use. Its contents are lost when the power is turned off.
- ROM (Read-Only Memory)
- Non-volatile primary storage whose contents are permanent. It stores the BIOS or bootstrap loader, which contains the computer's startup instructions.
- Volatile
- A characteristic of memory that means its contents are erased when the power is turned off.
- Non-volatile
- A characteristic of memory that means its contents are retained even when the power is turned off.
- BIOS (Basic Input/Output System)
- Firmware stored in ROM that the CPU uses to perform startup procedures when the computer is turned on.
- Virtual Memory
- A section of secondary storage (e.g., a hard drive) that is used by the operating system to simulate additional RAM when the physical RAM is full.
- Paging/Swapping
- The process of moving data between physical RAM and virtual memory on secondary storage.
- POST (Power-On Self-Test)
- A diagnostic testing sequence run by the BIOS when the computer is powered on to check that hardware components are functioning correctly.
Worked Examples
Worked Example
Question: Compare two differences between RAM and ROM. [4 marks]
Solution: Step 1: Identify the first key difference - volatility. State the difference clearly for both RAM and ROM. Step 2: Identify the second key difference - purpose/use. State the purpose for both RAM and ROM. Step 3: Structure the answer for comparison. Final Answer: One difference is that RAM is volatile, meaning its contents are lost when the power is turned off, whereas ROM is non-volatile, meaning its contents are retained without power. [2 marks] A second difference is their purpose; RAM stores the operating system and programs currently in use, while ROM stores the BIOS/bootstrap loader to start the computer. [2 marks]
Worked Example
Question: Explain how virtual memory allows a computer to run more applications than it has physical RAM to store. [3 marks]
Solution: Step 1: State that virtual memory is a section of secondary storage. Step 2: Explain that data is moved from RAM to this area when RAM is full. Step 3: Use the correct terminology for this movement (paging/swapping). Final Answer: Virtual memory is a section of secondary storage (like the hard drive) that is used as a temporary extension of RAM. [1 mark] When physical RAM is full, data that is not currently in use is moved from RAM to the virtual memory area. [1 mark] This process is called swapping or paging, and it frees up space in RAM for new applications to be loaded. [1 mark]
Worked Example
Question: A computer has 4GB of RAM and is running slowly. A user decides to increase the amount of virtual memory. Evaluate this decision. [6 marks]
Solution: Step 1: Identify the pros of the decision (prevents crashing). Step 2: Identify the cons of the decision (slower access speeds). Step 3: Explain WHY it is slower (secondary storage vs primary storage access times). Step 4: Conclude with a clear judgement on the effectiveness of the decision. Final Answer: Increasing virtual memory will provide the computer with a larger temporary store to use when the 4GB of physical RAM becomes full. This is a positive step as it will prevent the computer from crashing due to a lack of memory when running many applications. [2 marks] However, this decision will not solve the problem of the computer running slowly and will likely make it worse. Accessing data from secondary storage (where virtual memory is located) is significantly slower than accessing it from RAM. [2 marks] The system will spend a lot of time swapping data between RAM and the hard drive (disk thrashing), which reduces overall performance. [1 mark] In conclusion, while increasing virtual memory is a temporary fix to avoid crashes, it is a poor solution for improving speed. A much better solution would be to install more physical RAM. [1 mark]
Worked Example
Question: State the purpose of ROM in a computer system. [1 mark]
Solution: Final Answer: ROM stores the BIOS/bootstrap loader, which contains the instructions to start the computer.
Practice Questions
Question: State what is meant by the term 'volatile'. [1 mark]
Answer:
Question: Describe the purpose of ROM in a computer system. [2 marks]
Answer:
Question: Explain two reasons why a computer needs RAM. [4 marks]
Answer:
Question: A computer user complains of poor performance. A technician notes that the hard disk activity light is constantly flashing. Explain what is likely causing this issue. [3 marks]
Answer:
Question: A smartphone is a computer system. Describe how RAM and ROM are likely used within it. [4 marks]
Answer:
Question: Compare the volatility of RAM and ROM. [2 marks]
Answer:


