Professional Documents
Culture Documents
(MAIN CAMPUS)
Assignment-02
Find better algorithm than round robin?
ROUND-ROBIN ALGORITHM
Ghantt chart
P1 P2 P3
0 7 11 13
CT
P1= (7)
P2= (11)
P3= (13)
WT= (TAT-BT)
P1= 7-7=0
P2= 9-4=5
P3= 10-2=8
RR-SJF
P1 P3 P1 P2 P1 P2
Ghantt chart
P1 P3 P1 P2 P1 P2
0 3 5 8 11 12 13
Quantum Time=3
CT
P1= (12)
P2= (13)
P3= (5)
TAT= (CT-AT)
P1= 12-0=12
P2= 13-2=11
P3= 5-3=2
10,8.33,4<10.33,8.66,4.33
RR+SJF<RR
Thank you 😊