The ___________ algorithm selects the page to be replaced based on the time since it was last accessed.
- FIFO (First-In-First-Out)
- LFU (Least Frequently Used)
- LRU (Least Recently Used)
- MRU (Most Recently Used)
The Least Recently Used (LRU) algorithm selects the page for replacement that has not been accessed for the longest time among all pages in memory. It operates on the principle that pages that have not been accessed recently are less likely to be accessed in the near future compared to recently accessed pages. This helps in optimizing memory usage by keeping frequently accessed pages in memory.
Loading...
Related Quiz
- You're working on an embedded system with limited storage capacity. How would you optimize the file system to minimize storage overhead and maximize performance?
- What is React.js primarily used for in web development?
- Your company's e-commerce website recently suffered a data breach due to a security flaw in the payment processing system. How would you conduct a post-mortem analysis of the incident and implement measures to prevent future breaches?
- Layer of the OSI model.
- A company's website is experiencing frequent SQL injection attacks. How would you advise the development team to mitigate this security risk?