Professional Documents
Culture Documents
(Assignment#2) : (Operating System Theory)
(Assignment#2) : (Operating System Theory)
Dated: 16-April-2021
Problem:
Consider the 5 processes:
P2 2 5
P3 4 2
P4 6 1
P5 7 4
Solution:
P3 4 2 2
P4 6 1 0
P5 7 4 4
Gantt chart:
P1 P2 P3 P4 P2 P5 P1
0 2 4 6 7 10 14 20
Average Weight:
Average Time = (12+3+0+0+3)
5
= 18/5 = 3.6