Assi OS123
Assi OS123
21. Draw the Gantt chart and calculate the Average Waiting Time and
Average Turnaround Time according to First Come First Serve
(FCFS) scheduling algorithm for the following processes:
22. Draw the Gantt chart and calculate the average waiting time and
average turnaround time according to Shortest Job First
(SJF) scheduling algorithm for the following processes:
23. Draw the Gantt chart and calculate the Average Waiting Time and
Average Turnaround Time according to Round Robin algorithm for
the following processes. Arrival time=0, Take time quantum T=3:
24. Draw the timeline chart and calculate average waiting time and
average turnaround time according to SJF scheduling algorithm for
following processes:
25. Draw the timeline chart and calculate average waiting time and
average turnaround time according to priority scheduling algorithm for
following processes: (Non-Preemptive,lowest priority = 1).
26. Draw the gantt chart and calculate the average waiting time and
average turnaround time according to SJF (non-preemptive)
scheduling algorithm for the following processes:
27. Using round robin scheduling algorithm draws the gantt chart and find
Out average turnaround time and average waiting time. (Time Quantum=2).
28. Draw the gantt chart and calculate the average waiting time and
average turnaround time according to Priority scheduling algorithm
(Pre-emptive),Priority:4(H) for the following processes:
29. Draw the gantt chart and calculate the average waiting time and
average turnaround time according to SJF (non-preemptive)
scheduling algorithm for the following processes:
Processes Arrival Time Burst Time
1 0 7
2 2 5
3 3 3
4 4 1
30. Draw the gantt chart and calculate the average waiting time and
average turnaround time according to Priority scheduling algorithm
(Pre-emptive),Priority:4(H) for the following processes:
Chap-3
28. How to achieve mutual exclusion using critical region? Explain it with
a suitable diagram.