CS FundamentalsVery hardGATE CS · DBMS
R(A, B, C, D, E) has functional dependencies CE → A, A → CE, BE → A, BC → E, E → BC. What is the highest normal form R satisfies?
- A. 1NF but not 2NF
- B. BCNF
- C. 3NF but not BCNF
- D. 2NF but not 3NF
Correct answer: C. 3NF but not BCNF
Candidate keys: {AD, DE, BCD}. Every non-trivial FD has a superkey LHS or a prime RHS, so it is in 3NF; but A → B has a non-superkey LHS (B is prime), so BCNF fails.
More DBMS and SQL questions
- A transaction has executed its final statement, but its commit record is not yet on stable storage. Which state is it in?
- R(A, B, C, D, E, F) has functional dependencies EF → D, B → C, D → BF, A → E. How many superkeys does R have?
- Table Product(pid, cat, price) rows: (1, 'X', 10), (2, 'X', 20), (3, 'Y', 20), (4, NULL, 30), (5, 'Y', NULL), (6, 'Z', 5). What does this…
- R(A, B, C, D, E) with functional dependencies E → BC, D → B is decomposed into R1(A, B, D), R2(C, D), R3(B, C, E). Which statement is…
- A B+ tree index uses 1024-byte blocks, 12-byte search keys, 10-byte block pointers and 6-byte record (data) pointers. Each leaf also keeps…
- Which statement about a UNIQUE constraint versus a PRIMARY KEY in standard SQL is correct?