Start learning 50% faster. Sign in now
Get Started with ixamBee
Start learning 50% faster. Sign in nowThe 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 of the following gas is used in anesthesia?
Which device is used to measure atmospheric pressure?
The mass of an object on moon ________ in comparison to the mass on earth.
Consider the reaction-
Copper sulphate solution (blue) + Iron → Iron sulphate soluton + Copper What is the colour of the iron sulphate solution?
A current of 3 A flows through a 10-ohm resistor for 5 seconds. What is the total energy dissipated by the resistor?
Which of the following transitions in hydrogen atom will result in emission of radiation of longest wavelength?
Which of the following statements about the centre of mass (COM) of a system is always true?
For what was Albert Einstein awarded Nobel Prize?
The substance which conducts current in the solid state is –
Which of the following vitamin contains Cobalt?