Consider a demand paging system with four physical memory frames and the…

Consider a demand paging system with four physical memory frames and the following reference string over seven pages:

1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6

Assuming that memory starts empty, how many page faults will occur and what will be the final contents of memory under the LRU page replacement policy?

  1. A.

     1,2,6,7 in memory and 10 page faults

  2. B.

     2,3,6,7 in memory and 9 page faults

  3. C.

    2,3,6,7 in memory and 10 page faults

  4. D.

    1,3,6,7 in memory and 8 page faults

Attempted by 58 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…