CS FundamentalsHardGATE CS · PSU (ISRO/BARC)
Σ = {A → D, AB → E, B → C, C → BE}. Consider the FD AB → E while computing a canonical cover. Which statement about extraneous attributes on its left side is correct?
- A. Neither A nor B is extraneous
- B. Only A is extraneous
- C. Either A or B (but not both) can be dropped
- D. Only B is extraneous
Correct answer: B. Only A is extraneous
Test each attribute: A is extraneous iff {B}⁺ (under Σ) contains E; {B}⁺ = {BCE} and {A}⁺ = {AD}.
More DBMS and SQL questions
- 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…
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- R(A, B, C, D, E) has functional dependencies B → ACD, BC → AD, C → A. What is the closure {B}⁺?