Question: 1 0 . Consider the following processes ( timing is in seconds ) : P 1 : Runs A , I / O on HD

10. Consider the following processes (timing is in seconds):
P1: Runs A, I/O on HD1(2), Runs 4, I/O on HD1(5), Runs 1, Ends.
P2: Runs 2, I/O on HD2(B), Runs 1, I/O on HD2(7), Runs 3, Ends.
P3: Runs 3, I/O on USB (2), Runs C, I/O on USB (4), Runs 10, Ends.
Where A, B, and C are your student ID numbers as follows: 10xABCxxx
As you can see, the I/O is done on different devices for each of the processes (thus, you do not
worry about contention for the devices; whenever a process requests to do an I/O, the device will
be free and available to start).
a) Create a Gantt Diagram considering the execution time for each of the processes using the
SJF algorithm. The priority of process Pi is computed as Ti=(Ti+t)/2(where t is the time of the
last CPU burst). Initially, the priority is 0 for every process.

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!