Gate CS-2004 Question Paper With Solutions

Q. 27 Consider a small two-way set-associative cache memory, consisting of four blocks.

For choosing the block to be replaced, use the least recently used (LRU) scheme.

The number of cache misses for the following sequence of block addresses is 8,

12,0, 12,8

(A) 2

(B) 3

(C) 4

(D) 5

Answer: (C)

Explanation:

Gate CS-2004 Question Paper With Solutions

Learn More:   Gate CS-2005 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here