GATE CS 2025 Set 2 | Question 39

Computer Organization & Architecture › Memory Hierarchy · MCQ · 2 marks · Answer: A

  1. Question 39Computer Organization & Architecturemcq2 marks
    For a direct-mapped cache, 4 bits are used for the tag field and 12 bits index into a cache block. Each cache block is one byte and no other info is stored per block. Which ONE gives the sizes of main memory and cache memory (byte addressable)?
    • A.
      64 KB and 4 KB
      ✓
    • B.
      128 KB and 16 KB
    • C.
      64 KB and 8 KB
    • D.
      128 KB and 6 KB

    Answer: A

    Solution

    Answer: (A) 64 KB and 4 KB Block size byte offset bits. Main-memory address width tag index offset bits KB of main memory. Number of cache blocks , each byte cache size KB.

More GATE PYQ on Memory Hierarchy

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2025 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →