Käynnissä

C Programming (safe state algorithm)

The safe state algorithm is used by Operating Systems to avoid deadlock situations. The algorithm works by starting with a safe state, accepting a request for resources by a process, determining if the new state is safe, and then granting the request only if the new state is safe.

Write a program to implement the safe state algorithm under the following conditions. The program must handle up to 10 processes at any one time. There are four resource groups that can be requested. These are disk drives, tape drives, printers, and graphical plotters.

The current "state" of the system needs to be read into the program from a data file. It can be assumed that the current state is a safe one, however it will be simple enough for the program to verify this. Once the current state is read in, a new resource request can be read in from a data file or from the keyboard.

The program should accept this resource request and determine if the new state is also safe. The process of accepting new resource requests can be continued if desired.

The output from the program will be a display of the current state, the resource request entered, a message indicating whether the state is safe or not, and the sequence of processes that was used to verify the safe state. The output to the screen must be readable so the user can determine what has occurred.

This Project must be complete within 3 days

Taidot: C-ohjelmointi

Näytä lisää: safe state algorithm, program safe state, safe state algorithm program, safe state program, program resource request algorithm, resource request algorithm program, safer algorithm, program safe state algorithm, algorithm safe state, safe state programming, what is the algorithm, what is programming used for, what is programming, what is in c programming, what is c programming used for, what is c# programming, what is c programming, what is a programming algorithm, what is algorithm in programming, what is algorithm, what is a algorithm in programming, what is a algorithm, what algorithm, up programming, the c programming

About the Employer:
( 4 reviews ) Fermo Posta, Italy

Projektin tunnus: #6396

Myönnetty käyttäjälle:

siddhartha1

dear sir, we can do it easily within the time frame

100 $ USD 3 päivässä
(3 arvostelua)
5.9

5 freelanceria on tarjonnut keskimäärin 84 $ tähän työhön

arun130469

Seems like a fairly simple app. Can do it but the price is low - atleast $150. Please check out more details on us at www.indi-soft.com. Please check out my reviews on this site. Arun

100 $ USD 7 päivässä
(1 arvostelu)
2.8
bid1

we can do it.

100 $ USD 5 päivässä
(0 arvostelua)
0.0
poderico

I work with an italian university. The work is easy ;)

99 $ USD 7 päivässä
(0 arvostelua)
0.0
halwasiyainfosys

Dear Sir, We have understood your requirements and can easily do the project as we are having more than 5 years of experience in IT industry and we are India's leading IT company. We offer 100% satisfaction and money Lisää

20 $ USD 4 päivässä
(0 arvostelua)
0.0