The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Implement the Banker's algorithm for deadlock avoidance, that works on a given set of N processes and M resource types (N<10,M<10). Use C/C++/C# or Java for the implementation, with a simple text interface, where the user enters only the name of the input file (text only). The program reads all the necessary input data from that file.
Â
The input data and result is then displayed on the screen.
Â
You may use your program to validate the example you gave in the Week 4 discussion.
Â
Deliverables: the source code + a screenshot of the program showing an execution example + the list of ALL available solutions for the Example posted in the Week 4 Discussions area.
Â
IMPORTANT: The grading scale for this assignment is all follows:
Â
- max score is 70% if you use a GREEDY approach (will find one solution, but not always).
Â
- max score is 90% if you use BACKTRACKING and find one solution only
Â
- max score is 100% if you use BACKTRACKING and find all solutions
Â
Please include the input text file from which the program is reading.