CS FundamentalsVery hardGATE CS · Product placement
R(A, B, C, D, E, F) has functional dependencies C → AD, A → D, D → C. What is the highest normal form R satisfies?
- A. BCNF
- B. 3NF but not BCNF
- C. 2NF but not 3NF
- D. 1NF but not 2NF
Correct answer: B. 3NF but not BCNF
Candidate keys: {ABEF, BCEF, BDEF}. Every non-trivial FD has a superkey LHS or a prime RHS, so it is in 3NF; but A → C has a non-superkey LHS (C is prime), so BCNF fails.
More DBMS and SQL questions
- Consider the schedule R2(B), R2(C), W3(A), W1(B), R1(C), W1(C), R3(B). Which statement is correct?
- A multilevel index is built over a first level of 90,000 index entries; every index block holds 45 entries (fan-out 45), and levels are…
- Which statement about the expressive power of query languages is correct?
- R is decomposed into R1 and R2. Which condition guarantees the decomposition is lossless?
- Table T(x) has rows (1), (2), (3) and table U(y) has rows (2), (NULL). What do these two queries return? Q1: SELECT COUNT() FROM T WHERE x…
- Cust(cid, city) has rows (1, 'Pune'), (2, 'Delhi'), (3, NULL), (4, 'Pune'). Ord(oid, cid, amt) has rows (10, 1, 500), (11, 1, NULL), (12…