City Guilds Model Questions Vol1 2020 Information Technology Question 26
Practice objective / multiple choice question 26 from the 2020 City Guilds Model Questions Vol1 Information Technology examination.
In a system there are four processes \(P_0,P_1,P_2,P_3\) and three resource types \(A,B,C\). The Allocation matrix, Max matrix and Available vector are given below: Allocation: \[\begin{array}{c|ccc} & A & B & C\\\hline P_0 & 0 & 1 & 0\\ P_1 & 2 & 0 & 0\\ P_2 & 3 & 0 & 2\\ P_3 & 2 & 1 & 1\\ \end{array}\] Max: \[\begin{array}{c|ccc} & A & B & C\\\hline P_0 & 7 & 5 & 3\\ P_1 & 3 & 2 & 2\\ P_2 & 9 & 0 & 2\\ P_3 & 2 & 2 & 2\\ \end{array}\] Available vector: \((3,\,3,\,2)\). Using the Banker's safety algorithm, determine whether the current state is safe. If it is safe, give one possible safe sequence of process execution.
Answer Options
About This Question
This is City Guilds Model Questions Vol1 2020 Information Technology Question 26. It is one of the objective questions from the 2020 City Guilds Model Questions Vol1 Information Technology examination.
Difficulty level: Medium .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.