Professional Documents
Culture Documents
Operating Systems
TUTORIAL 5
1. List the non-preemptive scheduling criteria and the preemptive scheduling criteria.
2. What is the function of dispatcher?
3. What are the criteria that have been suggested for comparing CPU scheduling algorithm?
4. Given the following table:
Process Arrival Time Burst time
P1 0 6
P2 3 4
P3 4 2
P4 5 1
Using the given information:
a) Draw the Gantt chart to show the CPU execution and find the average waiting time for
FCFS algorithm
b) Draw the Gantt chart to show the CPU execution and find the average waiting time for
SJF algorithm