CS FundamentalsHardTCS NQT · Infosys pattern
R(A, B, C) is in 1NF with functional dependencies AB → C, C → B (candidate key(s): AB, AC). What is the highest normal form R satisfies?
- A. 1NF
- B. 2NF
- C. BCNF
- D. 3NF
Correct answer: D. 3NF
The candidate key(s) are AB, AC. Some FD has a determinant that is not a superkey, so BCNF fails — but in every such case the dependent attribute is prime (part of some candidate key), so 3NF still holds.
More DBMS and SQL questions
- R(A, B, C) is in 1NF with functional dependencies A → B, B → C, C → A (candidate key(s): A, B, C). What is the highest normal form R…
- R(SID, CID, SNAME, GRADE) is in 1NF with functional dependencies SID,CID → GRADE, SID → SNAME (candidate key(s): SID,CID). What is the…
- R(A, B, C, D) is in 1NF with functional dependencies A → B, B → C, A → D (candidate key(s): A). What is the highest normal form R satisfies?
- R(A, B, C, D) is in 1NF with functional dependencies AB → C, C → D (candidate key(s): AB). What is the highest normal form R satisfies?
- R(A, B, C) is in 1NF with functional dependencies A → BC (candidate key(s): A). What is the highest normal form R satisfies?
- R(EMP, PROJ, HOURS, EMPDEPT) is in 1NF with functional dependencies EMP,PROJ → HOURS, EMP → EMPDEPT (candidate key(s): EMP,PROJ). What is…