following processes executed n singie system Priority(smaller value means higher priority) Arrival Process CPU Burst(ms) Time(ms) P1 13 3 P2 5 2 P3 12 10 P4 12 7 5 P5 15 4 For the following scheduling algorithm, draw Gantt Chart showing the execution of the process, calculate the waiting time for each process, and calculate the average waiting time. а) FCFS b) Non preemptive priority c) Preemptive SJF (SRTF)

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter11: Operating Systems
Section: Chapter Questions
Problem 21VE
icon
Related questions
Question
100%
Assume the following processes are to be executed in single CPU system
Priority(smaller value
means higher priority)
Arrival
Process
CPU Burst(ms)
Time(ms)
PI
13
3
P2
5
2
4
P3
12
10
2
P4
12
7
5
P5
15
4
1
For the following scheduling algorithm, draw Gantt Chart showing the execution of the process, calculate
the waiting time for each process, and calculate the average waiting time.
a) FCFS
b) Non preemptive priority
c) Preemptive SJF (SRTF)
Transcribed Image Text:Assume the following processes are to be executed in single CPU system Priority(smaller value means higher priority) Arrival Process CPU Burst(ms) Time(ms) PI 13 3 P2 5 2 4 P3 12 10 2 P4 12 7 5 P5 15 4 1 For the following scheduling algorithm, draw Gantt Chart showing the execution of the process, calculate the waiting time for each process, and calculate the average waiting time. a) FCFS b) Non preemptive priority c) Preemptive SJF (SRTF)
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Analysis of Performance Measurement
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning