Question 117

Four processes arrive at time 0 with burst times P1 = 6, P2 = 8, P3 = 7, P4 = 3. What is the average waiting time under non-preemptive SJF?

  1. A10.25
  2. B6
  3. C7
  4. D8
Show answerHide answer

Correct answer: (C) 7

Explanation

Order P4, P1, P3, P2 → waits 0, 3, 9, 16 → 28/4 = 7.

From DSSSB TGT Computer Science Full Mock Test 1

This is question 117 of DSSSB TGT Computer Science Full Mock Test 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.