• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | Quiz for Sudo GATE 2021 | Question 7

Consider following processes with their arrival time and burst time:
Process ID Arrival Time Bust Time
P1 5 7
P2 2 9
P3 0 5
P4 0 3
P5 1 8
P6 15 25
Which of the following option(s) is/are correct using preemptive shortest job first scheduling algorithm and all the time in nanoseconds. Note - This question is multiple select questions (MSQ).

(A)

Average waiting time is 9.66 ns

(B)

Completion time of process P2 is 32

(C)

Turn Round Time of process P5 is 22

(D)

Total Turn Round Time is 115

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments