in Operating System edited by
390 views
0 votes
0 votes

I am getting answer  11 sec but it is given none ..pls check

in Operating System edited by
by
390 views

2 Comments

i can't see ..plz upload better pic or take a snapshot on zoom it
0
0
11 is correct @Arnabi
0
0

1 Answer

3 votes
3 votes
Best answer

CPU Scheduling will be:

${P_{1}}^{4}{P_{2}}^{5}{P_{3}}^{6}{P_{1}}^{10}{P_{2}}^{11}{P_{4}}^{15}{P_{2}}^{16}{P_{4}}^{18}{P_{2}}^{19}$

TAT for P1 = 10 - 0.0 = 10
TAT for P2 = 19 - 0.4 = 18.6
TAT for P3 = 6 - 1.0 = 5
TAT for P4 = 18 - 7.6 = 10.4

$\therefore$ avg. TAT $= \frac{10+18.6+5+10.4}{4} = \frac{44}{4} = 11$ sec

selected by

1 comment

yeah thank u for checking lokesh..:)
0
0

Related questions