Question: Q.11. (10 points) There are six programs P1, P2, P3, P4, P5 and P6 of sizes 15KB, 20KB, 20KB, 25KB, 25B and 15KB respectively. They

Q.11. (10 points) There are six programs P1, P2, P3, P4, P5 and P6 of sizes 15KB, 20KB, 20KB, 25KB, 25B and 15KB respectively. They are submitted to the system in the order P1, P2, P3, P4, P5, P6 and they finish in the same order. Size of the main memory is 75KB. Show the contents of the memory for each of the following partitioning methods. a. Fixed size partitioning where each partition is 25KB b. Variable size partitioning c. Relocatable partitioning P1 Q.12. (10 points) Consider the following three programs where P1 starts at time 0: 5 sec. processing, then 2 sec. I/O, then 1 sec. processing 3 sec. processing, then 3 sec. 10, then 2 sec. processing P3 2 sec. processing P2 a. On the following time chart, show how P1, P2 and P3 use the CPU on a simple batch system P1 P2 P3 1 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 1 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 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
