in Operating System
1,419 views
0 votes
0 votes

Given the jobs with the following characteristics:
image:OSS2/Q18a.PNG
Determine the turnaround time, waiting time and response time of Job B while the CPU runs these jobs. Assume the schedule is pre-emptive and the CPU quantum is 5 ms

  1.   (55,35,5)
  2.   (70,30,10)
  3.   (35,25,0)
  4.   None
in Operating System
1.4k views

1 comment

where is the diagram?
0
0

1 Answer

0 votes
0 votes
Best answer

Gann Chat for the above process schedule is given below .

Assuming All process arrived at 0ms

Turn Around Time = Completion Time - Arrival Time

                              =60- 0  = 60ms

Waiting Time = TAT - (IO+BT )
                        = 60-(35)
                         = 25 ms

selected by
by

2 Comments

even though I/O of A will be completed at time t=30,yet we perform C after B because C follows B in ready queue..right??
0
0
yes. FCFS is followed in Ready Queue  no matter what algorithm is used to schedule the process
1
1

Related questions