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

Consider a main memory with five page frames and the following sequence of page references: 3, 8, 2, 3, 9, 1, 6, 3, 8, 9, 3, 6, 2, 1, 3. Which one of the following is true with respect to page replacement policies First In First Out (FIFO) and Least Recently Used (LRU)?

  1. (A) Both incur the same number of page faults
  2. (B) FIFO incurs 2 more page faults than LRU
  3. (C) LRU incurs 2 more page faults than FIFO
  4. (D) FIFO incurs 1 more page faults than LRU
Answer

Answer (A)

Answer from the official GATE CS 2015 answer key.

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