CS FundamentalsHardDeloitte · IBM campus pattern
R(EMP, PROJ, HOURS, EMP_DEPT) is in 1NF with functional dependencies EMP,PROJ → HOURS, EMP → EMP_DEPT (candidate key(s): EMP,PROJ). What is the highest normal form R satisfies?
- A. BCNF
- B. 1NF
- C. 2NF
- D. 3NF
Correct answer: B. 1NF
The candidate key(s) are EMP,PROJ. At least one non-prime attribute is functionally dependent on a proper subset of a candidate key (a partial dependency), which already violates 2NF, so R only satisfies 1NF.
More DBMS and SQL questions
- 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…
- A B+ tree internal node is built on a key of 16 bytes. A disk block is 4096 bytes and a block pointer is 10 bytes. What is the maximum…
- A B+ tree internal node is built on a key of 6 bytes. A disk block is 512 bytes and a block pointer is 6 bytes. What is the maximum order…
- A B+ tree internal node is built on a key of 20 bytes. A disk block is 8192 bytes and a block pointer is 12 bytes. What is the maximum…