Question: CPU scheduler will decide which process should be given the CPU for its execution. For this it uses different algorithm to choose among the process.
CPU scheduler will decide which process should be given the CPU for its execution. For this it uses different algorithm to choose among the process. One among that Algorithm is Priority algorithm. In this algorithm the processes will be given the priorities. The process which is having the highest priority is allocated the cup first After finishing the request, the CPU is allocated to the next highest priority and soon. Write an algorithm and C program for the Priority algorithm.
Step by Step Solution
3.35 Rating (161 Votes )
There are 3 Steps involved in it
Given Write An algorithm ... View full answer
Get step-by-step solutions from verified subject matter experts
