CS FundamentalsHardGATE CS
R(A, B, C, D, E) has functional dependencies A → B, BC → E and ED → A. It is decomposed into R1(A, B, C) and R2(A, C, D, E). Which statement is correct?
- A. Lossless and dependency preserving
- B. Lossy but dependency preserving
- C. Lossy and not dependency preserving
- D. Lossless but not dependency preserving
Correct answer: D. Lossless but not dependency preserving
The common attributes AC determine B (A → B) and then E (BC → E), so AC → R1 and the join is lossless. BC → E is lost: R1 has no E and R2 has no B, and the projected FDs cannot rebuild it.
More DBMS and SQL questions
- F = {A → B, AB → C, D → AC, D → E} and G = {A → BC, D → AE}. Which statement is correct?
- For the schedule R3(A), W1(B), R2(B), W2(A), W4(C), R3(C), how many serial schedules are conflict equivalent to it?
- For the schedule R1(A), W2(A), R3(B), R4(B), W3(C), R1(C), how many serial schedules are conflict equivalent to it?
- Classify the schedule R1(X), W2(X), W1(X), W3(X), R4(X).
- Classify the schedule W1(A), W2(A), C1, R3(A), C2, C3 (Ci = commit of Ti) by the strongest property it satisfies.
- For the schedule W1(A), W2(B), R1(B), W2(A), C2, C1, which statement is correct?