CS FundamentalsVery hardGATE CS · Product placement
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 dependencies implied on its attributes. Which one is NOT in BCNF?
- A. (A, E, F)
- B. (A, C, E)
- C. (A, C, D)
- D. (C, E, F)
Correct answer: D. (C, E, F)
Project the closure of the given FDs onto each schema. On (C, E, F), C → E holds but C is not a key of the projection, so BCNF fails; on the other three every projected FD has a key on the left (or none is non-trivial).
More DBMS and SQL questions
- 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…
- A B+ tree has at most 21 children per internal node and at most 20 keys per leaf. A non-root internal node must have at least ⌈21/2⌉…
- R(A, B, C, D, E) with functional dependencies B → A, E → D, D → C is decomposed into R1(A, B), R2(A, C), R3(C, D, E). Which statement is…
- Classify the schedule R3(A), W1(B), R1(A), R3(B), W2(B), R2(A), R2(B), W3(B).
- R(A, B, C, D, E, F) has functional dependencies F → AB, D → C, C → F, CE → D. How many superkeys does R have?
- R(A, B, C, D, E) has the set of functional dependencies Σ = {E → AC, C → B, AE → B, A → D}. Which of the following FDs is NOT in Σ⁺ (not…