CS FundamentalsHardGATE CS · DBMS
Classify the schedule W3(B), R1(A), W1(B), C1, W2(A), W3(A), R2(A), W2(B), C3, C2 (Ci = commit of Ti) by the strongest property it satisfies.
- A. Cascadeless but not strict
- B. Not recoverable
- C. Strict
- D. Recoverable but not cascadeless
Correct answer: D. Recoverable but not cascadeless
Some transaction reads a value written by an uncommitted transaction (not cascadeless), but each such reader commits after the writer, so the schedule is recoverable.
More DBMS and SQL questions
- A B+ tree has at most 10 children per internal node and at most 8 keys per leaf. A non-root internal node must have at least ⌈10/2⌉…
- Which tuple relational calculus expression is UNSAFE (may produce an infinite result)?
- On R(A, B, C, D, E), F = {BE → CD, D → B, AC → D} and G = {B → C, AC → B, E → A}. Which statement is correct? ("F covers G" means every FD…
- R(A, B, C, D) has FDs A → B, B → C, C → D and D → A. Every attribute is a candidate key. A designer still decomposes R into R1(A, B) and…
- Optimistic (validation-based) concurrency control runs each transaction in three phases. In which order, and when are its writes applied…
- R(A, B, C, D, E) has functional dependencies DE → B, AC → E, AD → E, BD → CE, C → A. How many prime attributes does R have?