Question
Two transactions T1 and T2 both follow the Two-Phase Locking (2P
- L protocol. T1 acquires an exclusive lock on row A and then requests a lock on row B, while T2 has already acquired an exclusive lock on row B and now requests a lock on row A. What is the most accurate statement about this situation?
More IT DBMS Questions
- In database management, what is a 'foreign key'?
- In a 'clustered' index on a database table, what distinguishes it from a non-clustered index?
- Consider the following Java code snippet public class Car { private String model; private int year; public Car(String model, int year) {...
- In the wait-die deadlock prevention scheme, transaction T1 has timestamp 5 and T2 has timestamp 10. If T2 requests a lock on a data item currently held by ...
- Relations R and S share the same schema, with R having 50 tuples and S having 50 tuples. If R and S share exactly 20 common tuples, how many tuples will th...
- A program needs to process elements from a `Queue` until it becomes empty. Which control flow structure is most suitable for this task?
- A table contains 50,000,000 records, and a B+ tree index built on it has a fan-out (branching order) of exactly 60 at each internal node. What is the minim...
- What is 'normalization' in database design?
- Which of the following best describes the control flow when a method in a subclass overrides a method in its superclass, and an object of the subclass is r...
- Given relations Enrolled(Student, Course) and AllCourses(Course), which relational algebra operation correctly finds students enrolled in ALL courses liste...
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)