OS Tutorial_2025
OS Tutorial_2025
Scenario 2:
Process Arrival Time Execute Time Priority (where
applicable)
P0 10 5 1
P1 11 3 2
P2 12 8 1
P3 13 6 3
Scenario 3:
Process Arrival Time Execute Time Priority (where
applicable)
P0 0 8 1
P1 3 7 2
P2 5 11 1
P3 6 9 3
P4 7 11 2
P5 9 13 1
Scenario 4:
Process Arrival Time Execute Time Priority (where
applicable)
P0 20 8 1
P1 23 7 2
P2 25 11 1
P3 26 9 3
P4 27 11 2
P5 29 13 1
Scenario 5:
Process Arrival Time Execute Time Priority (where
applicable)
P0 0 15 3
P1 4 17 1
P2 6 21 2
P3 7 19 3
P4 9 22 2
P5 11 23 1
Scenario 5:
Process Arrival Time Execute Time Priority (where
applicable)
By: Dr Mohammad Kaleem Galamali 8 of 18
Tutorial - Operating System January 2025
P0 10 15 3
P1 14 17 1
P2 16 21 2
P3 17 19 3
P4 19 22 2
P5 21 23 1
6. What happens when multiple processes have same priority in priority scheduling in an
Operating System (OS)?
7. Give (a maximum of 3) criteria which are used to assign priorities in priority scheduling
in an Operating System (OS).
8. Describe the Shortest Remaining Time (SRT) version of Process Scheduling Algorithm
used in Operating Systems (OS).
9. Why is the Shortest Remaining Time (SRT) version of Process Scheduling Algorithm
impossible to implement in interactive systems in Operating Systems (OS)?
10. In which situation is the Shortest Remaining Time (SRT)version of Process Scheduling
Algorithm best suited in Operating Systems (OS)?