CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)
Classify the schedule R3(A), W2(A), W3(B), R2(B), W3(A), W1(A), R1(B), W1(B).
- A. Conflict serializable but not view serializable
- B. View serializable but not conflict serializable
- C. Neither conflict nor view serializable
- D. Conflict serializable (hence also view serializable)
Correct answer: B. View serializable but not conflict serializable
The precedence graph has a cycle, but blind writes let the serial order T3 → T2 → T1 match every reads-from relation and every final write, so it is view serializable only.
More DBMS and SQL questions
- A multilevel index is built over a first level of 40,000 index entries; every index block holds 34 entries (fan-out 34), and levels are…
- Why does a B+ tree usually have a smaller height than a B-tree built on the same key with the same block size?
- A multilevel index is built over a first level of 1,000,000 index entries; every index block holds 100 entries (fan-out 100), and levels…
- Table Acct(no, branch, bal) rows: (101, 'Agra', 500), (102, 'Agra', 1500), (103, 'Bhopal', 700), (104, 'Bhopal', 700), (105, 'Cuttack'…
- R(A, B) = {(1, 4), (3, 4), (4, 1), (4, 3), (4, 4)} and S(B, C) = {(2, 5), (2, 7), (3, 5), (4, 6)}. How many tuples are in R ⟕ S (left…
- Entity sets Doctor, Patient and Drug participate in a single ternary relationship Prescribes with no cardinality constraints. Each entity…