| | |
CPU scheduling algorithms (RR, SJF, and Priority).
![]() |
•
•
Join Date: Sep 2006
Posts: 1
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- cpu scheduling algorithm please (Community Introductions)
- Simulation for CPU Scheduling (C++)
- CPU scheduling algorithm (C++)
- Cpu scheduling algorithm (C)
- Need help with CPU scheduling algorithms (C++)
Other Threads in the Java Forum
- Previous Thread: Help for Mobile 3d Game Development
- Next Thread: How do I traverse tabbedpanes programmatically?
| Thread Tools | Search this Thread |
2dgraphics @param account affinetransform android api apple applet application arc arguments array automation banking binary binarytree bluetooth chatprogramusingobjects class client code color compare component count database derby design detection eclipse eclipsedevelopment encryption error fractal game givemetehcodez graphics gridlayout gui guitesting helpwithhomework html ide if_statement image inheritance integer j2me java java.xls javadesktopapplications javaprojects jlabel jni jpanel julia keytool keyword linux list macintosh map method methods midlethttpconnection mobile monitoring netbeans nullpointerexception object open-source pong problem producer program project projectideas property reference replaysolutions ria rim scanner server set size sms sourcelabs splash sql swing terminal threads transforms tree ui unicode validation web windows





