CS FundamentalsModerateGATE CS · PSU (ISRO/BARC)
R(A, B, C, D, E, F) has functional dependencies AE → F, A → BCD, F → B. What is the closure {AC}⁺?
- A. {ABCDE}
- B. {ABC}
- C. {ABCDEF}
- D. {ABCD}
Correct answer: D. {ABCD}
Keep applying any FD whose left side is already inside the set until nothing changes; one pass in listed order is not enough. The result is {ABCD}.
More DBMS and SQL questions
- Assertion (A): For every relation schema there is a decomposition into 3NF relations that is lossless and dependency preserving. Reason…
- Σ = {A → D, AB → E, B → C, C → BE}. Consider the FD AB → E while computing a canonical cover. Which statement about extraneous attributes…
- The system crashes after the last record of this log (immediate database modification; <Ti, X> denotes an update with old and new values…
- R(A, B, C, D, E) has functional dependencies A → DE, C → AD, AD → C, E → AC. Which of the following is the complete set of candidate keys…
- Keys 4, 38, 33, 56, 40, 14, 54 are inserted in this order into an empty B+ tree where a node holds at most 2 keys; an overflowing leaf…
- Σ = {AE → D, BC → D, C → A, A → E, D → B} on R(A, B, C, D, E). Exactly one FD in Σ is redundant (it can be derived from the others). Which…