Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1A. Describe the FOUR events in which CPU-scheduling decisions may take place. Consider the following set of processes, arriving at the given times and having
1A. Describe the FOUR events in which CPU-scheduling decisions may take place. Consider the following set of processes, arriving at the given times and having the following CPU burst time and priorities: \begin{tabular}{|1|1|1|1|} \hline Process & Arrival Time (ms) & Burst Time $(\mathrm{ms})$ & Priority \hline A & O & 8 & 3 \hline B & 3 & 4 & 1 Thline C & 5 & 7 & 4 1 \hline D & 8 & 3 & 2 \hline \end{tabular) Draw a Gantt chart and calculate average waiting time and turn-around time of each process using SJF, Priority and Round Robin (quantum $3 \mathrm{-ms} $ ) CPU scheduling algorithms. Assume pre-emptive scheduling policy for SJF and Priority scheduling. Consider higher the priority value, lower the priority of the process CS.JG.043
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