Skip to content

UGC NET CS 2020Computer System Architecture › Memory HierarchyVerified

UGC NET CS 2020 PYQ: Consider a machine with a byte addressable main memory of $2^{16}$ bytes and block size of 8 bytes. Assume…

Consider a machine with a byte addressable main memory of $2^{16}$ bytes and block size of 8 bytes. Assume that a direct mapped cache consisting of 32 lines is used with this machine. How many bits will be there in Tag, line and word field of format of main memory addresses?

  1. A
    8,5,3
    Correct answer
  2. B
    8,6,2
  3. C
    7,5,4
  4. D
    7,6,3

Answer

(A) 8,5,3

Approach

Split a 16-bit address into tag, line and word fields for a direct-mapped cache.

Reviewed by UGC IQ Editorial Team.