954,193 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

CPU scheduling algorithms (RR, SJF, and Priority).

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

ank_nute83
Newbie Poster
1 post since Sep 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You