Question: Consider the following page reference string, for a memory with four frames. All frames are initially empty. [ 1 , 2 , 3 ,
Consider the following page reference string, for a memory with four frames. All frames are initially empty.
Show the result of applying operatornameLRU and Optimal pagereplacement algorithms to the reference string
I. LRU Least Recently Used
How many page faults would occur for the LRU pagereplacement algorithm?
II Optimal page replacement algorithm
How many page faults would occur for the Optimal pagereplacement algorithm?
III. Assume that the LRU replacement algorithm is implemented with a stack.
Which page is at the top of the stack before reference to page
Which page is at the bottom of the stack after the reference to page
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
