CS FundamentalsVery hardGATE CS · Product placement
For the schedule W4(C), W1(A), R4(B), R2(A), R3(C), W3(A), R2(B), R1(B), how many serial schedules of T1–T4 are conflict-equivalent to it?
- A. 2
- B. 6
- C. 3
- D. 4
Correct answer: C. 3
Precedence edges: T1→T2, T1→T3, T2→T3, T4→T3. Counting the topological orders of this DAG gives 3.
More DBMS and SQL questions
- Extendible hashing uses the LOWEST-order bits of a key's binary value, bucket capacity 2, and starts with global depth 0 and one empty…
- Which statement about shadow paging is correct?
- A bitmap index is built on an attribute with 4 distinct values over a table of 1,000,000 rows (uncompressed, one bit per row per value)…
- Classify the schedule R2(A), W2(B), C2, W1(B), R1(A), C1 (Ci = commit of Ti) by the strongest property it satisfies.
- 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…