CS FundamentalsHardAmazon · Microsoft MCQ pattern

Memory access takes 100 ns and a page fault takes 5 ms to service. For the effective access time to be at most 20% slower than a fault-free access, the page-fault rate must be at most about:

  1. A. 1 in 2,500,000
  2. B. 1 in 2,500
  3. C. 1 in 250,000
  4. D. 1 in 25,000

Correct answer: C. 1 in 250,000

EAT = 100 + p(5,000,000 − 100) ≤ 120 ns, so p ≤ 20/4,999,900 ≈ 4 × 10⁻⁶, about 1 fault per 250,000 accesses. Forgetting that 5 ms = 5 × 10⁶ ns gives wrong options by factors of 1000.

More Operating Systems questions

Exams that ask this topic