Question
Consider the following process arrival, CPU and I/O burst times, and priorities given in the table below. Consider 1 as the highest priority. Assume that
Consider the following process arrival, CPU and I/O burst times, and priorities given in the table below. Consider 1 as the highest priority.
Assume that only one I/O device is available and it operates in FCFS manner without context switch time.
Assume that there is only one CPU and it is scheduled using Non-preemptive Round Robin with quantum = 3ms with context switch = 1ms.
PID
Arrival Time
CPU burst time
I/O burst time
CPU burst time
Priority
A
3
7
--
--
2
B
16
2
--
--
1
C
10
4
3
4
1
D
0
5
8
2
2
Draw CPU and I/O Gantt Chart, and then find Average waiting time, and average response time. Show your calculations in details.
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