🎙 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 1 of 14

In non-preemptive priority scheduling (1 = highest), P1 (arrival 0, burst 4, pri 3) is running when P2 (arrival 1, pri…

In non-preemptive priority scheduling (1 = highest), P1 (arrival 0, burst 4, pri 3) is running when P2 (arrival 1, pri 1) arrives. What happens at t = 1?

  1. A.P2 preempts P1 immediately
  2. B.P1 keeps running until it finishes at t = 4
  3. C.Both share the CPU equally
  4. D.P1 is moved to the waiting state
Answer & explanation

Correct answer: P1 keeps running until it finishes at t = 4

Non-preemptive means a running process is never interrupted for a higher-priority arrival.

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 →