CS FundamentalsHardGATE CS · Product placement
Classify the schedule W1(B), W1(A), W3(B), R1(B), R2(B), W3(A), W2(B), R2(A), R3(A).
- A. Conflict serializable (hence also view serializable)
- B. Neither conflict nor view serializable
- C. View serializable but not conflict serializable
- D. Conflict serializable but not view serializable
Correct answer: B. 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
- Consider the schedule W3(C), W2(A), W1(A), R1(C), R2(A), R2(C), W3(A). Which statement is correct?
- A B+ tree index uses 1024-byte blocks, 10-byte search keys, 6-byte block (tree) pointers and 8-byte record pointers. What is the maximum…
- R(A, B, C, D, E) has functional dependencies E → B, B → A, D → B, A → D. Which decomposition of R is lossless-join?
- R(A, B, C, D, E) with functional dependencies B → C, D → CE, A → B, CE → A is decomposed into R1(A, B), R2(A, C, E), R3(C, D, E). Which…
- Which inference rule is NOT sound for functional dependencies?
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…