In a system using the Least Recently Used (LRU) page replacement algorithm, which of the following statements holds true?
The Least Recently Used (LRU) page replacement algorithm replaces the page that has not been used for the longest time. It can be implemented efficiently using a hash map and a doubly linked list or queue. The hash map is used to store the pages, and the linked list is used to track the most recently used pages. This ensures O(1) time complexity for both the lookup and replacement operations. Option A (Replaces the page that has been in memory the longest): This is incorrect. LRU replaces the least recently used page, not the one that has been in memory the longest. Option C (Replaces the page that has been accessed the least): LRU doesn’t replace the least accessed page; it replaces the least recently used page. A page could be accessed frequently but not recently. Option D (Causes high page fault rates in large systems): While LRU does result in page faults, it is no worse than other algorithms. In fact, LRU minimizes page faults compared to algorithms like FIFO. Option E (Less efficient than FIFO): LRU is generally more efficient than FIFO as it better tracks page usage history, whereas FIFO might replace a page that is frequently used but just older in the queue.
Which country has made a 21 days quarantine compulsory for the patients of the disease ‘MonkeyPox’ and became the first one to do so?
Which is the longest national highway in India?
Under the Pradhan Mantri Suryodaya Yojana, what percentage of the cost of installing solar power systems is now covered by the government?
Which Indian state is home to the Rihand Dam?
Recently on 7th June the Minister of Home Affairs and Cooperation, Shri Amit Shah, inaugurated the National Tribal Research Institute at which state/UT ...
The length of Agra-Lucknow Express Highway is approximately :
Recently the fourth edition of India’s Clean Air Summit (ICAS) took place in which of these city/ut?
What is the minimum denomination for issuing a Certificate of Deposit (CD) in India?
Number of bones in adult human body are?
Who has won the title of Abu Dhabi Grand Prix 2022?