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

Quiz: CPU Scheduling Numericals · Question 3 of 14

In the preemptive priority example, what was P1's waiting time?

In the preemptive priority example, what was P1's waiting time?

  1. A.0
  2. B.3
  3. C.5
  4. D.9
Answer & explanation

Correct answer: 5

P1 finished at 9 and arrived at 0, so TAT = 9; WT = TAT − burst = 9 − 4 = 5.

Can you get the rest right without peeking?

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

Start the quiz →