in Operating System
308 views
0 votes
0 votes
Schedule following processes using Preemptive priority algorithm and calculate the average TAT
 
  A.T B.T Priority ( )
P1 5 5 12
P2 6 5 9
P3 2 4 7
P4 1 6 6
P5 4 2 4
P6 3 3 8

Your Answer:

14.833

Correct Answer: 13.83    Status: incorrect

in Operating System
308 views

1 comment

edited by
The Que is not clear ,whether to use least value as high priority or higher value as high priority.

Assuming least value as high priority , like P5 has highest priority.

CT are 39,27,10,4,6,18.

TAT are 34,21,8,3,2,15

Avg TAT = 83 / 6 = 13.8333
0
0

Please log in or register to answer this question.

Related questions