864 itleAssignMaster 264 02272025025146818
864 itleAssignMaster 264 02272025025146818
Question:
Consider the following set of processes with their arrival time and burst time:
Arrival Burst
Process
Time Time
P1 0 5
P2 2 3
P3 4 2
P4 6 4
Find the Gantt chart, completion time, turnaround time, and waiting time for each process.
Also, calculate the average turnaround time and average waiting time.
Arrival Burst
Process
Time Time
P1 1 6
P2 2 8
P3 3 7
P4 4 3
Find the Gantt chart, completion time, turnaround time, waiting time, and average times.
Shortest Remaining Time First (SRTF) - Preemptive
Question:
Consider the following processes:
P1 0 8
P2 1 4
P3 2 9
P4 3 5
Find the Gantt chart, completion time, turnaround time, and waiting time for each process.
P1 0 10 3
P2 1 1 1
P3 2 2 4
P4 3 1 2
Find the Gantt chart, completion time, turnaround time, waiting time, and average times.
Round Robin Scheduling (Time Quantum = 3)
Question:
Consider the following processes:
Arrival
Process Burst Time
Time
P1 0 10
P2 2 4
P3 3 5
P4 5 7
Using Round Robin scheduling with a time quantum of 3, find the Gantt chart, completion
time, turnaround time, and waiting time for each process.