hai..can anyone help me on this task...i might need some sample on doing it.TQ
Tasks:
1 You are expected to write a program that simulates CPU scheduling algorithms (RR, SJF, and Priority).
2 The program will request the user to set the time slice to be used for RR algorithm and the number of processes to be selected for execution. Then, the system will generate random data for all processes (process id, arrival time, priority and burst time).
Result:
1. During the execution of the scheduling algorithm show the processes that are still in ready queue and the remaining CPU burst time
2. Plot the graph displaying the turnaround time of each process in different scheduling algorithm.
Display the amount of waiting time for each of the processes when executing using different scheduling algorithms