CS FundamentalsVery hardGATE CS · DBMS
R(A, B, C, D, E) has functional dependencies DE → B, C → E, D → AC. What is the highest normal form R satisfies?
- A. BCNF
- B. 2NF but not 3NF
- C. 1NF but not 2NF
- D. 3NF but not BCNF
Correct answer: B. 2NF but not 3NF
Candidate keys: {D}. No partial dependency exists, but C → E has a non-superkey left side and a non-prime right side (prime attributes: D), so 3NF fails.
More DBMS and SQL questions
- R(A, B, C, D, E, F) has functional dependencies C → B, F → C, DF → B, B → F, A → F. What is the closure {AE}⁺?
- R(A, B, C, D, E) with functional dependencies B → E, CE → B, C → E, E → C is decomposed into R1(A, C, E), R2(A, B, D), R3(B, C). Which…
- Classify the schedule W1(B), R3(A), W2(B), R2(B), W1(A), C2, C1, W3(B), C3 (Ci = commit of Ti) by the strongest property it satisfies.
- Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2', NULL), (2, 'C1', 65), (3, 'C2', 90), (3, 'C3', 75), (5, 'C1', 50). What does…
- R(A, B, C, D, E, F) has FDs A → BCE, C → ABD, DF → BE. Each option is a relation schema obtained by projecting R, with the dependencies…
- For the schedule W4(B), R1(B), R2(A), R1(C), R3(B), R4(A), R3(C), W2(C), how many serial schedules of T1–T4 are conflict-equivalent to it?