Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCI 430 please try do all question thank you Question 26 (15 points) Assume that at time 5 no system resources are being used except

image text in transcribed

CSCI 430 please try do all question thank you

Question 26 (15 points) Assume that at time 5 no system resources are being used except for the processor and memory. Also assume that processes P1-P6 have already been created, and are currently ready to run or are running. This is a single CPU system, so only 1 process will be running at any given time. Now consider the following events: At time 05: P3 executes a command to read from disk unit 2. At time 09: PA's time slice expires. At time 12: P2 is swapped out. At time 14: A new process is created At time 16: P5 executes a command to read from disk unit 3. At time 19: P1 executes a command to read from disk unit 2. At time 20: P2 is swapped back in. At time 24: An interrupt occurs from disk unit 2: Pl's read is complete. At time 28: P7 executes a command to read from disk unit 1. At time 30: P6 is swapped out. At time 33: PA executes a command to write from disk unit 1. At time 36: An interrupt occurs from disk unit 1: PA's write is complete. At time 37: P6 is swapped back in. At time 40: P2 executes a command to read from disk unit 1. At time 42: Pl's time slice expires. At time 43: An Interrupt occurs from disk unit 2: P3's read is complete. At time 44: PA executes a command to write from disk unit 1. At time 45: An interrupt occurs from disk unit 1: P7's read is complete. At time 48: P6 executes a command to read from disk unit 2. At time 491 Pl is swapped out. At time 501 PJ is swapped out. For each time 18, 26, 38, 51, identify which state each process is in (Ready/Running, Blocked, Suspended). Given this information, you are not always sure which particular process is running at any given time, but you can determine if it is ready/running, or if it is instead blocked or suspended. If a process is blocked, further identify the event on which it is blocked and waiting

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

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

(1 point) Calculate 3 sin x cos x dx.

Answered: 1 week ago

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago

Question

Use of assessments to determine trainees learning styles.

Answered: 1 week ago

Question

7. Discuss the advantages of embedded learning.

Answered: 1 week ago