Question: 1. Write one single C/C++ program to simulate different scheduling algorithm in OS (functions)- Pre-emptive Algorithms - Shortest job remaining first - Priority (pre-emptive) -

1. Write one single C/C++ program to simulate different scheduling algorithm in OS (functions)- Pre-emptive Algorithms - Shortest job remaining first - Priority (pre-emptive) - Round Robin Compare the algorithm and print which is having less waiting time. Consider the ready queue of OS, the process are present and maintained with their arrival time and expected burst time for execution. Some processes have priority which is also given. Consider the required data to run different scheduling algorithms and analyse the result with respect to average waiting time and turnaround time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
