Computer Science EngineeringHard

A direct-mapped cache of 16 KB uses 32-byte blocks. How many bits form the index field?

  1. A. 8
  2. B. 9
  3. C. 10
  4. D. 5

Correct answer: B. 9

There are 16384/32 = 512 lines, so the index needs log2 512 = 9 bits.

More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions

Exams that ask this topic