Question: :Q4 ((8 points, 1 point each)): Choose the correct answer Consider the following set of processes, with the length of the CPU burst time given









:Q4 ((8 points, 1 point each)): Choose the correct answer Consider the following set of processes, with the length of the CPU burst time given in milliseconds: Process P1 P2 P3 P4 P5 Burst Time (ms) 12 6 4 15 2 Priority 5 1 2 4 3 Arrival Time (ms) 0 0 2 3 10 (a If the CPU scheduling policy FCFS, the AWT will be 12.8 ms O 14.8 ms O 12.6 ms O 12.2 ms O 14.6 ms O none of these o (b If the CPU scheduling policy FCFS, the ATAT will be 22.8 ms O 20.8 ms O 20.6 ms O 18.2 ms 22.6 ms O none of these o (c If the CPU scheduling policy is SJF, the AWT (without pre-emption) will be 16 ms O 12.8 ms O 10.6 ms O 12.6 ms 10.2 ms o none of these (d If the CPU scheduling policy is SJF, the ATAT (without pre-emption) will be 19 ms 17 ms 18 ms 18.4 ms 19.2 ms none of these (e If the CPU scheduling policy is SJF with pre-emption, the AWT will be 8 ms O 9 ms 10 ms 9.8 ms 10.6 ms none of these (f If the CPU scheduling policy is SJF with pre-emption, the ATAT will be 15 ms O 15.2 ms O 16 ms o 16.4 ms O 16.2 ms O none of these o (g If the CPU scheduling policy is priority scheduling with pre-emption, the AWT will be 10.8 ms O 11.8 ms O 8.2 ms O 8 ms o 9 ms O none of these (h If the CPU scheduling policy is priority scheduling with pre-emption, the ATAT will be 16 ms O 15 ms 16.2 ms 16.4 ms 15.8 ms none of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
