Deadlock occurs when:
-
A
A transaction has a syntax error
-
B
Transactions wait indefinitely for each other
Correct answer
-
C
Database server crashes
-
D
User forgets to commit
Correct answer
B. Transactions wait indefinitely for each other
10 views
Explanation
Two or more transactions wait indefinitely for each other to release locks. Source: mcqsghar.com, Q9.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ