City Guilds Model Questions Vol1 2024 Information Technology Question 43

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

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

Three processes \(P_{1},P_{2},P_{3}\) share two resource types \(A\) (3 instances) and \(B\) (2 instances). The current allocation and maximum demand are: Allocation matrix (rows processes, columns A,B): \(P_{1}: (1,0)\) \(P_{2}: (0,1)\) \(P_{3}: (1,1)\) Maximum demand matrix: \(P_{1}: (2,1)\) \(P_{2}: (1,2)\) \(P_{3}: (2,2)\) Using the Banker's algorithm, determine whether the system is in a safe state. If it is safe, give one safe sequence; if not, state that it is unsafe.

Answer Options

A. The system is safe with the safe sequence P2, P1, P3.
Correct Answer B. The system is not in a safe state.
C. The system is in a safe state.
D. The system is safe; one possible safe sequence is P1 → P3 → P2.
Correct Answer
B
Correct Option:
The system is not in a safe state.

About This Question

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