Assume that execution starts immediately at time 0 and there is no context switch overhead. Draw a time diagram showing the execution of the above processes and calculate the average turnaround time and average waiting time based on the following CPU scheduling algorithms.

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter9: Database Design
Section: Chapter Questions
Problem 6P
icon
Related questions
Question

(i) Preemptive priority (Assume that the process with the lower process priority number goes first) 

b)
Consider the following set of four processes. The following table shows the process arrival time,
total process execution time, and the process priority numbers.
Process
Process
Process
Process
Arrival
Execution Time Priority Number
A
80
9
B
15
25
10
C
15
15
D
85
25
8.
Assume that execution starts immediately at time 0 and there is no context switch overhead. Draw
a time diagram showing the execution of the above processes and calculate the average
turnaround time and average waiting time based on the following CPU scheduling algorithms.
Transcribed Image Text:b) Consider the following set of four processes. The following table shows the process arrival time, total process execution time, and the process priority numbers. Process Process Process Process Arrival Execution Time Priority Number A 80 9 B 15 25 10 C 15 15 D 85 25 8. Assume that execution starts immediately at time 0 and there is no context switch overhead. Draw a time diagram showing the execution of the above processes and calculate the average turnaround time and average waiting time based on the following CPU scheduling algorithms.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Types of System Design
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
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning