CS FundamentalsVery hardGATE CS
Which of these is a minimal (canonical) cover of F = {AB → C, A → D, D → C, BD → E, AB → E}?
- A. {A → D, D → C, AB → E}
- B. {A → C, A → D, BD → E}
- C. {A → D, D → C, BD → E}
- D. {A → D, D → C, BD → E, AB → C}
Correct answer: C. {A → D, D → C, BD → E}
AB → C follows from A → D → C, and AB → E follows from A → D with BD → E, so both are redundant. Replacing BD → E by AB → E loses BD → E (BD⁺ would be only BD), and dropping D → C loses it too.
More DBMS and SQL questions
- R(A, B, C, D, E, F) has functional dependencies AB → CDEF and CD → AB. How many superkeys does R have?
- R(A, B, C, D, E) has functional dependencies A → B, BC → E and ED → A. It is decomposed into R1(A, B, C) and R2(A, C, D, E). Which…
- F = {A → B, AB → C, D → AC, D → E} and G = {A → BC, D → AE}. Which statement is correct?
- For the schedule R3(A), W1(B), R2(B), W2(A), W4(C), R3(C), how many serial schedules are conflict equivalent to it?
- For the schedule R1(A), W2(A), R3(B), R4(B), W3(C), R1(C), how many serial schedules are conflict equivalent to it?
- Classify the schedule R1(X), W2(X), W1(X), W3(X), R4(X).