Computer Science EngineeringHard

A direct-mapped cache has 8 lines. Memory block 29 maps to cache line

  1. A. 5
  2. B. 3
  3. C. 4
  4. D. 6

Correct answer: A. 5

Line = block number mod number of lines = 29 mod 8 = 5.

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

Exams that ask this topic