Professional Documents
Culture Documents
Banker-S Algorithm Question1
Banker-S Algorithm Question1
Information
Given the matrices C and A, and the vector V, calculate the R vector, and run the
Banker's algorithm to determine: (a) the final value of the V vector, and (b) if the current
state is a safe state.
2 1 2
⎡ ⎤
⎢3 3 6⎥
C = ⎢ ⎥
⎢2 3 5⎥
⎣ ⎦
1 1 1
1 0 2
⎡ ⎤
⎢0 3 2⎥
A = ⎢ ⎥
⎢1 1 1⎥
⎣ ⎦
1 0 1
V = [0 1 0]
https://moodle2.cs.uh.edu/moodle/mod/quiz/review.php?attempt=15761&cmid=796 1/3
4/5/22, 4:40 PM Banker's Algorithm Question: Attempt review
Question 1
Correct
R=[ 3 5 6 ]
4 2 1 0
Question 2
Incorrect
2 0 4 1
Question 3
Incorrect
Select one:
True
False
https://moodle2.cs.uh.edu/moodle/mod/quiz/review.php?attempt=15761&cmid=796 2/3
4/5/22, 4:40 PM Banker's Algorithm Question: Attempt review
Question 4
Not answered
Not graded
Provide a file (JPEG, PDF, etc.) showing your work (step by step) while executing the Banker's algorithm.
Jump to...
Programming Question 1 ►
https://moodle2.cs.uh.edu/moodle/mod/quiz/review.php?attempt=15761&cmid=796 3/3