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

Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by r(x) and w(x) respectively. Which one of them is conflict serializable?

  1. (A) r₁(x); r₂(x); w₁(x); r₃(x); w₂(x)
  2. (B) r₂(x);r₁(x);w₂(x);r₃(x);w₁(x)
  3. (C) r₃(x);r₂(x);r₁(x);w₂(x);w₁(x)
  4. (D) r₂(x);w₂(x);r₃(x);r₁(x);w₁(x)
Answer

Answer (D)

Answer from the official GATE CS 2014 answer key.

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