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
Answer: A
You might also like to view...
Which of the following is not a data provider for WPF data binding?
a) ObjectDataProvider b) SqlDataProvider c) XmlDataProvider d) None of the above.
Which of the following statements is false?
a = [[77, 68, 86, 73], [96, 87, 89, 81], [70, 90, 86, 81]]a. Writing the list as follows makes its row and column tabular structure clearer: a = [77, 68, 86, 73], # first student's grades [96, 87, 89, 81], # second student's grades [70, 90, 86, 81] # third student's grades b. The element names in the last column all have 3 as the second index. c. The following nested for statement outputs the rows of the two-dimensional list a one row at a time: for row in a: for item in row: print(item, end=' ') print() d. All of the above statements are true.
What are the five major components that make up the Microsoft Virtual Desktop Infrastructure, and what is their function?
What will be an ideal response?
Which of the following wireless technologies only uses the 5GHz spectrum but reaches a theoretical throughput of only 54Mbps?
A. A B. B C. G D. N