0% found this document useful (0 votes)
14 views1 page

Assignment3 24

yy

Uploaded by

bbtmk.fm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

Assignment3 24

yy

Uploaded by

bbtmk.fm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment3: CSCE-352

1. Consider the following allocation stat table: table:

Consider a system with five processes (P0, P1, P2, P3, and P4) and three resource
types (A, B, and C) snapshot at time T0.

Allocation Max Available


A B C A B C A B C
P0 4 0 0 6 0 1 2 0 1
P1 1 1 0 1 7 5
P2 1 2 5 2 3 5
P3 0 6 3 1 6 4
P4 1 4 1 1 6 5

a) what will be content of need matrix?

b) Is the system in a safe state. If yes, show your work then what is the safe sequence?

c) Can a request (1, 0, 1) for P3 granted? Show your work

Submission deadline 23-Nov-2024

Submission Guidelines
• Do not SIMPLY Copy & Paste form Internet.
• Make sure that you write the assignment yourself.
• Remember, the early submission you make, the more grades you earn.
• Submissions for the assignment must be in (PDF) format.
• Submission must be via BLACKBOARD or via the following email (just
in case BLACKBOARD is not working):
[email protected]

You might also like