Below is a question from a quiz I attempted(for preparing for a competitive exam), I found the solution to be bit confusing and wanted to clear my concept.

enter image description here

Below was the solution given

enter image description here

I have a query, that whether the process $P_0$ should be preempted at t=1, because at t=1, the longest remaining burst will be that of $P_3$, but if we go by the description of the question, then $P_0$ should not be preempted.?

What should be correct?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.