Pastpaper Solution 201819 Semester 2

Disk scheduling is skipped during my semester, so good luck lol

^For part c I made a mistake here, we need to convert them to Hex number.

Therefore the sequence: 45 49 45 33 33 34 33

Better explaination:

Pastpaper Solution 201718 Semester 2

Q1(a) SRT (Shortest-Remaining-Time) is a preemptive policy.

Q1(b)

Non-preemptive - A process in the Running state continues to execute until it terminates or it blocks itself to wait for I/O or to request some OS service.

Preemptive - The decision to preempt may be performed when a new process arrives, or an interrupt occurs that places a blocked process in the Ready state, or periodically, based on a clock interrupt.

Q1© Process in low priority may not be able to execute.

Disk scheduling is skipped during my semester, so good luck lol

Q7(a)