CS FundamentalsVery hardGATE CS · Product placement
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 implied on its attributes. Which one is NOT in BCNF?
- A. (B, E, F)
- B. (B, D, F)
- C. (B, C, F)
- D. (B, D, E)
Correct answer: C. (B, C, F)
Project the closure of the given FDs onto each schema. On (B, C, F), C → B holds but C is not a key of the projection, so BCNF fails; on the other three every projected FD has a key on the left (or none is non-trivial).
More DBMS and SQL questions
- 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?
- For the schedule R1(B), W1(B), R2(C), W3(C), R3(B), R4(B), R2(B), R4(A), how many serial schedules of T1–T4 are conflict-equivalent to it?
- Assertion (A): A schedule produced under the basic timestamp-ordering protocol with Thomas's write rule is always conflict serializable…
- Table Stu(sid, sname) rows: (1, 'Om'), (2, 'Pia'), (3, 'Raj'), (4, 'Sia'). Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2'…
- Keys 7, 53, 17, 43, 38, 5, 27, 50, 47, 10 are inserted in this order into an empty B+ tree where a node holds at most 3 keys; an…
- 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'…