CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)
R(A, B, C, D, E) with functional dependencies B → E, CE → B, C → E, E → C is decomposed into R1(A, C, E), R2(A, B, D), R3(B, C). Which statement is correct?
- A. Lossless join but not dependency preserving
- B. Dependency preserving but not lossless join
- C. Neither lossless join nor dependency preserving
- D. Lossless join and dependency preserving
Correct answer: D. Lossless join and dependency preserving
The chase (tableau) test produces an all-distinguished row, so the join is lossless. Every FD of F follows from the FDs projected onto the parts, so dependencies are preserved.
More DBMS and SQL questions
- Classify the schedule W1(B), R3(A), W2(B), R2(B), W1(A), C2, C1, W3(B), C3 (Ci = commit of Ti) by the strongest property it satisfies.
- Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2', NULL), (2, 'C1', 65), (3, 'C2', 90), (3, 'C3', 75), (5, 'C1', 50). What does…
- R(A, B, C, D, E, F) has FDs A → BCE, C → ABD, DF → BE. Each option is a relation schema obtained by projecting R, with the dependencies…
- For the schedule W4(B), R1(B), R2(A), R1(C), R3(B), R4(A), R3(C), W2(C), how many serial schedules of T1–T4 are conflict-equivalent to it?
- For the schedule R1(B), W1(B), R2(C), W3(C), R3(B), R4(B), R2(B), R4(A), how many serial schedules of T1–T4 are conflict-equivalent to it?
- Assertion (A): A schedule produced under the basic timestamp-ordering protocol with Thomas's write rule is always conflict serializable…