Skip to content

UGC NET CS 2022Computer System Architecture › Memory HierarchyVerified

UGC NET CS 2022 PYQ: In a cache memory, if address has 9 bits in Tag field and 12 bits in index field, the size of main memory…

In a cache memory, if address has 9 bits in Tag field and 12 bits in index field, the size of main memory and cache memory would be respectively

  1. A
    $2 \mathrm{~K} .4 \mathrm{~K}4$
  2. B
    $1024 \mathrm{~K}, 2 \mathrm{~K}$,
  3. C
    $4 \mathrm{~K}, 2048 \mathrm{~K}$
  4. D
    $2048 \mathrm{~K}, 4 \mathrm{~K}$
    Correct answer

Answer

(D) $2048 \mathrm{~K}, 4 \mathrm{~K}$

Approach

Derive memory sizes from tag and index field widths with no offset bits.

Reviewed by UGC IQ Editorial Team.