595 views
0 0 votes

2 Answers

3 3 votes
Option B is wrong.

Since nothing about the arrival time is mentioned we will consider it to be zero.

Now that we use SJF, order of execution will be: p4 p1 p3 p2. So wait times will be 0, 3, 9, 16.
0 0 votes

Option B is wrong, after calculating the Completion time values and the T.A.T, you can calculate the waiting time.

Since this is using SJF, the execution order will be: p4,p1,p3,p2

ProcessArrive TimeBurst TimeCompletion TimeTurn Around TimeWaiting time
A06993
B08181810
C0716169
D03330

 

Position:
Show:

Related questions

7 7 votes
1 answers 1 answer
12.5k
12.5k views
Jonathan Decosta asked Aug 5, 2015
12,455 views
Consider the two-dimensional array A: int A[][] = new int[100][100]; where A[0][0] is at location 200 in a paged memory system with pages of size 200. A small process tha...
1 1 vote
1 answers 1 answer
897
897 views
iarnav asked Mar 29, 2018
897 views
*NOTE: I'm not looking to find the Time Complexity, but I'm looking for number of comparisons and the answer is3/2n -2T(n) = 2T(n/2) +2 T(2) = 1T(1) = 0and I'm stuck at t...