CS FundamentalsHardProduct-company MCQ pattern
Schedule: W1(A), R2(A), C2, C1, where C means commit. Which classification is correct?
- A. Recoverable but not cascadeless
- B. Not recoverable
- C. Recoverable and cascadeless
- D. Strict
Correct answer: B. Not recoverable
T2 reads A written by T1 and commits before T1 commits. If T1 now aborts, T2 has committed a value that never existed, so the schedule is not recoverable. Committing T1 first would make it recoverable (still not cascadeless).
More DBMS and SQL questions
- Under basic timestamp ordering, TS(T1) = 10 and TS(T2) = 20. T2 has read item X, so read-TS(X) = 20. T1 now issues write(X). What happens?
- R(A, B, C, D, E, F) has FDs A → B, BC → D, D → E, E → C, CE → F. Which of these is NOT a candidate key?
- Table Emp(id, name, dept, salary, mgr) rows: (1, 'Asha', 'HR', 50000, NULL), (2, 'Ravi', 'IT', 70000, 1), (3, 'Meena', 'IT', 70000, 2)…
- Which isolation-related statement is correct for the SQL standard levels?
- Which statement about dense and sparse indexes is correct?
- Table Emp(id, name, dept, salary, mgr) rows: (1, 'Asha', 'HR', 50000, NULL), (2, 'Ravi', 'IT', 70000, 1), (3, 'Meena', 'IT', 70000, 2)…