Question: Develop an application for implementing CPU scheduling Algorithms. Create a menu for user to select which of the scheduling algo he wants to apply. Get
Develop an application for implementing CPU scheduling Algorithms. Create a menu for user to select which of the scheduling algo he wants to apply. Get input from user. User will enter no. of processes, their burst time, arrival time, priority (in case of priority scheduling) and time quantum ( in RR). Implement following CPU scheduling Algorithms FCFS SJF(Preemptive) SJF (nonpreemptive Priority Scheduling (Preemptive) Priority Scheduling (nonpreemptive) Round Robin Your program should calculate Waiting Time Turnaround Time Response Time For each process and Average of these for every algorithm. Note: use proper menus for user inputs and show output in proper format. Implementation should be done with C++ programing language..
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
