492 views
1 votes
1 votes
Consider the following processes with priority

Process             P1    P2                 P3    P4

Burst Time         5       4                   3       2

Priority              2        1(highest)      3       4

Arrival time        0        2                   3       4

Processes are scheduled using priority scheduler with preemption of a process whenever a new process arrived with high priority. A process can continue the execution if arrived process in ready queue has lower priority than the executing process. what is the average waiting time of the process?

a) 5   b) 6.2   c) 4.3    d) 4.5    e) none

1 Answer

Related questions

0 votes
0 votes
1 answer
2
Nam14 asked Apr 5, 2023
532 views
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...
0 votes
0 votes
3 answers
3
Chaitanya Kale asked Sep 22, 2022
659 views
If we are using non-preemptive CPU scheduling then can there be process state transition from running to ready state?
1 votes
1 votes
1 answer
4
iarnav asked Jan 12, 2022
402 views
Does non preemptive CPU scheduling needs hardware support.kindly explain.