GATE CS 2021 Set 1 | Question 42
Databases › Transaction Management · MCQ · 2 marks · Answer: B
- Question 42Databasesmcq2 marksLet and denote read and write operations respectively on a data item by a transaction . Consider the following two schedules.Which one of the following options is correct?
- A.is conflict serializable, and is not conflict serializable.
- B.is not conflict serializable, and is conflict serializable.✓
- C.Both and are conflict serializable.
- D.Neither nor is conflict serializable.
Answer: B
Solution
Drawing precedence graphs: has a cycle between and (conflicts on and in opposite order), so it is not conflict serializable. has an acyclic precedence graph (), so it is conflict serializable. - A.
More GATE PYQ on Transaction Management
All GATE CS Databases PYQ →Attempt GATE CS 2021 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →