CS FundamentalsHardGATE CS · Product placement
Classify the schedule R3(B), R3(A), W3(A), W1(A), R2(B), W1(B), W2(A), R1(B).
- A. Conflict serializable but not view serializable
- B. View serializable but not conflict serializable
- C. Conflict serializable (hence also view serializable)
- D. Neither conflict nor view serializable
Correct answer: D. Neither conflict nor view serializable
The precedence graph has a cycle, and no serial order reproduces the same reads-from pairs and final writes, so it is not even view serializable.
More DBMS and SQL questions
- Table Stu(sid, sname) rows: (1, 'Om'), (2, 'Pia'), (3, 'Raj'), (4, 'Sia'). Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2'…
- Table P(x) rows: (1), (2), (2), (3), (NULL). Table Q(x) rows: (2), (3), (3), (NULL), (4). What does this query return? sql SELECT COUNT()…
- R(A, B, C, D, E) has the set of functional dependencies Σ = {E → BD, AE → C, C → AD}. Which of the following FDs is NOT in Σ⁺ (not implied…
- In a B+ tree every internal node can have at most 50 children and every leaf can hold at most 40 keys. With exactly 3 levels (root at…
- TS(T1) = 15, TS(T2) = 30, TS(T3) = 25; all read/write timestamps start at 0. Under basic timestamp ordering with Thomas's write rule…
- R(A, B, C, D, E) with functional dependencies B → AD, AC → B, A → B is decomposed into R1(A, B), R2(B, D), R3(B, C, E). Which statement is…