Solution Set 1

Time RAM Active process Ready queue Event at end
0 OS: 0-10. empty E enters.
0-10 OS: 0-10; E: 10-30. E empty C enters.
10-20 OS: 0-10; E: 10-30; C: 30-50. E C D enters.
20-50 OS: 0-10; E: 10-30; C: 30-50; D: 50-60. E C,D E is preempted for C.
50-100 OS: 0-10; E: 10-30; C: 30-50; D: 50-60. C D,E C is preempted for D.
100-120 OS: 0-10; E: 10-30; C: 30-50; D: 50-60. D E,C D blocks until 170.
120-150 OS: 0-10; E: 10-30; C: 30-50; D: 50-60. E C E terminates.
150-160 OS: 0-10; Free: 10-30; C: 30-50; D: 50-60. C empty C blocks until 220.
160-170 OS: 0-10; Free: 10-30; C: 30-50; D: 50-60. Idle empty D unblocks.
170-180 OS: 0-10; Free: 10-30; C: 30-50; D: 50-60. D empty D terminates.
180-200 OS: 0-10; Free: 10-30; C: 30-50; Idle. empty B enters.
200-210 OS: 0-10; Free: 10-30; C: 30-50; B: 50-90. B. empty A enters.
210-220 OS: 0-10; A: 10-30; C: 30-50; B: 50-90. B. A C unblocks.
220-250 OS: 0-10; A: 10-30; C: 30-50; B: 50-90. B. A,C B is preempted for A.
250-260 OS: 0-10; A: 10-30; C: 30-50; B: 50-90. A. C,B A blocks until 320.
260-300 OS: 0-10; A: 10-30; C: 30-50; B: 50-90. C. B C terminates.
300-320 OS: 0-10; A: 10-30; Free: 30-50; B: 50-90. B. empty. B blocks until 370; A unblocks.
320-370 OS: 0-10; A: 10-30; Free: 30-50; B: 50-90. A. empty. B unblocks
370-380 OS: 0-10; A: 10-30; Free: 30-50; B: 50-90. A. B. A terminates
380-400 OS: 0-10; Free: 10-50; B: 50-90. B. empty B terminates.