CS FundamentalsHardGATE
R(SID, CID, SNAME, GRADE) is in 1NF with functional dependencies SID,CID → GRADE, SID → SNAME (candidate key(s): SID,CID). 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 SID,CID. 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
- 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…
- 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…