explain FIFO and LRU With example
Answers
Answered by
5
Explanation:
First In First Out (FIFO) –
This is the simplest page replacement algorithm. In this algorithm, the operating system keeps track of all pages in the memory in a queue, the oldest page is in the front of the queue. When a page needs to be replaced page in the front of the queue is selected for removal.
LRU cache deletes entry that was accessed least recently if the cache is full
Similar questions
Hindi,
14 days ago
English,
14 days ago
Math,
14 days ago
Psychology,
30 days ago
Physics,
8 months ago