Comprehensive Study Guide & Exam Revision Overview: Memory Types (RAM/ROM/Storage) - AHC RO/ARO Study Guide

Welcome to the official Memory Types (RAM/ROM/Storage) - AHC RO/ARO Study Guide study resource on SJMaths, specially curated for Allahabad High Court RO/ARO Mains candidates and aspirants. This page features high-yielding study material, core concepts, essential formulas, shortcut strategies, and topic-wise revision notes structured to maximize your exam performance.

Key Features & Learning Modules:

Tip: Bookmark this page for daily revision and practice tests. Use SJMaths' interactive modules to track your preparation progress.

Memory Types (RAM/ROM/Storage)

Comprehensive guide to computer memory and storage. Master the memory hierarchy, Cache levels, volatile vs non-volatile memory, SRAM vs DRAM, EPROM/EEPROM, magnetic/optical/SSD storage, virtual memory, and measurement units.

Chronological Evolution of Memory Technologies

Click on any milestone card below to view standardizing achievements and timeline parameters.

Memory Types Core Study Notes

Review RAM, ROM, cache hierarchy, and secondary storage devices.

1. Memory Hierarchy & Cache Performance

Computer systems implement a memory hierarchy to balance access speed, storage capacity, and hardware cost.

A. The Memory Hierarchy Pyramid

As you move down the hierarchy:

  • Access Speed decreases (Registers are fastest, HDDs/magnetic tapes are slowest).
  • Storage Capacity increases (Registers hold bytes, HDDs hold Terabytes).
  • Cost per bit decreases (Registers are very expensive, secondary storage is extremely cheap).

B. Cache Memory & Locality of Reference

Cache memory is situated between the CPU and main RAM. It relies on the principle of Locality of Reference:

  • Temporal Locality: If a memory location is accessed once, it is highly likely to be accessed again in the near future (e.g., loop variables).
  • Spatial Locality: If a memory location is accessed, nearby locations are likely to be accessed soon (e.g., array traversal).

Cache Levels: L1 Cache is built inside each CPU core (smallest, fastest). L2 Cache is slightly larger and placed close to the core. L3 Cache is shared among all CPU cores on the chip (largest, slowest cache level).

2. Primary Memory: SRAM, DRAM, and ROM variations

Primary memory is directly addressable by the CPU using the system bus. It is divided into volatile RAM and non-volatile ROM.

A. RAM (Random Access Memory) - Volatile

Feature Parameter SRAM (Static RAM) DRAM (Dynamic RAM)
Basic Cell Element Flip-flops (uses 4-6 transistors). A single transistor and a capacitor.
Electrical Refreshing Not required. Retains charge as long as power is active. Required periodically because capacitors leak charge.
Speed & Access Time Extremely fast (1-10 ns). Slower (30-80 ns).
Cost & Density Highly expensive, lower storage density. Cheap, high storage density (ideal for main memory).
Primary Application CPU Cache memory (L1, L2, L3). System Main Memory (System RAM).

B. ROM (Read Only Memory) - Non-Volatile

  • PROM (Programmable ROM): Manufactured blank. The user can program it once using a PROM programmer. It cannot be erased thereafter.
  • EPROM (Erasable PROM): Can be erased by exposing the chip to Ultraviolet (UV) light for about 20-30 minutes through a quartz window.
  • EEPROM (Electrically Erasable PROM): Can be erased and rewritten electrically, byte-by-byte.
  • Flash Memory: A specialized block-erasable derivative of EEPROM. Used in SSDs, memory cards, and USB flash drives because it is faster than byte-erasable EEPROM.

3. Secondary Storage & Measurement Standards

Secondary storage is non-volatile, high-capacity, and is used to store programs and data permanently.

A. Storage Media Technologies

  • Magnetic Storage: Uses magnetic fields. Hard Disk Drives (HDDs) contain rotating platters, tracks, sectors, and read/write heads. Magnetic Tape is sequential-access, used for archival backups.
  • Optical Storage: Uses lasers to read pits (dark spots) and lands (reflective flat spots):
    • CD (Compact Disc): Standard capacity is 700 MB.
    • DVD (Digital Versatile Disc): Single-layer capacity is 4.7 GB; dual-layer is 8.5 GB.
    • Blu-ray Disc: Single-layer capacity is 25 GB; dual-layer is 50 GB. Uses a blue-violet laser (shorter wavelength than red laser, allowing tighter data packing).
  • Solid-State Storage: Uses NAND flash memory with no moving parts. Solid State Drives (SSDs) are faster, silent, and shock-resistant compared to traditional HDDs.

B. Memory Measurement Units

The standard binary conversions used in digital storage:

  • 1 Bit: Binary digit (0 or 1).
  • 1 Nibble: 4 Bits.
  • 1 Byte: 8 Bits (smallest addressable unit).
  • 1 Kilobyte (KB): 1024 Bytes (210 Bytes).
  • 1 Megabyte (MB): 1024 KB (220 Bytes).
  • 1 Gigabyte (GB): 1024 MB (230 Bytes).
  • 1 Terabyte (TB): 1024 GB (240 Bytes).
  • 1 Petabyte (PB): 1024 TB (250 Bytes).
  • 1 Exabyte (EB): 1024 PB (260 Bytes).

Practice Zone: 50 Questions

Click on the options to check your answer instantly. Click "Show Explanation" to read step-by-step solutions.