GATE CS 2024 Set 1 | Question 46

Databases › Transaction Management · MSQ · 2 marks · Answer: B, C, D

  1. Question 46Databasesmsq2 marks
    Schedule . Which serial schedule(s) is/are conflict equivalent to S?
    • A.
    • B.
      ✓
    • C.
      ✓
    • D.
      ✓

    Answer: B, C, D

    Solution

    Answer: (B), (C) and (D) Precedence graph from the conflicts: on , precedes and , giving . touches only (no conflict with others), so it is unconstrained. The only edge is . Valid serial orders (topological sorts) are any with before and anywhere: , , -> options (B), (D), (C). Option (A) puts before , violating .

More GATE PYQ on Transaction Management

All GATE CS Databases PYQ →

Attempt GATE CS 2024 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →