Question: 1. Consider a system with a single CPU core and three processes A, B, C. Process A arrives at t=0, and runs on the CPU
1. Consider a system with a single CPU core and three processes A, B, C. Process A arrives at t=0, and runs on the CPU for 9 time units before it finishes. Process B arrives at t= your roll_no %6, and requires an initial CPU time of 4 units, after which it blocks to perform I/O for your roll no % 3 time units. After retuming from I/O wait, it executes for a further 6 units before terminating. Process C arrives at t=10, and runs for your roll no %5 units of time on the CPU before terminating. For each of the scheculing policies below, calculate the time of completion of each of the three processes. Recall that only the size of the current CPU burst (excluding the time spent for waiting on I/O ) is considered as the "job size" in these schedulers. (a) FCFS (b) Shortest Remaining Time First
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
