...
Question 8648 – Process-Scheduling
January 11, 2024
GATE 2001
January 11, 2024
Question 8648 – Process-Scheduling
January 11, 2024
GATE 2001
January 11, 2024

Process-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 ?

A
11, 15, 9
B
10, 15, 9
C
11, 16, 10
D
12, 17, 11
Question 10 Explanation: 
Gantt-chart:

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

Leave a Reply

Your email address will not be published. Required fields are marked *