Fill in the missing event that causes deadlock in a database. There are two processes (P1 and P2), each of which needs to update two records (R1 and R2) and the following sequence leads to a deadlock:1. P1 accesses R1 and locks it.2. P2 accesses R2 and locks it.3. ____4. P2 requests R1, which is locked by P1.

A. P2 releases R2.
B. P1 requests R1 again.
C. P1 requests R2, which is locked by P2.
D. P2 releases R1.


Answer: C

Computer Science & Information Technology

You might also like to view...

What is the efficiency of linear search?

a. O(1). b. O(log n). c. O(n). d. O(n2).

Computer Science & Information Technology

Which data structure is used to convert an infix expression to prefix or postfix?

a. Stack b. Hash table c. Priority queue d. Linked list

Computer Science & Information Technology

When using data collector sets, what options exist under the various Properties tabs for the set?

What will be an ideal response?

Computer Science & Information Technology

The bool data type can take on values of true/false or on/off.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology