What is the situation called when two or more transactions are permanently blocked, each waiting for a lock held by the other transaction to be released? MCQ with Answer and Explanation

What is the situation called when two or more transactions are permanently blocked, each waiting for a lock held by the other transaction to be released?
A. Starvation
B. Deadlock
C. Isolation failure
D. Concurrency
Answer: Option B
Solution (By JKSSB Mock Tests)
A Deadlock occurs when two or more transactions are stuck in a circular dependency, each waiting for resources locked by the other, preventing progress.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
What is a tuple in a relational database?
A. A relationship between tables
B. A single row in a table
C. The name of the table
D. A single column in a table

Correct Answer: Option B


Explanation:
In RDBMS, a tuple represents a single row or record in a relation (table).

This question belongs to: Computer Database Management System (DBMS)
Question #2
When the same data is updated in one location but remains unchanged in another location, it creates a state of what?
A. Data Security
B. Data Independence
C. Data Inconsistency
D. Data Integrity

Correct Answer: Option C


Explanation:
Data Inconsistency occurs when different versions of the same data appear in different places due to uncontrolled data redundancy.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which normal form addresses partial dependencies, i.e., non-prime attributes dependent on part of a composite primary key?
A. BCNF
B. 1NF
C. 2NF
D. 3NF

Correct Answer: Option C


Explanation:
Second Normal Form (2NF) eliminates partial dependencies by ensuring all non-key attributes are fully functionally dependent on the entire primary key.

This question belongs to: Computer Database Management System (DBMS)