program 1 |
Program 2 |
Program 3 |
a =2m |
a =2m |
a =2m |
b=3m |
b=3m |
b=3m |
c =4m |
c =4m |
c =4m |
|
|
|
Gantt Chart For Program(Completion time )
P1a |
P1b |
P1c |
P2a |
P2b |
P2c |
P2a |
P2b |
P2c |
P2b |
P3a |
P3b |
P3c |
P3a |
P3b |
P3c |
P3c |
P2 |
P1a |
P2b |
P2c |
P2c |
P |
P |
P |
0----1-----2----3------4-----5-----6-----7-----8-----9----10----11----12---13----14---15---16--18--21---22---23---24-----27
Program |
Arrival time |
Completion time |
Turn Around time |
Priority time |
1 |
0 |
27 |
27 |
1 (low ) |
2 |
3 |
25 |
22 |
5 |
3 |
10 |
19 |
9 |
10(high) |
|
|
|
|
|
TAT= (22+9+27)/3=19.33
plz check and correct me if i wrong ..