GATE CS 2021 Set 2 | Question 42
Databases › Transaction Management · MCQ · 2 marks · Answer: B
- Question 42Databasesmcq2 marksLet be the following schedule of operations of three transactions and in a relational database system:Consider the statements P and Q below: P: is conflict-serializable. Q: If commits before finishes, then is recoverable. Which one of the following choices is correct?
- A.Both P and Q are true
- B.P is true and Q is false✓
- C.P is false and Q is true
- D.Both P and Q are false
Answer: B
Solution
The precedence graph of is acyclic, so is conflict-serializable (P true). reads after writes ; if commits before , the schedule is not recoverable (Q false). - A.
More GATE PYQ on Transaction Management
All GATE CS Databases PYQ →Attempt GATE CS 2021 Set 2 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →