CS FundamentalsHardGATE CS · DBMS
A table Teach(course, teacher, book) records that each course is taught by several teachers and uses several books, independently of each other, so every teacher–book combination is stored for a course. No FDs hold except trivial ones. What is the highest normal form of Teach?
- A. 1NF only, because of the redundancy
- B. 3NF but not BCNF
- C. 4NF
- D. BCNF but not 4NF
Correct answer: D. BCNF but not 4NF
With no non-trivial FDs the only key is all three attributes, so it is in BCNF. But course ↠ teacher is a non-trivial MVD whose left side is not a superkey, so 4NF fails; split into (course, teacher) and (course, book).
More DBMS and SQL questions
- How many of these statements are correct? 1. A BCNF decomposition obtained by the standard algorithm is always lossless. 2. A BCNF…
- R(A, B, C, D, E, F) has functional dependencies AD → BF, BD → F, F → A. How many superkeys does R have?
- R(A, B, C, D, E) with functional dependencies A → E, D → C, C → DE is decomposed into R1(C, D, E), R2(A, B, C). Which statement is correct?
- Which statement about linear hashing is correct?
- R(A, B, C, D, E, F) has functional dependencies AC → BE, D → E, C → A, AB → F. What is the closure {BC}⁺?
- Σ = {B → A, D → B, AD → C, A → D}. Consider the FD AD → C while computing a canonical cover. Which statement about extraneous attributes…