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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!