CS FundamentalsHardGATE CS · DBMS
Consider the schedule W2(A), R1(A), R2(A), W3(A), R3(A), R1(C). Which statement is correct?
- A. It is not conflict serializable
- B. Conflict serializable, equivalent only to T1 → T2 → T3
- C. Conflict serializable, equivalent only to T1 → T3 → T2
- D. Conflict serializable, equivalent only to T2 → T1 → T3
Correct answer: D. Conflict serializable, equivalent only to T2 → T1 → T3
Conflict edges: T1→T3, T2→T1, T2→T3. The graph is acyclic and its only topological order is T2 → T1 → T3.
More DBMS and SQL questions
- TS(T1) = 25, TS(T2) = 5, TS(T3) = 30; all read/write timestamps start at 0. Under basic timestamp ordering (no Thomas write rule), which…
- R(A, B, C, D, E) has functional dependencies DE → B, C → E, D → AC. What is the highest normal form R satisfies?
- R(A, B, C, D, E, F) has functional dependencies C → B, F → C, DF → B, B → F, A → F. What is the closure {AE}⁺?
- R(A, B, C, D, E) with functional dependencies B → E, CE → B, C → E, E → C is decomposed into R1(A, C, E), R2(A, B, D), R3(B, C). Which…
- Classify the schedule W1(B), R3(A), W2(B), R2(B), W1(A), C2, C1, W3(B), C3 (Ci = commit of Ti) by the strongest property it satisfies.
- Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2', NULL), (2, 'C1', 65), (3, 'C2', 90), (3, 'C3', 75), (5, 'C1', 50). What does…