Professional Documents
Culture Documents
b. Consider four periodic tasks (T1, T2, T3 and T4) with the following arrival times,
computation times, deadlines and priority, in Table Q1.
Table Q1
Tasks Fixed Arrival Computation Deadline
Priority time times
T1 Very high 7 3 15
T2 High 5 5 9
T3 Low 1 7 15
T4 Very low 0 5 15
Draw timeline diagrams to show the execution of the following scheduling policies. In
each timeline show the three situations: executing, preempted and blocked, when
appropriate using the legend given in Table Q1.
i. Non-Preemptive fixed-priority scheduling
ii. Preemptive fixed-priority scheduling
iii. Earliest Deadline First (EDF) scheduling
[9 marks]