Question8 1 pts Assume the following sequence of blocks are

Question8 1 pts Assume the following sequence of blocks are fetched into the same set of a 4-way associative cache: b7, b3, b3, b7, b5, b4, b6, b7, b1, b8, b3 Assume that in case of Least frequently Used replacement policy, if there is a tie, then Least Recently Used replacement policy is used to select the victim block from the tied blocks. Which one of the statements correctly describes the resulting set\'s lines after the sequence finishes? For least frequently used replacement the set\'s lines have the following blocks in this order: b7, b3, b1, b6 when set\'s lines are initially filled left to right. For least recently used replacement the following blocks will remain in the cache: b7, b1, b8, b4 in any order. O For least recently used replacement the set\'s lines have the following blocks in this order: b7, b3, b1, b8 when set\'s lines are initially filled left to right. O For least frequently used replacement the set\'s lines have the following blocks in this order: b7, b3, b1, b5 when set\'s lines are initially filled left to right For least recently used replacement the set\'s lines have the following blocks in this order: b7, b1, b4, b3 when set\'s lines are initially filled left to right.

Solution

The answer is Option C.

The most used in the array is b7 which does not get out of the cache for the whole process. and the remaining will change based on their usage.

**Comment for any further queries.


Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site