in Operating System recategorized by
7,803 views
3 votes
3 votes

Consider the reference string:

0 1 2 3 0 1 4 0 1 2 3 4

If FIFO page replacement algorithm is used, then the number of page faults with three page frames and four page frames are ____ and ___ respectively.

  1. 10, 9
  2. 9, 9
  3. 10, 10
  4. 9, 10
in Operating System recategorized by
7.8k views

1 comment

THIS QUESTION IS THE PERFECT EXAMPLE OF Belady's Anomaly.............
0
0

1 Answer

2 votes
2 votes
Best answer
For frame size =3

0 1 2 3 0 1 4 0 1 2 3 4

F F F F F F F H H F F H

Total 9 page fault

For Frame Size =4

0 1 2 3 0 1 4 0 1 2 3 4

F F F F H H F F F F F F

Total 10 page fault

So option D is Ans.
selected by

1 comment

How you choosed  values like F F F F F F F H H F F H as per page frame size??
0
0
Answer:

Related questions