freelanceprogrammers.org Forum Index » C
Help on my OS assignment!!
Joined: 15 Jul 2003
Posts: 1
Help on my OS assignment!!
Hie,
Does anyone fimiliar in writing a program on cpu schedulling in C++
mainly on SJF, Round Robin and Priority!!..im a newbie in C++ so i
need guidance on doing this program... Hope that anyone is kind
enough to help me...
Thanks...
The Assignment goes like this:
Project 1
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.
Project 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.
Project 3
Develop a program to simulate a computer using a scheduling
algorithms based on a preemptive Priority scheduling. Each process
is assigned a random integer priority from 1 to 8. In case two
processes have the same priority, the first process submitted
executes first. Assume that each process has a random time of 1 to 9
seconds. Suppose the execution time is never more than the
exponential of the priority.
Joined: 07 Jul 2003
Posts: 14
Help on my OS assignment!!
--- In Programmers-Town@yahoogroups.com, "falleninhelltwice"
<anvile81@h...> wrote:
> Hie,
> Does anyone fimiliar in writing a program on cpu schedulling in C++
> mainly on SJF, Round Robin and Priority!!..im a newbie in C++ so i
> need guidance on doing this program... Hope that anyone is kind
> enough to help me...
> Thanks...
Hello friend ,
I have not done CPU Schedulling but we have done memory
mgmt in C++ long back (as our MCA II nd Sem Assginment ). Check it if
it can help you .
Keep posting
-Arif
Joined: 07 Jul 2003
Posts: 14
Help on my OS assignment!!
i have uploaded our Memory mgmt simulation project in file section
check it , sorry i forgot to tell u in last msg .
Joined: 19 Jul 2003
Posts: 29
Help on my OS assignment!!
--- arifali_007 <arifali_007@...> wrote:
> --- In Programmers-Town@yahoogroups.com,
> "falleninhelltwice"
> <anvile81@h...> wrote:
> > Hie,
> > Does anyone fimiliar in writing a program on cpu
> schedulling in C++
> > mainly on SJF, Round Robin and Priority!!..im a
> newbie in C++ so i
> > need guidance on doing this program... Hope that
> anyone is kind
> > enough to help me...
> > Thanks...
What grade of program do you want? Just simulation? Or
a routine to be plugged into a kernel? Please tell us
in details, probably then a solution can be thought
of. BTW, if C (not C++) will suffice, you can take a
look at the scheduler of the Linux kernel
(www.kernel.org).
Regards,
Shantanu
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







