GATE 2005-IT

December 9, 2024

GATE-2024-CS1(Forenoon)

December 10, 2024

GATE 2005-IT

December 9, 2024

GATE-2024-CS1(Forenoon)

December 10, 2024

Cache

Question 18

Consider a Direct Mapped Cache with 8 cache blocks (numbered 0-7). If the memory block requests are in the following order

3, 5, 2, 8, 0, 63, 9,16, 20, 17, 25, 18, 30, 24, 2, 63, 5, 82,17, 24.  

Which of the following memory blocks will not be in the cache at the end of the sequence?

A
3
B
18
C
20
D
30
Question 18 Explanation: 

So memory block 18 is not in the cache.
Correct Answer: B
Question 18 Explanation: 

So memory block 18 is not in the cache.

Leave a Reply

Your email address will not be published. Required fields are marked *