GATE CSE 2021 Set 2 Q42: Conflict serializability and recoverability of a schedule
- Databases
- 2 marks
- MCQ
- −2/3 if wrong
Question
Let S be the following schedule of operations of three transactions , and in a relational database system:
Consider the statements P and Q below:
P: S is conflict-serializable.
Q: If commits before finishes, then S is recoverable.
Which one of the following choices is correct?
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: B (official GATE 2021 final answer key)
Concept used: Precedence graph for conflict serializability; recoverability requires a reader to commit after the writer it read from.
First step: List conflicting pairs: before , before , before ; then note that reads X written by .
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2021 Set 2 CS question paper and final answer key, organised by IIT Bombay. Question paper · Answer key
More Databases PYQs
- 2026 Session 1 · Q30Which functional dependency inferences always hold
- 2026 Session 1 · Q31Dependency-preserving decompositions for 1NF, 2NF, 3NF, BCNF
- 2026 Session 1 · Q43Relational algebra equivalent of a tuple calculus join query
- 2026 Session 1 · Q65Number of superkeys with candidate keys {A,B} and {A,C}
- 2026 Session 2 · Q15Match DBMS schema levels with what they describe
- 2026 Session 2 · Q20When two transactions do not conflict on a data item