Gate2017 ss Q53

0. Consider the set of processes with arrival time (in milliseconds). CPU burst time (in milliseconds), and priority (0 is the highest priority) shown below. None of the processes have I/O burst time.
ProcessArrival TimeBurst TimePriority
P10112
P25280
P31223
P42101
P59164


Note – Numerical Type question

  • Option : A
  • Explanation :
    ProcessATBTPriority
    P10 2
    P25 0
    P312 3
    P42 1
    P59 4


    w.t. = 0 + 0 + ( 33 – 5) + (40 – 2) + (49 – 12) + (51 – 9) = 145
    Avg wt = 145/5 = 29
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *