| | |
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 |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card class classes client code collision columns component constructor crashcourse database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress integer intellij j2me java javadoc javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle physics plazmic print problem program project radio recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree trolltech unlimited utility webservices windows





