GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set2

GATE 2025 set2 · CS · MCQ · 2 marks · Computer Organization and Architecture › Cache Memory

GATE 2025 set2 Computer Science and Information Technology question: For a direct-mapped cache, 4 bits are used for the tag field and 12 bits are used to…

For a direct-mapped cache, 4 bits are used for the tag field and 12 bits are used to index into a cache block. The size of each cache block is one byte. Assume that there is no other information stored for each cache block.

Which ONE of the following is the CORRECT option for the sizes of the main memory and the cache memory in this system (byte addressable), respectively?

  1. (A)

    64 KB and 4 KB

  2. (B)

    128 KB and 16 KB

  3. (C)

    64 KB and 8 KB

  4. (D)

    128 KB and 6 KB

Show answer

Official answer: A

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion