City Guilds Model Questions Vol1 2025 Information Technology Question 20

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

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

A system has two resource types, A and B, with total quantities \(10\) and \(7\) respectively. The current allocation and maximum demand matrices for three processes are: \[ \begin{array}{c|ccc} & P1 & P2 & P3 \\ \hline \text{Allocation} & (2,1) & (3,2) & (2,1) \\ \text{Maximum} & (5,3) & (3,5) & (5,3) \\ \end{array} \] Using the Banker's algorithm, determine whether the system is in a safe state. If it is safe, give one possible safe sequence of process execution.

Answer Options

A. Safe state; safe sequence P2 → P3 → P1
B. Safe state; safe sequence P1 → P2 → P3
C. Unsafe state; no safe sequence
Correct Answer D. Safe state; safe sequence P2 → P1 → P3
Correct Answer
D
Correct Option:
Safe state; safe sequence P2 → P1 → P3

About This Question

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