Project Detail

C Programming (safe state algorithm)  

C Programming (safe state algorithm) is project number 6396
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: siddhartha1

Budget: $20-100

Created: 10/03/2004 at 18:38 EDT

Bid Count: 5

Average Bid:
$ 84

10/08/2004 at 18:38 EDT

Project Creator: adevita
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (4 reviews)

Bid On This Project
 

Description

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.



Additional information submitted:

10/03/2004 at 18:40 EDT:
This Project must be complete within 3 days


Additional files submitted:
Safestate.pdf

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

100

3 days

10-06-2004 09:37 EDT

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

help

 

100

7 days

10-04-2004 01:11 EDT

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

help

 

20

4 days

10-04-2004 04:35 EDT

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 back guarantee. Further we provide quality & speed at reasonable prices. you can visit our complete company profile at http://www.halwasiyainfosys.com :::::::::::CHECK PMB FOR DETAILS:::::::::::: Regards for Halwasiya Infosys Garvit

help

 

100

5 days

10-03-2004 21:54 EDT

(No Feedback Yet)

we can do it.

help

 

99

7 days

10-04-2004 01:34 EDT

(No Feedback Yet)

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

help


    Bid on this Project