adplus-dvertising
frame-decoration

Question

The LRU algorithm

a.

pages out pages that have been used recently

b.

pages out pages that have not been used recently

c.

pages out pages that have been least used recently

d.

pages out the first page in a given area

Posted under Operating System

Answer: (c).pages out pages that have been least used recently

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The LRU algorithm

Similar Questions

Discover Related MCQs

Q. Operating system supports different page replacement policy. From the given below option which is not a valid page replacement policy?

Q. In which of the following page replacement policies Belady’s anomaly occurs?

Q. The optimal page replacement algorithm will select the page that

Q. When size of the memory is increased the page replacement policy that sometimes leads to more page faults is called _________ .

Q. The average time of service a page fault is 10ms and the time taken to access the memory is 1µs. A 99.99% hit ratio results in average memory their access time is __________.

Q. A system that uses FIFO page replacement policy has 4 page frames with no pages loaded initially. 100 distinct pages are accessed by the system in some order and then the same 100 pages are accessed in the reverse order. How many page faults will occur?

Q. Match the following lists:

a. Gang scheduling ------------------------------- i. Guaranteed scheduling
b. Rate monotonic scheduling ------------------ ii. Real-time scheduling
c. Fair share scheduling ------------------------- iii. Thread scheduling

Q. Which page is selected by the Optimal Page Replacement Algorithm?

Q. Which of the following statements is true for the dirty page in a page table?

Q. We have a process that has been allocated 3 page frames and initially none of the pages of the process are available in the memory. The following sequence of page references (reference string) is made by the process :
1, 2, 1, 3, 7, 4, 5, 6, 3, 1
How many page faults will occur for the above reference string with the Least Recently Used(LRU) Page Replacement Policy in comparison to an Optimal Page Replacement policy?

Q. We have a process that has been allocated 3 page frames and initially none of the pages of the process are available in the memory. The following sequence of page references (reference string) is made by the process :
1, 2, 1, 3, 7, 4, 5, 6, 3, 1
If Optimal Page Replacement policy is used, _______ page faults will occur for the above reference string.

Q. What is page cannibalizing?

Q. ‘LRU’ page replacement policy is

Q. Which amongst the following is not a valid page replacement policy ?

Q. Page stealing

Q. Recall that Belady’s anomaly is that the pages-fault rate may increase as the number of allocated frames increases. Now consider the following statements:
S1: Random page replacement algorithm (where
a page chosen at random is replaced)
suffers from Belady’s anomaly.

S2: LRU page replacement algorithm suffers
from Belady’s anomaly .
Which of the following is CORRECT?

Q. The ……………. Determines when a page should be brought into main memory.

Q. With …………………. A page is written out to secondary memory only when it has been selected for replacement.

Q. Which of the following statements is false ?

Q. Thrashing can be avoided if