Gate2019 cs Q51

  • Option : A
  • Explanation :
    Let’s assume Z = 2, then gantt chart will be,
    P1P2P1P1P4P3 
    0123469

    Average waiting time,
    = {(4-0-3) + (2-1-1) + (9-3-3) + (6-4-2)} / 4
    = (1 + 0 + 3 + 0) / 4
    = 4 / 4
    = 1
    So, answer is 2.
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 *