Banker's Algorithm

Submission

We again use NYU Classes

Assignment

Lab 3 (Banker's algorithm) is available on NYU Classes.

Note that, as mentioned in the pdf specification, there is documentation required for this lab and it will form a (small) part of the grade.

Inputs and outputs

To help in debugging I have manually produced cycle by cycle results for a few of the examples. They are included in the detailed columns in the following table. I do NOT require your program to produce these outputs; they are for your benefit only.

Runinputoutput fifo detailedbanker detailed
1 click here click here run 1 fifo run 1 banker
2 click here click here run 2 fifo run 2 banker
3 click here click here run 3 fifo
4 click here click here run 4 banker
5 click here click here run 5 fifo run 5 banker
6 click here click here run 6 fifo run 6 banker
7 click here click here run 7 fifo run 7 banker
8 click here click here
9 click here click here run 9 banker
10 click here click here run 10 banker
11 click here click here
12 click here click here run 12 fifo run 12 banker
13 click here click here run 13 fifo run 13 banker


Allan Gottlieb