C.C

Completed Posted Mar 8, 2008 Paid on delivery
Completed Paid on delivery

The programs should all be written in C and work using the Linux operating system.

[url removed, login to view] a program that will emulate the Selfish Round Robin scheduling algorithm.

The program should request the user to input the number of processes N and then for each process the arrival time AT, the number of units of CPU time required NUT, and for each run prompt the user for the unit of time UT(quanta) allowed for access to the CPU. Assume any process in the new queue will increment its priority value by 2 and any process in the accepted queue increments by a value of 1 for each cycle.

[url removed, login to view] a simple command interpreter that will support the < and > redirection operators and command line arguments. Note to exit the command line of your program have it so that the user types the string EXIT99 in uppercase. Here all you need is to loop and print a command prompt, and fork and within the child pass the command and arguments to an exec function of your choice.

## Deliverables

[url removed, login to view] a program that will emulate the Selfish Round Robin scheduling algorithm.

The program should request the user to input the number of processes N and then for each process the arrival time AT, the number of units of CPU time required NUT, and for each run prompt the user for the unit of time UT(quanta) allowed for access to the CPU. Assume any process in the new queue will increment its priority value by 2 and any process in the accepted queue increments by a value of 1 for each cycle.

The program should then display each process' status one per line. The process status labels displayed should be

W --- waiting

R --- running

F --- completed.

A typical display; say for 3 processes, labelled A, B and C. Where

A requires 2 units of time NUT = 2, and arrival time AT = 0.

B requires 3 units of time NUT = 3, and arrival time AT = 0.

C requires 2 units of time NUT = 2, and arrival time AT = 1.

And the unit time allowed for each process UT = 1.

Note when two or more processes have an equivalent arrival times then queue them in the order they arrive i.e. 1st come 1st on the queue.

The program should then display

T A B C

0 R W -

1 W R W

2 R W W

3 F R W

4 F W R

5 F R W

6 F F R

7 F F F

Each run should stop when all processes have F status; where T shows each unit cycle of time.

[url removed, login to view] a simple command interpreter that will support the < and > redirection operators and command line arguments. Note to exit the command line of your program have it so that the user types the string EXIT99 in uppercase. Here all you need is to loop and print a command prompt, and fork and within the child pass the command and arguments to an exec function of your choice.

The above programs should all be written in C and work using the Linux operating system.

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Linux Operating System should be used

C Programming Linux

Project ID: #3783622

About the project

27 proposals Remote project Active Mar 27, 2008

Awarded to:

lvdt

See private message.

$25.5 USD in 16 days
(47 Reviews)
4.1

27 freelancers are bidding on average $56 for this job

nusoftware

See private message.

$85 USD in 16 days
(15 Reviews)
4.1
exiledsoulvw

See private message.

$85 USD in 16 days
(11 Reviews)
3.7
remusg

See private message.

$85 USD in 16 days
(9 Reviews)
3.7
anubhawps

See private message.

$85 USD in 16 days
(11 Reviews)
3.5
miguelabate

See private message.

$25.5 USD in 16 days
(2 Reviews)
3.4
ipapadop

See private message.

$76.5 USD in 16 days
(8 Reviews)
3.2
mfranco

See private message.

$25.5 USD in 16 days
(8 Reviews)
2.6
dmoroz

See private message.

$85 USD in 16 days
(1 Review)
1.9
burak1000vw

See private message.

$42.5 USD in 16 days
(1 Review)
1.8
24bits

See private message.

$76.5 USD in 16 days
(4 Reviews)
1.6
muneshchauhan

See private message.

$76.5 USD in 16 days
(2 Reviews)
0.6
thepirates

See private message.

$42.5 USD in 16 days
(1 Review)
0.0
vw6706516vw

See private message.

$51 USD in 16 days
(0 Reviews)
0.0
uxemb

See private message.

$25.5 USD in 16 days
(0 Reviews)
0.0
minyunvw

See private message.

$51 USD in 16 days
(1 Review)
0.0
yogeshkumarvw

See private message.

$85 USD in 16 days
(0 Reviews)
0.0
rodrigomarc

See private message.

$23.8 USD in 16 days
(0 Reviews)
0.0
shentlyn

See private message.

$59.5 USD in 16 days
(0 Reviews)
0.0
lucky1010

See private message.

$25.5 USD in 16 days
(0 Reviews)
0.0
skotagiri

See private message.

$68 USD in 16 days
(0 Reviews)
0.0