GATE CS 2018 · Question 20 · Operating System · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Consider a process executing on an operating system that uses demand paging. The average time for a memory access in the system is M units if the corresponding memory page is available in memory, and D units if the memory access causes a page fault. It has been experimentally measured that the average time taken for a memory access in the process is X units.
Which one of the following is the correct expression for the page fault rate experienced by the process?

  1. (A) (D - M) / (X - M)
  2. (B) (X - M) / (D - M)
  3. (C) (D - X) / (D - M)
  4. (D) (X - M) / (D - X)
Answer

Answer (B)

Answer from the official GATE CS 2018 answer key.

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