GATE CS 2011 · Question 43 · Computer Organization and Architecture · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

An 8KB direct-mapped write-back cache is organized as multiple blocks, each of size 32-bytes. The processor generates 32-bit addresses. The cache controller maintains the tag information for each cache block comprising of the following.
1 Valid bit
1 Modified bit
As many bits as the minimum needed to identify the memory block mapped in the cache.
What is the total size of memory needed at the cache controller to store meta-data (tags) for the cache?

  1. (A) 4864 bits
  2. (B) 6144 bits
  3. (C) 6656 bits
  4. (D) 5376 bits
Answer

Answer (D)

Answer from the official GATE CS 2011 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes