CS FundamentalsModerateGATE CS (PYQ pattern)
R(A, B, C, D, E, F) has the functional dependencies B → E, F → A, BC → F, AF → D, C → B. What is the highest normal form of R (1NF, 2NF, 3NF or BCNF)?
- A. 3NF
- B. BCNF
- C. 2NF
- D. 1NF
Correct answer: C. 2NF
Candidate keys ['C']. No non-prime attribute depends on part of a key (2NF holds), but some FD has a non-superkey determinant with a non-prime right side (a transitive dependency), so 3NF fails.
More DBMS and SQL questions
- R(A, B, C, D, E) has the functional dependencies D → C, DC → B, A → B, AC → E, C → A, E → C, D → E. How many of the listed dependencies…
- R(A, B, C, D, E, F) has the functional dependencies A -> B, DB -> F, FB -> C, A -> C, A -> D, EF -> B. An attribute set X is closed if X+…
- R(A, B, C, D, E, F) has the functional dependencies AF → E, D → B, BF → D, ED → C, C → F. How many attributes belong to EVERY candidate…
- R(A, B, C, D, E) has the functional dependencies BD → A, B → E, AC → B, B → D, A → C. Which statement is correct?
- Table LV(id, v): (1,5), (2,9), (3,9), (4,3), (5,3). Let L be the sum over all rows of LASTVALUE(v) OVER (ORDER BY v) and F the sum of…
- HR(id, mgr): (1,NULL), (2,1), (3,1), (4,2), (5,2), (6,4), (7,6), (8,3). The recursive query WITH RECURSIVE D(id, d) AS (SELECT id, 0 FROM…