Conflict serializability numerical problem – December 2025

December 4, 2026 · Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CS-502 DBMS December 2025 solved question paper

RGPV CS-502 (GS) | December 2025 | Q6(b) | 7 marks (inferred)

Question (restated): Test conflict serializability of R1(X), W1(X), R2(X), W2(X), R1(Y), W1(Y).

Answer

Construct a precedence graph with one vertex for each transaction T1 and T2. Add an edge Ti → Tj if an operation of Ti precedes a conflicting operation of Tj. Conflicts require the same data item, different transactions and at least one write.

Earlier operation Later operation Edge
R1(X) W2(X) T1 → T2
W1(X) R2(X) T1 → T2
W1(X) W2(X) T1 → T2

R1(X) and R2(X) do not conflict because both are reads. Only T1 accesses Y, so operations on Y add no intertransaction edge. Multiple conflicts in the same direction produce one graph edge.

The graph has no directed cycle. Its topological order is T1, T2. Hence the schedule is conflict serializable and equivalent to the serial schedule:

R1(X), W1(X), R1(Y), W1(Y), R2(X), W2(X)

The Y operations can move before T2’s X operations without changing any conflicting order because they access different items. Commit operations are not provided, so recoverability and strictness cannot be concluded from this schedule alone.

T1  ------------------>  T2; Conflicts on X only; Acyclic: serial order T1, T2
Conflict serializability numerical problem – December 2025

← RGPV CS-502 DBMS December 2025 solved question paper

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion