Professional Documents
Culture Documents
Q: Consider The Following Set of Processes, With The Length of The CPU-burst Time Given in Proces S Burst Time Priority
Q: Consider The Following Set of Processes, With The Length of The CPU-burst Time Given in Proces S Burst Time Priority
milliseconds:
The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0. Draw three
Gantt charts illustrating the execution of these processes using FCFS, SJF, and RR (quantum = 1)
scheduling.
Ans:
Note: In Tables of FCFS, SJF and RR the elements A, B, C, D and E represents P1, P2, P3, P4 and P5
respectively.
Gantt Chart
SJF (Shortest Jon Fast):
Gantt Chart
RR (Round Robin):
Gantt Chart