Closed

Urgent: write a C++ or Java program

This project received 15 bids from talented freelancers with an average bid price of $62 USD.

Get free quotes for a project like this
Employer working
Project Budget
$10 - $30 USD
Total Bids
15
Project Description

A program that implements both deadlock avoidance using banker’s algorithm and deadlock detection. Can be in either C++ or Java.

The algorithm should be treated as a series of functions that

will be passed a series of test cases in your main function.

Inputs​: allocation matrix, claim matrix, and resource vector (you will have to collect the available

vector and C-A yourself using the above inputs)

Outputs: ​determination of safe state (and your program’s reasoning for it) and a list of all

deadlocked processes.

Need to be able to identify processes by

their number in the matrix (two dimensional array).

Your test cases should be numerous and cover all edge cases. If inputs are not formatted

properly or the sizes between matrices and vectors don't match up, your code should return info

on those inconsistencies (i.e your code is “stupid-proof”).

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online