os questions...

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Aug 2005
Posts: 1
Reputation: princeinc is an unknown quantity at this point 
Solved Threads: 0
princeinc princeinc is offline Offline
Newbie Poster

os questions...

 
0
  #1
Aug 22nd, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 80
Reputation: Daishi is an unknown quantity at this point 
Solved Threads: 2
Daishi Daishi is offline Offline
Junior Poster in Training

Re: os questions...

 
0
  #2
Aug 22nd, 2005
:rolleyes:

You must be in the most difficult beginning programming class imagineable.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 216
Reputation: hooknc is an unknown quantity at this point 
Solved Threads: 8
hooknc hooknc is offline Offline
Posting Whiz in Training

Re: os questions...

 
0
  #3
Aug 22nd, 2005
I would drop that class asap. This looks like an advanced programming class and my guess is that you have very little basic programming under your belt.

Regards,

Nate
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: os questions...

 
0
  #4
Aug 22nd, 2005
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 8
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: os questions...

 
0
  #5
Aug 22nd, 2005
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
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC