City Guilds Model Questions Vol1 2020 Information Technology Question 41

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

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

The system has three resource types A, B, C with total quantities ( (10, 5, 7) ). The current Allocation matrix for processes P1, P2, P3 is \(\text{Allocation}=\{P1:(0,1,0),\;P2:(2,0,0),\;P3:(3,0,2)\}\). The maximum demand matrix is \(\text{Max}=\{P1:(7,5,3),\;P2:(3,2,2),\;P3:(9,0,2)\}\). Using the Banker's algorithm, determine whether the system is in a safe state. If it is safe, provide one safe sequence of process execution.

Answer Options

A. Safe; a possible safe sequence is P1 → P2 → P3
B. Safe; a possible safe sequence is P3 → P2 → P1
C. Unsafe; no safe sequence exists
Correct Answer D. Safe; a possible safe sequence is P2 → P1 → P3
Correct Answer
D
Correct Option:
Safe; a possible safe sequence is P2 → P1 → P3

About This Question

This is City Guilds Model Questions Vol1 2020 Information Technology Question 41. 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.

Unlock Full Access Available for Android & Windows
Chat with Support