Consider a machine with a byte addressable main memory of 216 bytes. Assume…
GATE · 2007 · CS
Consider a machine with a byte addressable main memory of 216 bytes. Assume that a direct mapped data cache consisting of 32 lines of 64 bytes each is used in the system. A 50x50 two-dimensional array of bytes is stored in the main memory starting from memory location 1100H. Assume that the data cache is initially empty. The complete array is accessed twice. Assume that the contents of the data cache do not change in between the two accesses.
Consider the data given in above question. Which of the following lines of the data cache will be replaced by new blocks in accessing the array for the second time?
- A.
line 4 to line 11
- B.
line 4 to line 12
- C.
line 0 to line 7
- D.
line 0 to line 8
Attempted by 165 students.
Show answer
Correct answer: A
Explore the full course: Iocl Engineers Officers Grade A Paper 2