CS FundamentalsHardGATE CS
A relation R has candidate keys AB and BC, and FDs AB → C, C → A. Which statement explains why R is in 3NF but not BCNF?
- A. C → A has a determinant that is not a superkey, but A is prime
- B. AB → C is a partial dependency on the key BC
- C. C → A makes A a non-prime attribute that depends transitively on AB
- D. R has two overlapping candidate keys, which BCNF forbids
Correct answer: A. C → A has a determinant that is not a superkey, but A is prime
C is not a superkey, so C → A breaks BCNF; 3NF tolerates it because A belongs to a candidate key. Overlapping keys alone do not break BCNF; it is the non-superkey determinant that does.
More DBMS and SQL questions
- Which relational-algebra equivalence is NOT valid in general?
- R(A, B, C, D, E, F, G) has the functional dependencies AB -> C, C -> D, D -> A, BE -> F, F -> E, CG -> B. How many candidate keys does R…
- R(A, B, C, D, E) has the functional dependencies C → B, A → D, A → C, BE → A. How many superkeys does R have (counting every attribute set…
- R(A, B, C, D, E, F) has the functional dependencies EB → FA, EB → F, AB → C, D → AC, D → A, DF → A. After splitting right sides into…
- R(A, B, C, D, E, F) has the functional dependencies F → E, B → F, E → C, AB → F, D → E. R is decomposed into (B, D), (A, C, D, E), (A, B…
- R(A, B, C, D, E, F) has the functional dependencies DB → A, AC → D, E → D, DE → A, AB → E. What is the highest normal form of R among 1NF…