Continue with your mobile number
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.
Recently Reserve Bank of India (RBI) has lifted its three-year ban from which Mercantile Bank on opening new branches with effect from October 21, 2022.
Which team won the 76th edition of the Santosh Trophy?
Who is the author of “ Bravehearts of Bharat : Vignettes from Indian History ” ?
Which organization released the India Infrastructure Report 2023 on Urban Planning and Development?
How many Double Tax Avoidance Agreements (DTAAs) has India signed with other countries?
Which Indian FinTech firm has launched cross-border UPI payments service recently?
Which category saw a 33.18% increase in remittances under India’s LRS in August 2024?
Where is India’s first Constitution Museum located?
Which state government is setting up facilities for hi-tech teaching in educational institutions of the state & as a part of that, 66 Industrial Trainin...
Which Indian state recently passed the Right to Health (RTH) Bill, and what does the bill entail?