GATE CS 2014, set 2 · Question 43 · Operating System · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

A computer has twenty physical page frames which contain pages numbered 101 through 120. Now a program accesses the pages numbered 1, 2, …, 100 in that order, and repeats the access sequence THRICE. Which one of the following page replacement policies experiences the same number of page faults as the optimal page replacement policy for this program?

  1. (A) Least-recently-used
  2. (B) First-in-first-out
  3. (C) Last-in-first-out
  4. (D) Most-recently-used
Answer

Answer (D)

Answer from the official GATE CS 2014 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes