Question 8648 – Process-Scheduling
January 11, 2024GATE 2001
January 11, 2024Process-Scheduling
|
Question 10
|
The arrival time, priority, and duration of the CPU and I/O bursts for each of three processes P1, P2 and P3 are given in the table below. Each process has a CPU burst followed by an I/O burst followed by another CPU burst. Assume that each process has its own I/O resource.

The multi-programmed operating system uses preemptive priority scheduling. What are the finish times of the processes P1, P2 and P3 ?
|
11, 15, 9
|
|
|
10, 15, 9
|
|
|
11, 16, 10
|
|
|
12, 17, 11
|
Question 10 Explanation:
Gantt-chart:

Hence, finish times of process.
P1 – 10
P2 – 11
P3 – 9

Hence, finish times of process.
P1 – 10
P2 – 11
P3 – 9
Correct Answer: B
Question 10 Explanation:
Gantt-chart:

Hence, finish times of process.
P1 – 10
P2 – 11
P3 – 9

Hence, finish times of process.
P1 – 10
P2 – 11
P3 – 9
