In: Computer Science
For Priority Scheduling,
hello,
let me define every point to you.
So waiting time=Turnaround Time - Burst Time
In Priority Scheduling , The Scheduler only considers the Priority of process to assign CPU, So there is no overhead of burst Time and Arrival time.
The scheduling is completely based on priority , so it is easy to implement in operating system.
For a high Priority process, completion time , waiting time and turnaround time is small thus it increases the efficiency for high priority Process.
Starvation (in priority scheduling) is the Condition for a process when The Process is available in the ready Queue, But New Process of high priority Keep arriving in the ready Queue, because of which , a high priority process is unable to start and complete its execution, the process only resides in the ready queue but is unable to execute . This condition is called Starvation.
There are many Other advantages and Disadvantages of Priority Scheduling also:-
Advantages:-
Disadvantages:-
I think i was able to solve your problem to a greater extent, feel free to post your queries in comment box.Please consider my efforts and upvote this solution.
Thanku:)