C.C

Ukończone Opublikowano Mar 8, 2008 Płatność przy odbiorze
Ukończone Płatność przy odbiorze

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

Programowanie C Linux

Numer ID Projektu: #3783622

O projekcie

27 ofert Zdalny projekt Aktywny Mar 27, 2008

Przyznany użytkownikowi:

lvdt

See private message.

$25.5 USD w ciągu 16 dni
(47 ocen)
4.1

27 freelancerów złożyło ofertę za $56 w tym projekcie

nusoftware

See private message.

$85 USD w ciągu 16 dni
(15 Oceny)
4.1
exiledsoulvw

See private message.

$85 USD w ciągu 16 dni
(11 Oceny)
3.7
remusg

See private message.

$85 USD w ciągu 16 dni
(9 Oceny)
3.7
anubhawps

See private message.

$85 USD w ciągu 16 dni
(11 Oceny)
3.5
miguelabate

See private message.

$25.5 USD w ciągu 16 dni
(2 Oceny)
3.4
ipapadop

See private message.

$76.5 USD w ciągu 16 dni
(8 Oceny)
3.2
mfranco

See private message.

$25.5 USD w ciągu 16 dni
(8 Oceny)
2.6
dmoroz

See private message.

$85 USD w ciągu 16 dni
(1 Ocena)
1.9
burak1000vw

See private message.

$42.5 USD w ciągu 16 dni
(1 Ocena)
1.8
24bits

See private message.

$76.5 USD w ciągu 16 dni
(4 Oceny)
1.6
muneshchauhan

See private message.

$76.5 USD w ciągu 16 dni
(2 Oceny)
0.6
thepirates

See private message.

$42.5 USD w ciągu 16 dni
(1 Ocena)
0.0
vw6706516vw

See private message.

$51 USD w ciągu 16 dni
(0 Oceny)
0.0
uxemb

See private message.

$25.5 USD w ciągu 16 dni
(0 Oceny)
0.0
minyunvw

See private message.

$51 USD w ciągu 16 dni
(1 Ocena)
0.0
yogeshkumarvw

See private message.

$85 USD w ciągu 16 dni
(0 Oceny)
0.0
rodrigomarc

See private message.

$23.8 USD w ciągu 16 dni
(0 Oceny)
0.0
shentlyn

See private message.

$59.5 USD w ciągu 16 dni
(0 Oceny)
0.0
lucky1010

See private message.

$25.5 USD w ciągu 16 dni
(0 Oceny)
0.0
skotagiri

See private message.

$68 USD w ciągu 16 dni
(0 Oceny)
0.0