GATE 2025 CS/IT Question 38
GATE2025_CS1_Q38

A computer has two processors, M₁ and M₂. Four processes P₁, P₂, P₃, P₄ with CPU bursts of 20, 16, 25, and 10 milliseconds, respectively, arrive at the same time and these are the only processes in the system. The scheduler uses non-preemptive priority scheduling, with priorities decided as follows:

  • M₁ uses priority of execution for the processes as, P₁ > P₃ > P₂ > P₄.
  • M₂ uses priority of execution for the processes as, P₂ > P₃ > P₄ > P₁.

A process Pᵢ is scheduled to a processor Mₖ, if the processor is free and no other process Pⱼ is waiting with higher priority. Ignore the context switch time. What will be the average waiting time of the processes in milliseconds?

Comments

Popular posts from this blog