Professional Documents
Culture Documents
Exam Operating System
Exam Operating System
DEPARTMENT: ICT
DURATION: 2 HOURS
INSTRUCTION
4. a) List down four techniques used in handling critical section problem. (4 marks)
b) Explain the three main types of schedulers. (6 marks)
Process
Burst time (ms)
P1 5
P2 3
P3 8
P4 6
a) Draw a Gantt Chart using the Shortest Remaining Time Scheduling algorithm and also
calculate the average waiting time. (8 marks)
b) Given that the time slice is 4 ms, draw a Gantt Chart and calculate the average waiting time
using the Round Robin scheduling algorithm. (7 marks)