Professional Documents
Culture Documents
Deadlock Question Attempt Review
Deadlock Question Attempt Review
Information
Given the matrices C and A, and the vector R, calculate the V 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.
1 1 1 1
⎡ ⎤
⎢2 3 3 2 ⎥
C = ⎢ ⎥
⎢3 3 4 1 ⎥
⎣ ⎦
2 1 2 2
1 0 1 0
⎡ ⎤
⎢1 1 0 1 ⎥
A = ⎢ ⎥
⎢0 3 1 1 ⎥
⎣ ⎦
1 0 2 2
R = [3 6 5 7 ]
https://moodle2.cs.uh.edu/moodle/mod/quiz/review.php?attempt=21198&cmid=1002 1/3
12/11/22, 2:16 PM Deadlock Question: Attempt review
Question 1
Complete
V = [ 0 2 1 3 ]
8 4 7 6 5 9
Question 2
Complete
0 1 9 2 4 8
Question 3
Complete
Select one:
True
False
https://moodle2.cs.uh.edu/moodle/mod/quiz/review.php?attempt=21198&cmid=1002 2/3
12/11/22, 2:16 PM Deadlock Question: Attempt review
Question 4
Complete
Not graded
Provide a file (JPEG, PDF, etc.) showing your work (step by step) while executing the Banker's algorithm.
turned in paper
Jump to...
Programming Question 1 ►
https://moodle2.cs.uh.edu/moodle/mod/quiz/review.php?attempt=21198&cmid=1002 3/3