Temporary Storage

Temporary Storage (Primary Storage) is the part of computer memory that holds data and programs currently being used by the processor. Also called RAM (Random Access Memory), it stores information temporarily and loses all data when power is turned off.

Quick Summary

  • Temporary storage is volatile memory that requires constant power
  • Also known as primary storage, internal memory, or main memory
  • Works directly with the CPU to run programs and process data
  • Much faster than permanent storage but more expensive
  • Common types include RAM (DRAM, SRAM) and cache memory

What is Temporary Storage?

Temporary storage refers to the computer’s working memory where data is stored for immediate use. Think of it like your school desk where you keep books and notes you are currently using. When school closes, you pack everything away because the desk is not meant for permanent storage.

The processor (CPU) can only work with data that is in temporary storage. When you open a Word document, the file moves from your hard drive into RAM. As you type, all changes happen in RAM first. If power goes off before you save, everything in RAM disappears.

Temporary storage is called “volatile memory” because it needs constant electricity to hold information. The moment power stops, all data vanishes instantly. This is different from permanent storage like hard drives that keep data even without power.

Characteristics of Temporary Storage

Speed: Temporary storage is extremely fast. RAM can transfer data at speeds of 20-30 GB per second, while hard drives only manage 100-200 MB per second. This speed difference is why computers load programs into RAM before running them.

Direct CPU Access: The processor reads from and writes to temporary storage directly. Every instruction the CPU executes and every calculation it performs involves moving data in and out of RAM. This direct connection makes computing possible.

Limited Capacity: Most computers have 4GB to 16GB of RAM. This is tiny compared to hard drives that can store terabytes. The reason is cost and technology. RAM chips are much more expensive to manufacture than storage drives.

Volatility: When you shut down your computer or there is a power cut, everything in temporary storage disappears completely. This is why computer programs constantly save work to permanent storage as you work.

Types of Temporary Storage

Random Access Memory (RAM): This is the main temporary storage in computers. It holds the operating system, running programs, and data you are currently using. The more RAM you have, the more programs you can run simultaneously without slowing down.

Cache Memory: This is a small amount of super-fast memory built into the processor itself. Cache holds frequently used data and instructions so the CPU does not have to fetch them from slower RAM repeatedly. Modern processors have multiple cache levels (L1, L2, L3).

Registers: These are tiny storage locations inside the CPU that hold data being processed right now. Registers are the fastest memory in the computer but hold only a few bytes. They work at the same speed as the processor itself.

How Temporary Storage Works

When you start your computer, the operating system loads from the hard drive into RAM. This takes a minute or two because copying gigabytes of data takes time. Once loaded, Windows or any operating system runs entirely from RAM.

When you open Microsoft Excel, the program files copy from your hard drive into RAM. Excel now runs from RAM. When you create a new spreadsheet and enter data, those numbers and formulas exist only in RAM. Click “Save” and Excel writes a copy to the hard drive for permanent storage.

As you work, the computer constantly swaps data between RAM and the hard drive. If you open many programs and run out of RAM, Windows uses part of the hard drive as “virtual memory” to extend RAM. This makes the computer slower because hard drives are much slower than RAM.

Temporary vs Permanent Storage

Feature Temporary Storage (RAM) Permanent Storage (Hard Drive)
Speed Very fast (20-30 GB/s) Slower (100-200 MB/s)
Volatility Loses data when power is off Keeps data without power
Capacity Small (4-16 GB typical) Large (500 GB – 2 TB typical)
Cost per GB Expensive (₦3,000-5,000/GB) Cheap (₦50-100/GB)
Purpose Run programs and process data Store files and programs long-term
CPU Access Direct and immediate Indirect through controllers

Why Computers Need Temporary Storage

Processors work incredibly fast, performing billions of calculations per second. If the CPU had to fetch data directly from a hard drive for every operation, it would spend most of its time waiting. Hard drives are thousands of times slower than processors.

RAM bridges this speed gap. Data moves from permanent storage into RAM, where the processor can access it quickly. This is why adding more RAM makes computers faster – the processor can keep more data close at hand without waiting for slow hard drive access.

Consider a JAMB CBT test centre. The examination software and all questions load into RAM when the computer starts. As you answer questions, the program runs from RAM and updates your responses in memory. Only when you submit does the computer save your answers to permanent storage.

Common Exam Mistakes

WAEC examiners report these common errors:

  • Confusing RAM with ROM: Students write that temporary storage is “read-only” or cannot be changed. RAM is read-write memory. ROM is read-only and is actually permanent storage.
  • Wrong examples: Listing hard drives or flash drives as temporary storage. These are permanent storage devices. Only RAM, cache, and registers are temporary storage.
  • Incomplete volatility explanation: Writing “data can be lost” instead of explaining that ALL data is ALWAYS lost when power stops. Volatility is not about possibility but certainty.
  • Mixing primary and secondary: Calling USB drives “primary storage” because they plug into the computer. Primary storage always means internal, temporary, volatile memory (RAM). External devices are secondary storage regardless of connection method.
  • Unclear speed comparison: Saying temporary storage is “a bit faster” than permanent storage. RAM is 100-200 times faster than hard drives and thousands of times faster than optical discs.

Practice Questions

Multiple Choice Questions

  1. What happens to data stored in temporary storage when the computer is turned off?
    a) It is automatically saved to the hard drive
    b) It remains in memory for 24 hours
    c) It is permanently lost ✓
    d) It moves to ROM for safekeeping

  2. Which of these is NOT a characteristic of temporary storage?
    a) It is volatile
    b) It is faster than permanent storage
    c) It works directly with the CPU
    d) It stores data even without power ✓

  3. The main type of temporary storage in computers is called:
    a) Read-Only Memory (ROM)
    b) Random Access Memory (RAM) ✓
    c) Hard Disk Drive (HDD)
    d) Solid State Drive (SSD)

  4. Why is temporary storage much faster than permanent storage?
    a) It uses electricity while permanent storage does not
    b) It is located inside the system unit
    c) It connects directly to the CPU with no moving parts ✓
    d) It has more capacity than permanent storage

Essay Questions

  1. Explain four differences between temporary storage and permanent storage in a computer system. (8 marks)

    Examiner’s tip: Use a comparison approach. State one feature, explain how it differs in temporary storage, then contrast with permanent storage. Examples: volatility, speed, capacity, cost.

  2. Describe three types of temporary storage and state the function of each. (9 marks)

    Examiner’s tip: WAEC wants you to name the type (RAM, cache, registers), explain what it does, and give an example of when it is used. Each type should get 3 marks (name, function, example).

  3. A student loses all the work on her computer science assignment when there is a power cut. Explain why this happened and suggest two ways she could prevent this problem in future. (6 marks)

    Examiner’s tip: Explain volatility of RAM (2 marks), then give TWO prevention methods (2 marks each) – examples: regular saving, UPS/backup power, auto-save features, working offline in apps with auto-save.

Memory Aid: FAST-V

Remember temporary storage characteristics with FAST-V:

  • F – Fast access speed
  • A – Active data only (currently in use)
  • S – Small capacity compared to permanent storage
  • T – Temporary holding (not for long-term)
  • V – Volatile (loses data without power)

Related Topics

  • Random Access Memory (RAM) – Learn about the main type of temporary storage
  • Read-Only Memory (ROM) – Understand permanent internal memory
  • Permanent Storage – Compare with temporary storage features
  • Storage Devices – Explore different devices for permanent storage
  • The PC’s Memory – Overview of computer memory systems

Leave a comment

not allowed!