CS FundamentalsVery hardAmazon · Microsoft MCQ pattern
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?
- A. 2NF
- B. 1NF
- C. 3NF
- D. BCNF
Correct answer: A. 2NF
The candidate key(s) are A. No non-prime attribute depends on a proper subset of any candidate key (no partial dependency), but a transitive dependency of a non-prime attribute through another non-prime attribute breaks 3NF.
More DBMS and SQL questions
- 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…
- A B+ tree internal node is built on a key of 8 bytes. A disk block is 512 bytes and a block pointer is 4 bytes. What is the maximum order…
- A B+ tree internal node is built on a key of 14 bytes. A disk block is 4096 bytes and a block pointer is 8 bytes. What is the maximum…
- A B+ tree internal node is built on a key of 10 bytes. A disk block is 1024 bytes and a block pointer is 8 bytes. What is the maximum…