Professional Documents
Culture Documents
Quiz II: Sistem Operasi
Quiz II: Sistem Operasi
SISTEM OPERASI
Dosen Pembimbing:
Oleh:
4C
FAKULTAS TEKNIK
2011
Arrival
Proses Burst time time Priority TQ
P1 10 7 3 10
P2 9 1 1
P3 5 8 4
P4 6 2 1
P5 10 3 1
P6 4 10 3
P7 9 5 2
P8 10 0 2
P8 P2 P4 P5 P7 P1 P3 P6
0 10 19 25 35 44 54 59 63
TAT : P1 = 47 WT: P1 = 37
P2 = 18 P2 = 9
P3 = 51 P3 = 46
P4 = 23 P4 = 17
P5 = 32 P5 = 22
P6 = 53 P6 = 49
P7 = 39 P7 = 30
P8 = 10 P8 = 0
(47+18+51+23+32+53+39+10)/ (37+9+46+17+22+49+30+0)/
ATAT: 8 AWT: 8
34,125 26,25
Priority Alghorithm
Shorthest Alghorithm
Non – Preemtive
TAT : P1= 56
WAT: P1 = 46
P2 = 33
P2 = 24
P3 = 11
P3 = 6
P4 = 23
P4 = 17
P5 = 50
P5 = 40
P6 = 4
P6 = 0
P7 = 38
P7 = 29
P8 = 10
P8 = 0
AWT : = 46+24+6+17+40+0+29+0
ATAT : = 56+33+11+23+50+4+38+10
8 8
= 28,125 = 20,25
Preemtive
TAT : P1= 56
WAT: P1 = 46
P2 = 24
P2 = 15
P3 = 9
P3 = 4
P4 = 6
P4 = 0
P5 = 50
P5 = 40
P6 = 4
P6 = 0
P7 = 29
P7 = 20
P8 = 43
P8 = 33
AWT : = 46+15+4+0+40+0+20+33
= 19,75
ATAT : = 56+24+9+6+50+4+29+43
8
= 27,625