GATE CSE 2017 Session 2 Q54: Number of conflict serializable schedules of two transactions
- Databases
- 2 marks
- NAT
- No negative marking
Syllabus topic: Transactions and concurrency control
Question
Two transactions and are given as
where denotes a read operation by transaction on a variable and denotes a write operation by transaction on a variable . The total number of conflict serializable schedules that can be formed by and is ________.
Try it: numerical answer: type the value
Show answer and explanation
Answer: 54 (official GATE 2017 final answer key)
Concept used: A schedule of two transactions is conflict serializable iff all conflicting pairs (here only the operations on ) are ordered the same way, so it is conflict equivalent to or .
First step: Count interleavings equivalent to (all of 's operations before 's) and to ( before ) separately, then add.
Full step-by-step solution
Loading…
Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.
More questions on Transactions and concurrency control
Every PYQ on this topic →Share this question
Source: official GATE 2017 Session 2 CS question paper and final answer key, organised by IIT Roorkee. 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