GATE CS 2025 Set 1 | Question 36

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

  1. Question 36Computer Organization & Architecturemcq2 marks
    Consider a memory system with 1M bytes of main memory and 16K bytes of cache memory. Assume that the processor generates 20-bit memory address, and the cache block size is 16 bytes. If the cache uses direct mapping, how many bits will be required to store all the tag values? [Assume memory is byte addressable, , .]
    • A.
      ✓
    • B.
    • C.
    • D.

    Answer: A

    Solution

    Answer: (A) Address bits. Block size → offset bits. Number of cache lines → index (line) bits. Tag bits per line. Total tag storage bits.

More GATE PYQ on Memory Hierarchy

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2025 Set 1 in real GATE exam mode

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

Create free account →