1. Home
  2. Database Management Systems
  3. Database Management Systems
  4. Deadlock occurs when:

Added 11 Nov 2026

Deadlock occurs when:

  1. A transaction has a syntax error
  2. Transactions wait indefinitely for each other Correct answer
  3. Database server crashes
  4. User forgets to commit

Correct answer

B. Transactions wait indefinitely for each other

10 views

MCQSEXAM

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

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Database Management Systems MCQs

Practise all Database Management Systems MCQs

Similar MCQs