CS FundamentalsHardGATE CS · Amazon/Microsoft placement
Σ = {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 one?
- A. C → A
- B. BC → D
- C. AE → D
- D. D → B
Correct answer: B. BC → D
Remove BC → D and compute {BC}⁺ under the remaining FDs: it still contains D, so that FD is redundant. Removing any other FD loses information.
More DBMS and SQL questions
- 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}⁺?
- Which statement about the multivalued dependency X ↠ Y on R is correct?
- R(A, B, C, D, E) has the set of functional dependencies Σ = {AD → BE, D → AE, CE → D, A → B}. Which of the following FDs is NOT in Σ⁺ (not…
- A file of 2400 blocks is sorted by external merge sort with M = 6 buffer blocks (sorted runs of M blocks are created in pass 0, then (M −…
- R(A1, A2, …, A8) has the FDs A1 → A2, A2 → A3, …, A7 → A8 and A8 → A1. How many candidate keys does R have, and what is its highest normal…