Operating Systems Final¶
Phase 1¶
average score: 35.37/50
Q1¶
Q2¶
Q3¶
Q4¶
- computation non-premtive
- I/O can't overlap
- shortest "computing" time
- 10
- 3 -> 5 c -> 2
- 20
- 6 -> 10 c -> 4
- 30
- 9 -> 15 c -> 6
- CPU & I/O in parallel
- finishing time
- total 41
- p1 11
- p2 24
- p3 41
Q5¶
Q6¶
- non-preemptive
- turnaround time
- 2, 6, 11, 19, 29
- (2+6+11+19+29)/5 = 13.4
- waiting time
- 0, 2, 6, 11, 19
- (0+2+6+11+19)/5 = 7.6
Q7¶
Ans. 2 is free as it should be "minumum", not "maximum"
Q8¶
Phase 2¶
The average/median scores are 39.18/40.50
Q1¶
Q2¶