An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes.
Process | Execution time | Arrival time |
P1 P2 P3 P4 |
20 25 10 15 |
0 15 30 45 |
Process Execution Time Arrival Time |
P1 20 0 P2 25 15 P3 10 30 P4 15 45 |
P1 | P2 | P3 | P2 | P4 |