Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

What did the Supreme Court hold this time?

Answered: 1 week ago

Question

Will the total number of work hours change during the program?

Answered: 1 week ago