Consider the following table of arrival time and burst time for three…

2023

Consider the following table of arrival time and burst time for three processes P0,P1 and P2.

Process

arrival time

Burst time

P0

0 ms

7

P1

1 ms

3

P2

2 ms

7

The pre-emptive shortest job first scheduling algorithm is used. Scheduling is carried out only at arrival or completion of processes. What is the average waiting time for the three processes?

  1. A.

    3 ms

  2. B.

    3.67 ms

  3. C.

    4.47 ms

  4. D.

    4 ms

Attempted by 78 students.

Show answer & explanation

Correct answer: B

image.pngimage.png

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor