>
Exams
>
Computer Science and IT Engineering
>
Database Management Systems
>
in two phase locking 2pl a transaction must be
Question:
In two-phase locking (2PL), a transaction must be _______ .
Show Hint
The two-phase locking protocol ensures serializability and prevents deadlocks by enforcing a strict order in acquiring and releasing locks.
AP PGECET - 2025
AP PGECET
Updated On:
Jun 16, 2025
Release all locks before acquiring new ones
Acquire all locks before releasing any
Use only shared locks
Avoid deadlocks by timeouts
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
Two-phase locking protocol requires that a transaction must acquire all locks before releasing any. This ensures that the transaction follows the "growing phase" and "shrinking phase," which are essential for preventing deadlocks.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Database Management Systems
In SQL, which clause is used to filter the results of an aggregate function?
CUET (PG) - 2026
Data Science
Database Management Systems
View Solution
Define the term data independence. What are the different levels of data independence?
Kerala Plus Two(Class 12) - 2026
Computer Science
Database Management Systems
View Solution
Describe the use of built-in MySQL functions like COUNT(), SUM(), and MAX().
PSEB XII - 2026
Computer Applications
Database Management Systems
View Solution
Explain the concepts of Primary Key, Foreign Key, and Candidate Key.
PSEB XII - 2026
Computer Applications
Database Management Systems
View Solution
Write the syntax and use of SQL DDL commands (CREATE, ALTER, DROP) and DML commands (INSERT, UPDATE, DELETE).
PSEB XII - 2026
Computer Applications
Database Management Systems
View Solution
View More Questions
Questions Asked in AP PGECET exam
The absolute humidity of air at 101.325 kPa is measured to be 0.02 kg of water per kg of dry air. Then the partial pressure of water vapour in the air is:
AP PGECET - 2025
Thermodynamics
View Solution
If the vapour pressure at two temperatures of a solid phase in equilibrium with its liquid phase is known, then the latent heat of fusion can be calculated by the:
AP PGECET - 2025
Thermodynamics
View Solution
1 mole of Argon gas is heated at constant pressure from 200 K to 600 K.
If \( C_p = 4\ \text{cal} \cdot \text{deg}^{-1} \cdot \text{mol}^{-1} \), then the change in entropy will be:
(Given \( \ln 3 = 1.09 \))
AP PGECET - 2025
Thermodynamics
View Solution
The minimum amount of work required to operate a refrigerator which removes 1000 Cal heat at $0^\circ$C and rejects at $50^\circ$C will be:
AP PGECET - 2025
Thermodynamics
View Solution
The entropy of single crystalline Silicon at absolute zero will be:
AP PGECET - 2025
Thermodynamics
View Solution
View More Questions