CS FundamentalsVery hardGATE CS · DBMS
Classify the schedule R3(A), W1(B), R1(A), R3(B), W2(B), R2(A), R2(B), W3(B).
- A. Conflict serializable but not view serializable
- B. Neither conflict nor view serializable
- C. Conflict serializable (hence also view serializable)
- D. View serializable but not conflict serializable
Correct answer: D. View serializable but not conflict serializable
The precedence graph has a cycle, but blind writes let the serial order T2 → T1 → T3 match every reads-from relation and every final write, so it is view serializable only.
More DBMS and SQL questions
- R(A, B, C, D, E, F) has functional dependencies F → AB, D → C, C → F, CE → D. How many superkeys does R have?
- R(A, B, C, D, E) has the set of functional dependencies Σ = {E → AC, C → B, AE → B, A → D}. Which of the following FDs is NOT in Σ⁺ (not…
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- Keys 47, 46, 27, 42, 22, 7, 58, 45, 48, 51 are inserted in this order into an empty B+ tree where a node holds at most 3 keys; an…
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- R(A, B) = {(5, 2), (8, 1), (8, 2), (11, 1), (14, 2)}. What does πA(R) − π{R1.A}(σ{R1.A < R2.A}(ρ{R1}(R) × ρ{R2}(R))) return?