City Guilds Model Questions Vol1 2022 Information Technology Question 21

Practice objective / multiple choice question 21 from the 2022 City Guilds Model Questions Vol1 Information Technology examination.

City Guilds Model Questions Vol1 2022 Information Technology Objective / Multiple Choice Medium Difficulty
Question 21 CITY_GUILDS_MODEL_QUESTIONS_VOL1 • 2022 • INFORMATION_TECHNOLOGY • objective

A system has three processes \(P_1,P_2,P_3\) and two resource types \(R_A,R_B\). The total resources are \(R_A=10\) and \(R_B=8\). The current allocation is \(P_1:(3,2), P_2:(2,1), P_3:(2,2)\) and the maximum demand is \(P_1:(6,4), P_2:(5,3), P_3:(3,5)\). Process \(P_2\) requests an additional \((2,1)\) units of \((R_A,R_B)\). Using the Banker's algorithm, can this request be granted while keeping the system in a safe state?

Answer Options

Correct Answer A. Yes, the request can be granted while keeping the system in a safe state.
B. No, the request cannot be granted because it would lead to an unsafe state.
C. Yes, the request can be granted, but the system would become deadlocked.
D. No, the request must be denied to maintain system safety.
Correct Answer
A
Correct Option:
Yes, the request can be granted while keeping the system in a safe state.

About This Question

This is City Guilds Model Questions Vol1 2022 Information Technology Question 21. It is one of the objective questions from the 2022 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.

Unlock Full Access Available for Android & Windows
Chat with Support