Navshala by Navrohi
📖 Notes · Computer हिंदीEnglish

Memory: Primary, Cache and Virtual

⏱️ 7 min📜 55 PYQ📝 129 MCQ

1. Memory: the study table and the cupboard

Imagine you are studying. The book you are reading now is on the table: right at hand, but there is little space. The other books are in the cupboard: lots of space, but they take time to fetch.

Primary memory (table)Secondary memory (cupboard)
ExamplesRAM, ROM, cachehard disk, SSD, pen drive, CD
Speedfastslow
Cost (per GB)costlycheap
Sizesmalllarge
To the CPUconnected directlyfirst brought into RAM
Other namesmain, internal, semiconductor memoryauxiliary, external, backup
Remember: primary memory is faster and costlier than secondary. Memory and storage differ in all three: cost, reliability and speed.
🔒 Further in this note
  • 2. The memory pyramid and volatile memory
  • 3. RAM: SRAM and DRAM
  • 4. ROM: permanent memory and its types
  • 5. Cache: the fast buffer between the CPU and RAM
  • 6. Virtual memory: borrowing from the disk when RAM runs out
  • 7. Memory addresses: how many address lines?
  • ⚠️ Where students go wrong most

The full note, 3 try-it tools and all 129 MCQs of this chapter come with the full subject: ₹99

or ⭐ all 14 subjects + every PYQ for ₹599 a year (Full GS Pass)

How the exam asked it

  • Why refresh DRAM? To recharge the capacitors · ROM erased electrically many times? EEPROM · Main use of ROM? BIOS/firmware (SSC CGL 2024)
  • Address lines for a 4K × 8 memory? 12 (SSC CGL 2025)
  • Refreshed many times a second? DRAM · Fastest chip? SRAM · ROM is also called? Permanent storage (Allahabad HC)
  • Cache works between? CPU and RAM · The CPU's internal memory? A group of registers · Fastest (CD-ROM, RAM, register, cache)? Register (Allahabad HC)
  • Primary vs secondary? Faster and costlier · Auxiliary memory? Secondary storage · Cache and main memory with power off? Volatile (Allahabad HC)

Check yourself

1. Why does DRAM need to be refreshed from time to time?

Answer: B. To recharge the capacitors that hold the bits · DRAM keeps each bit as charge in a capacitor, which leaks. A refresh fills it up again.

2. Which ROM can be erased electrically and reprogrammed many times?

Answer: C. EEPROM · EEPROM = Electrically Erasable PROM. EPROM is erased with UV light; PROM can be written only once.

Asked in the exam (PYQ)

📜 SSC CGL 2024 (Tier-II) · 18 January 2025 · Full paper

What is the primary reason DRAM needs to be refreshed periodically?

Answer: B. To recharge the capacitors storing data bits · DRAM stores each bit as a charge in a tiny capacitor, which slowly leaks, so it must be refreshed every few milliseconds. SRAM uses flip-flops and needs no refresh, which makes it faster and suitable for cache memory.

More PYQs from this chapter

All 55 PYQs of this chapter are on the mind map and with the PYQ Pass.

Read next

← CPU (Central Processing Unit) and MotherboardPrevious chapter Secondary Storage Devices →Next chapter ComputerAll chapters
⭐ Full GS Pass: all 14 subjects + every PYQ · ₹399 for 6 months · ₹599 a yearAll 14 bought one by one cost ₹1,216. New subjects come free.See plans →