Start learning 50% faster. Sign in now
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 of the following statements is /are true based on the information and facts mentioned in this passage?
(A) While taking a decision on the d...
What issue of Assam will be addressed after the completion of the National Register of Citizens?
Choose the words which are most nearly the same in meaning to the words mentioned below.
Glaring
Which of the following statements is not true according to the passage?
Choose the word which is the most opposite in meaning to the word ‘insinuating’ as used in the passage .
Which of the following statements is definitely true according to the passage?
Which paragraph highlights the problems associated with migration?
1) Paragraph 4
2) Paragraph 5
3) Paragraph 6
4) Paragraph 3
5) Paragraph 1
Which of the following is a near antonym of the word ‘complicate’?
The company's CEO decided to ____________ the new marketing campaign due to budget constraints, even though it showed promising results in initial test...
Choose the word which is most nearly the same in meaning to the word ‘onus’ as used in the passage.