somaiya.edu
Experiment No 4
Process Scheduling
Process Scheduling
Theory
Theory
Algorithm
Algorithm
Flowchart
Flowchart
Simulator
Simulator
Numericals
Numericals
Quiz
Quiz
References
References
Feedback
Feedback
Home
Home
Log Out
Log Out
PROCESS SCHEDULING
Experiment Number 4 : Preemptive Priority Scheduling
NUMERICALS
PRACTICE NUMERICALS
Question 1
Consider the following set of processes and the length of the CPU burst given in ms. What is the average waiting time using priority scheduling?
(a) 5.2ms
(b) 8.2ms
(c) 1.2ms
(d) 6.2ms
ANSWER:
Question 2
Calculate waiting time and turn around time for the following processes:
(a) 3.6
(b) 7.8
(c) 6.9
(d) 4.0
ANSWER:
Question 3
Calculate average waiting time for following processes:
(a) 4.5
(b) 2.5
(c) 9.5
(d) 3.6
ANSWER:
Question 4
Calculate average turn-around time and average waiting time for the following processes.
(a) 5.6 , 3.6
(b) 8.6 , 4.6
(c) 4.6 , 2.6
(d) 3.6 , 8.6
ANSWER:
Question 5
Calculate average turn-around time and average waiting time for the following processes.
(a) 20 , 5.5
(b) 30 , 9.5
(c) 10 , 2.5
(d) 10 , 6.2
ANSWER: