• recategorized by
9,920 views
3 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

1 Answer

Best answer
2 2 votes
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
Answer:
Position:
Show:

Related questions

0 0 votes
2 2 answers
2.0k
2.0k views
go_editor asked Mar 28, 2020
1,951 views
A program has five virtual pages, numbered from $0$ to $4$. If the pages are referenced in the order $012301401234$, with three page frames, the total number of page faul...
0 0 votes
1 1 answer
2.9k
2.9k views
Arjun asked Jan 2, 2019
2,910 views
​​​​​​​Suppose for a process $P$, reference to pages in order are $1, 2, 4, 5, 2, 1, 2, 4$. Assume that main memory can accomodate $3$ pages and the main memory has alrea...
5 5 votes
4 answers 4 answers
10.1k
10.1k views
habedo007 asked Jul 5, 2016
10,120 views
Determine the number of page faults when references to pages occur in the following order:1, 2, 4, 5, 2, 1, 2, 4Assume that the main memory can accommodate 3 pages and th...
0 0 votes
2 2 answers
1.4k
1.4k views
admin asked Mar 31, 2020
1,445 views
Determine the number of page faults when references to pages occur in the following order: $1,2,4,5,2,1,2,4$. Assume that the main memory can accommodate $3$ pages and th...