0
0

Computer Memory Basics

Introduction

Computer memory is one of the most important foundational concepts in Computer Aptitude. Almost every exam tests whether you understand where data is stored, how long it is stored, and what happens when power is turned off.

Questions from this pattern are usually direct and help build clarity for hardware and OS topics.

Pattern: Computer Memory Basics

Pattern

Computer memory is used to store data, instructions, and results temporarily or permanently, and is broadly classified into Primary and Secondary memory.

Step-by-Step Example

Question

Which type of memory loses its data when the computer is switched off?

Options:

  • A. ROM
  • B. Hard Disk
  • C. RAM
  • D. Pen Drive

Solution

  1. Step 1: Identify the power dependency

    The question asks about memory that depends on continuous power supply.
  2. Step 2: Recall memory characteristics

    RAM stores data temporarily and requires power to retain information.
  3. Step 3: Eliminate non-volatile memories

    ROM, hard disk, and pen drive retain data even when power is off.
  4. Final Answer:

    RAM → Option C
  5. Quick Check:

    Open files disappear after shutdown → RAM confirmed as volatile ✅

Quick Variations

1. Memory that is volatile → RAM.

2. Memory that stores data permanently → ROM / Hard Disk.

3. Main memory directly accessed by CPU → Primary memory.

4. External storage devices → Secondary memory.

Trick to Always Use

  • Step 1 → If data disappears on power off → Volatile.
  • Step 2 → If data is permanent → Non-volatile.
  • Step 3 → If CPU accesses it directly → Primary memory.

Summary

Summary

  • Memory stores data, instructions, and results.
  • Primary memory includes RAM and ROM.
  • RAM is volatile; ROM is non-volatile.
  • Secondary memory provides long-term storage.

Example to remember:
RAM forgets, ROM remembers.

Practice

(1/5)
1. Which type of memory is directly accessed by the CPU during program execution?
easy
A. Primary memory
B. Secondary memory
C. Cache memory
D. External storage

Solution

  1. Step 1: Identify CPU access requirement

    The CPU needs immediate access to data and instructions.
  2. Step 2: Recall memory classification

    Primary memory is directly accessible by the CPU.
  3. Final Answer:

    Primary memory → Option A
  4. Quick Check:

    CPU fetches instructions from main memory → primary memory confirmed ✅
Hint: Direct CPU access = Primary memory.
Common Mistakes: Choosing secondary storage due to large capacity.
2. Which of the following is an example of non-volatile memory?
easy
A. RAM
B. Cache memory
C. ROM
D. Registers

Solution

  1. Step 1: Identify power dependency

    Non-volatile memory retains data without power.
  2. Step 2: Recall memory types

    ROM stores data permanently.
  3. Final Answer:

    ROM → Option C
  4. Quick Check:

    System firmware remains after shutdown → ROM confirmed ✅
Hint: Permanent storage inside system = ROM.
Common Mistakes: Assuming all internal memory is volatile.
3. Which memory temporarily stores data and instructions while a program is running?
easy
A. Hard Disk
B. ROM
C. RAM
D. DVD

Solution

  1. Step 1: Focus on temporary storage

    The question mentions data during program execution.
  2. Step 2: Match with correct memory

    RAM is used for temporary storage while programs run.
  3. Final Answer:

    RAM → Option C
  4. Quick Check:

    Closing programs clears memory → RAM confirmed ✅
Hint: Running program data = RAM.
Common Mistakes: Choosing hard disk due to storage capacity.
4. Which memory is used to store the basic input/output system (BIOS)?
medium
A. RAM
B. Cache
C. ROM
D. Hard Disk

Solution

  1. Step 1: Identify system startup role

    BIOS is required during booting.
  2. Step 2: Recall permanent memory

    BIOS is stored in ROM so it is available on startup.
  3. Final Answer:

    ROM → Option C
  4. Quick Check:

    Computer starts even without OS loaded → BIOS in ROM ✅
Hint: Startup instructions = ROM.
Common Mistakes: Assuming BIOS is stored on hard disk.
5. Which type of memory is used for long-term storage of large amounts of data?
medium
A. RAM
B. Cache memory
C. Registers
D. Secondary memory

Solution

  1. Step 1: Identify storage duration

    The question focuses on long-term storage.
  2. Step 2: Recall memory classification

    Secondary memory stores data permanently and in large quantities.
  3. Final Answer:

    Secondary memory → Option D
  4. Quick Check:

    Hard disk and SSD store data long-term → secondary memory confirmed ✅
Hint: Long-term bulk storage = Secondary memory.
Common Mistakes: Choosing RAM due to frequent usage.

Mock Test

Ready for a challenge?

Take a 10-minute AI-powered test with 10 questions (Easy-Medium-Hard mix) and get instant SWOT analysis of your performance!

10 Questions
5 Minutes