Question: Q 5 . [ 6 pts . ] CPU Scheduling: The table below lists processes and their associated arrival C ) Round - Robin (
Q pts CPU Scheduling: The table below lists processes and their associated arrival C RoundRobin with a quantum and context switch numphond
DCPU RoundRobin with quantum each, with zero context switch overhead and
with processor affinity:
CPU :
wait:
turnaround:
wait:
turnaround:
wait:
turnaround:
wait:
turnaround:
Total average waiting time:
Throughput time:
time at the ready queue along with their CPU burst times.
For each of the following, draw a Gantt chart and show the scheduling order of the
above processes. In addition to the Gantt charts, calculate the total waiting time and
the turn round time for each process, as well as the total average waiting time, and the
throughput time.
Examples of a Gantt chart would be:
dots
dots
runs for unit time followed by a context switch in unit time, followed by dots
A FirstInFirstOut FIFO with no context switch overhead:
wait:
turnaround:
wait:
turnaround:
wait:
turnaround:
wait:
turnaround:
Total average waiting time:
Throughput time:
B ShortestJob First SJF with context switch overhead of :
wait:
turnaround:
wait:
turnaround:
wait:
turnaround:
wait:
turnaround:
Total average waiting time:
Throughput time:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
