Multiple Choice
Consider the case of a home construction company with two application programs,purchasing (P1) and sales (P2) ,which are active at the same time.They each need to access two files,inventory (F1) and suppliers (F2) ,to update daily transactions.The following series of events will cause a deadlock.Fill in the missing event in the sequence.
1) Purchasing (P1) accesses the supplier file (F2) .
2) Sales (P2) accesses the inventory file (F1) .
3) Purchasing (P1) doesn't release the supplier file (F2) and requests the inventory file (F1) ,but P1 is blocked because F1 is being held by P2.
4) Meanwhile,____
A) sales (P2) doesn't release the inventory file (F1) but requests the supplier file (F2)
B) sales (P2) does release the inventory file (F1) and then requests the supplier file (F2)
C) purchasing (P1) does release the supplier file (F2) which is then requested by sales (P2)
D) purchasing (P1) exits
Correct Answer:

Verified
Correct Answer:
Verified
Q11: An algorithm designed to detect starvation by
Q12: A livelock can be caused by two
Q13: A deadlock is preceded by the simultaneous
Q14: The first and simplest recovery method,and the
Q15: Assume that the events in the accompanying
Q17: Deadlock does not usually affect the entire
Q18: Fill in the missing event that causes
Q19: All recovery algorithms have one feature in
Q20: Fill in the missing event that causes
Q21: _ is when each process involved in