🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Page Replacement Numericals: all 15 questions

Quiz: Page Replacement Numericals · Question 3 of 15

Frames hold {4, 7, 2} and page 1 causes a fault. The references after it are 2, 7, 4. Which page does OPT replace?

Frames hold {4, 7, 2} and page 1 causes a fault. The references after it are 2, 7, 4. Which page does OPT replace?

  1. A.2
  2. B.7
  3. C.4
  4. D.1
Answer & explanation

Correct answer: 4

2 is needed next, then 7, then 4. Page 4's next use is furthest away, so it goes.

Can you get the rest right without peeking?

Take the timed Quiz: Page Replacement Numericals quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →