CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)
Classify the schedule R2(B), W1(A), W2(A), W3(A), R1(B), W1(B), R3(A), R3(B).
- A. View serializable but not conflict serializable
- B. Conflict serializable (hence also view serializable)
- C. Conflict serializable but not view serializable
- D. Neither conflict nor view serializable
Correct answer: A. 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
- Under basic two-phase locking, a conflict-serializable schedule is equivalent to the serial schedule that orders transactions by their:
- A weak entity set Dependent (partial key dname) is owned by Employee (key eid) through the identifying relationship HasDep. Which table…
- R(A, B, C, D, E, F) has functional dependencies B → C, AF → E, AC → E, CE → A. How many prime attributes does R have?
- R(A, B, C, D, E) has functional dependencies E → AB, A → D, D → BE. Which decomposition of R is lossless-join?
- TS(T1) = 30, TS(T2) = 20, TS(T3) = 10; all read/write timestamps start at 0. Under basic timestamp ordering (no Thomas write rule), which…
- 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'…