CS FundamentalsVery hardGATE CS · Product placement
Assertion (A): A schedule produced under the basic timestamp-ordering protocol with Thomas's write rule is always conflict serializable. Reason (R): Thomas's write rule ignores an obsolete write instead of rolling back its transaction.
- A. Both A and R are true, and R is the correct explanation of A
- B. A is false, but R is true
- C. A is true, but R is false
- D. Both A and R are true, but R is not the correct explanation of A
Correct answer: B. A is false, but R is true
Ignoring obsolete writes can admit schedules that are view serializable but not conflict serializable (blind writes), so A is false. R correctly describes the rule.
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'…
- Keys 7, 53, 17, 43, 38, 5, 27, 50, 47, 10 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) has 8 tuples. What is the number of tuples in R ⋈ R (natural join of R with itself), and in R × ρ{S(C, D)}(R)?
- R(A, B, C, D, E, F) has FDs B → AC, E → F, EF → BD, F → E. Each option is a relation schema obtained by projecting R, with the…
- On R(A, B, C, D, E), F = {D → A, B → AE} and G = {BE → A, D → A, B → E}. Which statement is correct? ("F covers G" means every FD of G is…