1
1.7kviews
Explain the page replacement policies. Implement LRU, OPT, FIFO for a sequence. Also calculate hits and faults.

Consider following data

Sequence: 0, 1, 2, 4, 3, 7, 1, 4, 2, 3

Frame size: 3

1 Answer
0
60views

First In First Out (FIFO) Page Replacement Algorithm

  • This algorithm works on the principle of “First in First out“.
  • It replaces the oldest page that has been present in the main memory for the longest time.
  • It is implemented by keeping track of all the pages in a queue.
  • The …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.