944,080 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 20157
  • Java RSS
Sep 6th, 2006
0

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

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ank_nute83 is offline Offline
1 posts
since Sep 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Help for Mobile 3d Game Development
Next Thread in Java Forum Timeline: How do I traverse tabbedpanes programmatically?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC