Question: Q.12. (10 points) Consider the following three programs where P1 starts at time 0: P1 5 sec. processing, then 2 sec. I/O, then 1 sec.

Q.12. (10 points) Consider the following three programs where P1 starts at time 0: P1 5 sec. processing, then 2 sec. I/O, then 1 sec. processing P2 3 sec. processing, then 3 sec. 10, then 2 sec. processing 2 sec. processing On the following time chart, show how P1, P2 and P3 use the CPU on a simple batch system P3 a. P1 P2 P3 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 time b. +++ On the following time chart, show how P1, P2 and P3 use the CPU on a multiprogramming system P1 P2 P3 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 ume c. On the following time chart, show how P1, P2 and P3 use the CPU on a time-sharing system where time-slice is 1 second P1 P2 P3 1 2 --- ( 3 4 4 LO 6 --- 7 col 9 10 11 12 13 14 15 16 17 18 19 20 2 21 22 23 24 25 26 27 28
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
