GATE CS 2022 · Question 39 · Databases · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Let Rᵢ(z) and Wᵢ(z) denote read and write operations on a data element z by a transaction Tᵢ, respectively. Consider the schedule S with four transactions.
S: R₄(x)R₂(x)R₃(x)R₁(y)W₁(y)W₂(x)W₃(y)R₄(y)
Which one of the following serial schedules is conflict equivalent to S?

  1. (A) T₁ → T₃ → T₄ → T₂
  2. (B) T₁ → T₄ → T₃ → T₂
  3. (C) T₄ → T₁ → T₃ → T₂
  4. (D) T₃ → T₁ → T₄ → T₂
Answer

Answer (A)

Answer from the official GATE CS 2022 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes