CS FundamentalsHardGATE CS · PSU (ISRO/BARC)
Classify the schedule R2(A), W2(B), C2, W1(B), R1(A), C1 (Ci = commit of Ti) by the strongest property it satisfies.
- A. Recoverable but not cascadeless
- B. Not recoverable
- C. Strict
- D. Cascadeless but not strict
Correct answer: C. Strict
No transaction reads or overwrites an item last written by a transaction that has not yet committed, so the schedule is strict (hence cascadeless and recoverable).
More DBMS and SQL questions
- 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'…
- A file has 120,000 records of 150 bytes, stored unspanned in 4096-byte blocks and ordered on key K. A primary (sparse) index on K has one…
- Employee(eid, name) has a recursive one-to-many relationship 'manages' (a manager manages many employees; each employee has at most one…
- In logical query processing order, which clause of a SELECT statement is evaluated LAST?
- R(A, B, C, D, E, F) has FDs C → AD, EF → C, B → A, AD → E. Each option is a relation schema obtained by projecting R, with the…
- Table Product(pid, cat, price) rows: (1, 'X', 10), (2, 'X', 20), (3, 'Y', 20), (4, NULL, 30), (5, 'Y', NULL), (6, 'Z', 5). What does this…