| | |
os questions...
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Aug 2005
Posts: 1
Reputation:
Solved Threads: 0
can anyone pls help me to complete this questions?? i'm new in programming , n i'm not very sure how to even start to do this programs....so help needed urgently..preferably the program can be done in Java or C ++...
thank u
No1. Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice of 10 milliseconds and with a ready queue but no device queue. Assume that each process has a random service time of 1 to 9 seconds. Accept processes over a 20 seconds period but continue the simulation until all processes are complete.
No.2 Develop a program to simulate a computer using a preemptive Shortest Job First scheduling algorithm with a ready queue but no device queue. Assume that each process has a random service time of 1 to 9 seconds. Accept processes over a 20 seconds period but continue the simulation until all processes are complete.
No.3 One solution to the problem of avoiding indefinite post ponement of processes is aging, in which the priorities of waiting processes increase the longer they wait. Develop 2 aging algorithms and write simulation programs to examine their relative performance.
thank u
No1. Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice of 10 milliseconds and with a ready queue but no device queue. Assume that each process has a random service time of 1 to 9 seconds. Accept processes over a 20 seconds period but continue the simulation until all processes are complete.
No.2 Develop a program to simulate a computer using a preemptive Shortest Job First scheduling algorithm with a ready queue but no device queue. Assume that each process has a random service time of 1 to 9 seconds. Accept processes over a 20 seconds period but continue the simulation until all processes are complete.
No.3 One solution to the problem of avoiding indefinite post ponement of processes is aging, in which the priorities of waiting processes increase the longer they wait. Develop 2 aging algorithms and write simulation programs to examine their relative performance.
or he made it past the introductory courses using the same tactics (let others do the work for him and cheat on any written tests) and now thinks he's a programmer.
Do your own homework kid, and as said if it's way above your head you've clearly chosen the wrong courses.
Do your own homework kid, and as said if it's way above your head you've clearly chosen the wrong courses.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 8
Hi everyone,
Here is a link to a cpu round-robin with all the sources written in java
http://www.utdallas.edu/~ilyen/anima...am/manual.html
Go to the round-robin part
Yours sincerely
Richard West
Here is a link to a cpu round-robin with all the sources written in java
http://www.utdallas.edu/~ilyen/anima...am/manual.html
Go to the round-robin part
Yours sincerely
Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
![]() |
Similar Threads
- I have a few questions to be patched up can anybody get these to me ? (C++)
- Questions about Forum (Geeks' Lounge)
- Preparing for an interview and need some questions answered (C)
- Wireless Questions (Networking Hardware Configuration)
- Linux printing questions (*nix Hardware Configuration)
- Tutorials & Code Submissions - Questions? (DaniWeb Community Feedback)
Other Threads in the Java Forum
- Previous Thread: Help me please......
- Next Thread: java compiler
| Thread Tools | Search this Thread |
-xlint add android api applet application array arrays automation bi binary blackberry bluetooth chat class classes client code compile compiler component converter database digit draw eclipse error event exception fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image input int integer j2me java javame javaprojects jetbrains jni jpanel jtable julia learningresources linux list login loop main map method methods mobile myregfun netbeans newbie nonstatic notdisplaying oracle page pattern pearl print problem program programming project qt recursion scanner screen server set size sms sort spamblocker sql string swing system thread threads time tree variablebinding windows xor






