Storage and Memory
Main Memory (RAM, ROM, and Cache); Secondary Storage Devices; Memory vs Storage and Capacity Units; Memory Hierarchy; RAM versus ROM; Cache Memory Levels
On this page9 sections
- 01Learning Objectives
- 02Main Memory (RAM, ROM, and Cache)
- 03Secondary Storage Devices
- 04Memory vs Storage and Capacity Units
- 05Memory Hierarchy
- 06RAM versus ROM
- 07Cache Memory Levels
- 08Practical Work
- 09Scenario-Based Questions
Learning Objectives
- Describe main memory, including RAM, ROM and cache.
- Identify secondary storage devices.
- Distinguish between memory and storage.
- Explain the memory hierarchy and the units of capacity.
Main Memory (RAM, ROM, and Cache)
Main memory is the working space of the computer, made up of chips the CPU can address directly. It exists in two main forms, RAM (Random Access Memory) and ROM (Read Only Memory). RAM is volatile, meaning it loses its contents when the computer is switched off. It holds running programs and data while the computer is on. ROM is non-volatile, meaning its contents remain even without power. It stores the boot and firmware instructions permanently.
The cache is a small, very fast memory placed between the CPU and RAM. It stores copies of frequently used data so the CPU does not have to wait for slower RAM. A bigger cache often makes a processor noticeably faster, which is why processor specifications advertise their cache size.
Today, 4 GB of RAM is enough for light school tasks, 8 GB suits general use with multiple apps, and 16 GB or more suits video editing and gaming. More RAM lets more programs run at the same time without slowing down.
Secondary Storage Devices
Secondary storage holds data and programs permanently, even when power is off. It is non-volatile. Four main families exist, namely magnetic storage (HDD), solid-state storage (SSD, flash), optical storage (CD, DVD, Blu-ray), and cloud storage managed on remote servers.
The hard disk drive (HDD) stores data on spinning magnetic platters. A read/write head hovers above the surface, like a record player needle but without touching. HDDs are cheap per gigabyte and come in large sizes (500 GB to many terabytes), making them ideal for desktops and backup drives. Their moving parts make them slower and more fragile than SSDs.
Solid state drives (SSDs) use flash memory with no moving parts. They are faster, quieter, cooler, and more shock-resistant than HDDs but cost more per gigabyte. A laptop with an SSD starts up in seconds, which is why most modern laptops ship with SSDs.
Optical discs (CD, DVD, Blu-ray) store data using laser-written pits on a plastic disc. A CD holds about 700 MB, a DVD holds 4.7 to 8.5 GB, and a Blu-ray disc holds 25 to 100 GB. Flash storage (USB flash drives, memory cards) uses flash memory chips and retains data without power. They are portable and convenient for file transfer.
Memory vs Storage and Capacity Units
Memory and storage are often confused, but they serve different purposes. Memory (RAM) holds data temporarily while the computer is running. Storage (HDD, SSD, flash) holds data permanently. A phone with 8 GB of RAM and 128 GB of storage uses the 8 GB for running apps and the 128 GB for storing photos, files, and apps.
Data is measured in units that get progressively larger. A bit is the smallest unit, a single 0 or 1. Eight bits make one byte, enough to store one character. A kilobyte (KB) is 1024 bytes, roughly half a page of text. A megabyte (MB) is 1024 KB, enough for a song or small photo. A gigabyte (GB) is 1024 MB, enough for a video or an app. A terabyte (TB) is 1024 GB, enough for hundreds of films. Each bigger unit is about 1024 of the previous one. Learners can estimate how many files fit by dividing one capacity by the other.
Choose storage by capacity (size of data), portability (do you carry it?), speed (do you run software from it?), and durability (rough travel?). For example, an operating system runs best from an SSD; film archives live best on a large HDD or cloud; everyday file transfer suits a flash drive.
Memory Hierarchy
A computer stores and moves data at different speeds and costs. The memory hierarchy organises storage from fastest and smallest at the top to slowest and largest at the bottom.
At the top are the registers, tiny and extremely fast storage built directly into the processor. Below that is cache, which is small and very fast, storing copies of frequently used data. Main memory (RAM) is larger but slower, holding programs and data in use. At the bottom is secondary storage (HDD, SSD, flash), which is slowest but holds data permanently.
Registers: fastest, built into the CPU
Cache: very fast, small, sits between the CPU and RAM
RAM: fast, moderate size, volatile
Secondary storage: slowest, largest, non-volatile
The faster the memory, the smaller its capacity and the higher its cost per byte. This is why computers use a hierarchy rather than one type of memory.
RAM versus ROM
RAM and ROM are both main memory but behave very differently. RAM (Random Access Memory) is volatile and read-write: it holds running programs and open files, and loses all data when the computer is switched off.
ROM (Read Only Memory) is non-volatile and read-only in normal use. It stores the startup instructions such as BIOS or UEFI firmware. Its contents are written once at the factory and survive power off.
A simple analogy: RAM is a whiteboard you write on during class; ROM is a printed card that never changes.
Cache Memory Levels
Modern processors use three levels of cache: L1, L2 and L3. L1 is the smallest and fastest, built into each core. L2 is larger and slightly slower, dedicated to each core. L3 is the largest and shared among all cores.
Cache speeds up processing through locality: programs tend to reuse the same data. When the CPU finds data in cache (a cache hit), it avoids the slower trip to main memory, making the system faster.
L1: 32 to 128 KB, fastest, one per core
L2: 256 KB to several MB, medium speed, one per core
L3: 4 to 32 MB, slowest cache, shared by all cores
| Feature | RAM | ROM |
|---|---|---|
| Full name | Random Access Memory | Read Only Memory |
| Volatile or non-volatile? | Volatile (lost without power) | Non-volatile (kept without power) |
| Purpose | Holds running programs and data | Holds the boot/firmware instructions |
| Can the CPU write to it? | Yes, freely | Normally read only |
| Example use | Open document, active apps | Startup firmware (BIOS/UEFI) |
| Device | How it stores data | Typical capacity | Typical use |
|---|---|---|---|
| CD | Laser-written pits on a plastic disc | 700 MB | Music, software, small backups |
| DVD | Laser-written pits, dual layer allowed | 4.7 to 8.5 GB | Films, larger archives |
| Blu-ray | Blue laser with higher density | 25 to 100 GB | High-definition video |
| USB flash drive | Flash memory chip | 16 GB to 1 TB | Portable file transfer |
| Memory card | Flash memory chip | 8 GB to 1 TB | Phones, cameras |
| Unit | Approximate size | Everyday example |
|---|---|---|
| Bit | A single 0 or 1 | Tiny switch value |
| Byte | 8 bits | One character of text |
| Kilobyte (KB) | 1024 bytes | Half a page of text |
| Megabyte (MB) | 1024 KB | A long song or small photo |
| Gigabyte (GB) | 1024 MB | A video or an app |
| Terabyte (TB) | 1024 GB | Hundreds of films |
Practical Work
- Draw a table comparing RAM and ROM.
- List three secondary storage devices and one use of each.
- Explain why memory is called temporary storage.
- Write the units of capacity from the bit upwards.
Scenario-Based Questions
- A student buys a laptop advertised as 8 GB RAM and 256 GB SSD. Explain what each figure means, which is volatile and which is non-volatile, and why the laptop needs both to work.
- A photographer stores photos of about 5 MB each. Using the capacity units in your note, estimate how many such photos fit on a 16 GB flash drive and how many fit on a 1 TB hard drive, showing the division you perform.
- A technician must choose storage for two jobs: running the operating system for instant start up, and keeping years of film archives. Using the HDD and SSD, recommend the right device for each job and justify with speed, capacity, and cost per gigabyte.
- A trader wants to carry business records between the shop and home every day, while a video editor needs to work on large projects without delay. Choose the most suitable storage for each person and justify your choices using portability and speed.
- A student says my phone's 128 GB is what stores the sentence I am typing right now. Correct the confusion between memory and storage using RAM and the phone storage, and explain what the 128 GB truly holds.
- A seller offers two nearly identical processors where one has more cache. Predict which processor runs noticeably faster, and explain where the cache sits and what it keeps for the CPU.
- A school must send a 50 GB high definition film to another school. Using the capacities in your note, explain why a DVD cannot take it, and recommend which of the Blu-ray disc or the flash drive is suitable, justifying your choice.
LEARNING OBJECTIVES: BY THE END OF THE LESSON STUDENTS SHOULD BE ABLE TO:
| Cognitive | i. Describe main memory, including RAM, ROM and cache. ii. Identify secondary storage devices. iii. Distinguish between memory and storage. iv. Explain the memory hierarchy and the units of capacity. |
| Affective | i. Appreciate the value of Storage and Memory in school, at home and in the community. ii. Show willingness to use digital tools carefully, safely and responsibly. |
| Psychomotor | i. Draw a table comparing RAM and ROM. ii. List three secondary storage devices and one use of each. iii. Explain why memory is called temporary storage. iv. Write the units of capacity from the bit upwards. |
Rationale: Main memory is the working space of the computer, made up of chips the CPU can address directly. Understanding main Memory (RAM, ROM, and Cache), secondary Storage Devices, memory vs Storage and Capacity Units, memory Hierarchy helps learners use digital technology confidently, safely and responsibly.
Pre-requisite Knowledge: In Week 5, learners studied Output Devices, including monitors and Soft Copy, printers, Speakers, and Projectors, plotters and Choosing the Right Output Device. The knowledge from that week is used again in this lesson.
Learning Material/Teaching Aid: Whiteboard, markers, computer or laptop where available, printed notes and charts on Storage and Memory, practical task sheets, learners' notebooks and pens.
Reference Materials: Digital Technology for Senior Secondary Schools (SS 1); NERDC Digital Technology Curriculum; Digital Technology SS 1 First Term Notes (Week 6); First Term examination and Continuous Assessment question papers.
LESSON DEVELOPMENT
| Stage/Step (Time) | Teacher's Activities | Student's Activities | Learning Points |
|---|---|---|---|
| Introduction 5 MINUTES | Welcomes learners, revises Week 5 (Output Devices) with two quick oral questions, and asks what they already know about Storage and Memory. Elicits responses and writes the topic on the board. | Recall the previous lesson and share what they already know about Storage and Memory. | Connecting prior knowledge to Storage and Memory. |
| Step 1 6 MINUTES | Covers Main Memory (RAM, ROM, and Cache): Main memory is the working space of the computer, made up of chips the CPU can address directly. It exists in two main forms, RAM (Random Access Memory) and ROM (Read Only Memory). Covers Secondary Storage Devices: Secondary storage holds data and programs permanently, even when power is off. It is non-volatile. | Listen, take notes and answer oral questions on "Main Memory (RAM, ROM, and Cache)" and related points. | Understanding: Main Memory (RAM, ROM, and Cache); Secondary Storage Devices. |
| Step 2 6 MINUTES | Covers Memory vs Storage and Capacity Units: Memory and storage are often confused, but they serve different purposes. Memory (RAM) holds data temporarily while the computer is running. Covers Memory Hierarchy: A computer stores and moves data at different speeds and costs. The memory hierarchy organises storage from fastest and smallest at the top to slowest and largest at the bottom. | Copy the key points, give examples from school and everyday life, and ask questions on "Memory vs Storage and Capacity Units" and related points. | Understanding: Memory vs Storage and Capacity Units; Memory Hierarchy. |
| Step 3 6 MINUTES | Covers RAM versus ROM: RAM and ROM are both main memory but behave very differently. RAM (Random Access Memory) is volatile and read-write: it holds running programs and open files, and loses all data when the computer is switched off. | Discuss in pairs, then report one point on "RAM versus ROM" to the class. | Understanding: RAM versus ROM. |
| Step 4 6 MINUTES | Covers Cache Memory Levels: Modern processors use three levels of cache: L1, L2 and L3. L1 is the smallest and fastest, built into each core. L2 is larger and slightly slower, dedicated to each core. | Respond to questions, complete the examples on the board and note down "Cache Memory Levels". | Understanding: Cache Memory Levels. |
| Practical Work 6 MINUTES | Guides learners through the practical work: (i) Draw a table comparing RAM and ROM. (ii) List three secondary storage devices and one use of each. (iii) Explain why memory is called temporary storage. Moves round the class to check progress and correct unsafe or careless use. | Carry out the practical tasks individually or in pairs and record what they did in their notebooks. | Applying the lesson through hands-on practice. |
| Evaluation 3 MINUTES | Asks learners to: i. Describe main memory, including RAM, ROM and cache. ii. Identify secondary storage devices. iii. Distinguish between memory and storage. iv. Explain the memory hierarchy and the units of capacity. | Respond verbally and in writing to the evaluation questions. | Assessment and consolidation of the lesson content. |
| Conclusion 2 MINUTES | Recaps the main points: main Memory (RAM, ROM, and Cache), secondary Storage Devices, memory vs Storage and Capacity Units, memory Hierarchy, rAM versus ROM. Links them to the assignment and previews Week 7: Computer Software. | Listen, ask questions and copy the assignment. | Reinforcement of key concepts and a preview of the next lesson. |
Assignment: i. (a) Differentiate clearly between Primary Memory and Secondary Storage, comparing RAM and ROM. (b) Perform the following storage scale conversions, showing all intermediate steps: (i) Convert 3 Gigabytes (GB) into Megabytes (MB). (ii) Convert 512 Bits into Bytes. (iii) Arrange the following storage capacities in descending order: 2 TB, 2,048 MB, 500 KB, 4,096 Bytes. ii. A student buys a laptop advertised as 8 GB RAM and 256 GB SSD. Explain what each figure means, which is volatile and which is non-volatile, and why the laptop needs both to work.
On this page9 sections
- 01Lesson objectives
- 02Key vocabulary
- 03Common misconceptions
- 04Teacher activities
- 05Student activities
- 06Practical / learning evidence
- 07Resources and preparation
- 08Assessment for learning
- 09Inclusion and homework
Lesson objectives
By the end of the week, learners should be able to:
- Distinguish memory from storage and give one example each.
- Explain why RAM is volatile and ROM is non-volatile.
- Convert between bytes, kilobytes, megabytes, gigabytes and terabytes using 1024.
- Classify storage devices as magnetic, optical or solid state.
- Compare storage media on capacity, speed, portability and cost.
Key vocabulary
- Memory: working space holding programs and data currently in use.
- Storage: long-term holding of files when the power is off.
- Volatile: loses contents when power is removed.
- Non-volatile: keeps contents without power.
- Byte: eight bits, the basic storage unit.
- Magnetic storage: stores data magnetically, such as a hard drive.
- Optical storage: read by a laser, such as a CD or DVD.
- Solid-state storage: flash memory with no moving parts.
- Capacity: the amount of data a device holds.
- Speed: how quickly data can be accessed.
Common misconceptions
- "Memory and storage are the same." RAM is temporary; storage keeps files when powered off.
- "Deleting a file removes it permanently." Deletion usually moves the file to the Recycle Bin first.
- "Cloud storage means the file is not on any device." Cloud storage needs a connection to reach files.
Teacher activities
- Starter: ask where a phone photograph goes when the phone is switched off.
- Draw the memory-versus-storage distinction and place RAM, ROM and storage correctly.
- Build the unit ladder bit, byte, KB, MB, GB, TB and work two conversions.
- Pass around a hard disk, a CD, a flash drive and a memory card.
- Compare capacities by converting and asking how many CDs equal one DVD.
- Close with the safe-use rules and the backup question.
Student activities
- Answer the starter in one sentence.
- Copy the memory and storage diagram and add two examples each.
- Complete five unit conversions showing the working.
- Identify each device passed round and write its storage type.
- Solve two capacity conversion problems with the method shown.
- Write three flash-drive safety rules and one sentence on backups.
Practical / learning evidence
A conversion worksheet with at least five worked conversions, a three-row storage-type table and the two worked capacity problems. Hand in all three for marking.
Resources and preparation
A hard disk drive, a CD or DVD, a flash drive and a memory card. Calculators for conversion work. Printed conversion worksheets. Offline route: physical media and worksheets. Warn learners not to insert unknown flash drives into laboratory machines.
Assessment for learning
Mark the working, not just the final answer, since a wrong answer from wrong work will fail later questions. Check that RAM sits under memory and not storage. Ask two learners to explain their capacity method aloud before collection.
Inclusion and homework
Provide a printed conversion ladder as a reference and reduce the worksheet to three items where time is short. Extend confident learners with a comparison of SSD and HDD for speed. Homework: find the storage capacity of any phone, memory card or computer you can access in gigabytes.