229k views
5 votes
Consider the following page reference string:

7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0 , 1.
Assuming demand paging with three frames, how many page faults would occur for the following replacement algorithms?
(a) LRU replacement
(b) FIFO replacement
(c) Optimal replacement

1 Answer

6 votes

Answer:

a) 18

b) 17

c) 13

User Edu
by
5.7k points