Question
Please Answer with Charts. Will give thumbs up Consider the following set of processes, with length of the Burst Time given in milliseconds: Process Arrival-Time
Please Answer with Charts. Will give thumbs up
Consider the following set of processes, with length of the Burst Time given in milliseconds:
Process Arrival-Time Burst-Time Priority
P1 0.0 7 2
P2 2.0 4 1
P3 4.0 1 3
P4 5.0 4 2
1) Draw Gantt charts with ready queues if applicable, that using FCFS, SJF, Priority (a smaller priority number implies a higher priority), and RR (quantum = 1), with non-preemptive for all the algorithms applicable.
2) Repeat (1) with preemptive for the applicable algorithms only.
3) What is the Turnaround time of each process for each of the scheduling algorithms in (1) and RR in (2)?
FCFS SJF Priority RR
P1
P2
P3
P4
4) What is the Waiting time of each process for each of the scheduling algorithms in 1) and RR in 2).
FCFS SJF Priority RR
P1
P2
P3
P4
5) Which of the schedules in 1) and RR in 2) results in the minimal average waiting time over all processes? Show your judgments and calculations.
FCFS SJF Priority RR
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started