Question: Consider the following events between time 0 to 50. (Also reference Question 3.2 on pp. 154 of the text book) At time 5: P1 executes

Consider the following events between time 0 to 50. (Also reference Question 3.2 on pp. 154 of the text book)

At time 5: P1 executes a command to read from disk unit 3.

At time 15: P5's time slice expires.

At time 18: P7 executes a command to write to disk unit 3.

At time 20: P3 executes a command to read from disk unit 2.

At time 24: P5 executes a command to write to disk unit 3.

At time 28: P5 is swapped out.

At time 33: An interrupt occurs from disk unit 2: P3's read has completed.

At time 36: An interrupt occurs from disk unit 3: P1's read has completed.

At time 38: P3 terminates.

At time 40: An interrupt occurs from disk unit 3: P5's write has completed.

At time 44: P5 is swapped back in.

At time 48: An interrupt occurs from disk unit 3: P7's write has completed.

At time 37, which state each of the following processes is in

P1 -

P3 -

P5 -

P7 -

You should use the following codes to represent the states in your answer

R: ready

B: blocked

S: suspended

. RS: ready suspended

BS: blocked suspended

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!