Professional Documents
Culture Documents
CSE373 Sheet#4
CSE373 Sheet#4
Faculty of Engineering
Specialized Scientific Programs
Spring 2015
Chapter 7: Deadlocks
Q.1. (7.3) Consider the following snapshot of a system:
Using the bankers algorithm, determine whether or not each of the following states is unsafe.
If the state is safe, illustrate the order in which the processes may complete. Otherwise,
illustrate why the state is unsafe.
a. Available = (0, 3, 0, 1)
b. Available = (1, 0, 0, 2)
Page 1 of 3
Alexandria University
Faculty of Engineering
Specialized Scientific Programs
Spring 2015
Page 2 of 3
Alexandria University
Faculty of Engineering
Specialized Scientific Programs
Spring 2015
Delivery:
Due to on Wednesday, May 20th, 2015.
Send your solution (attached, no drop box links!) by email to
operating.systems.ssp@gmail.com with a subject [Sheet4] ID and write your name and
ID in the body of the email.
Ex: [Sheet4] 1526
An automated message will be sent to you if and only if you sent the sheet in the correct
way.
No hardcopy will be accepted
No late submission
Good Luck
Page 3 of 3