CS FundamentalsVery hardGATE CS · DBMS
R(A, B, C, D, E, F) has functional dependencies EF → D, A → C, BE → F, F → A, DF → A. What is the highest normal form R satisfies?
- A. BCNF
- B. 1NF but not 2NF
- C. 2NF but not 3NF
- D. 3NF but not BCNF
Correct answer: C. 2NF but not 3NF
Candidate keys: {BE}. No partial dependency exists, but A → C has a non-superkey left side and a non-prime right side (prime attributes: BE), so 3NF fails.
More DBMS and SQL questions
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- A file has 30,000 records of 120 bytes, stored unspanned in 1024-byte blocks and ordered on key K. A primary (sparse) index on K has one…
- Classify the schedule R3(B), W1(A), R3(A), W1(B), W2(B), R2(B), C2, W3(B), R1(A), C3, C1 (Ci = commit of Ti) by the strongest property it…
- An ER diagram has entity sets E1, E2, E3. R1 relates E1 and E2 many-to-many. R2 relates E2 and E3 one-to-many (each E3 entity relates to…
- Table Att(emp, day, status) rows: ('u', 1, 'P'), ('u', 2, 'P'), ('u', 3, 'A'), ('u', 4, 'P'), ('u', 5, 'P'), ('u', 6, 'P'), ('v', 1, 'A')…