7 Comments

  1. Answer for priority scheduling might be 27.8 as the waiting time for all process came to 139.The last process completion time was 65

      1. Hi Anup,
        That’s why total waiting time for all process came to 139 not 145 .resulting the total average waiting time to 27.8 not 29.Also it is not necessary in scheduling that total waiting time or turn around time should always be greater or equal to total burst time of all the processes.
        check question number 8 from following link. pre-emptive shortest job first scheduling algorithm is used
        http://quiz.geeksforgeeks.org/cpu-scheduling/
        here also the total burst time = 22 but total waiting time < total burst time
        i.e 15 . How ?

Leave a Reply

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