CS FundamentalsHardGATE CS · Product placement
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 implied by Σ)?
- A. CD → A
- B. BD → C
- C. BD → E
- D. AE → B
Correct answer: B. BD → C
{BD}⁺ = {ABDE} does not contain C, so BD → C is not implied; each of the other three follows by computing its LHS closure (augmentation and transitivity).
More DBMS and SQL questions
- 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…
- Assertion (A): Every relation schema with exactly two attributes is in BCNF. Reason (R): For R(X, Y), any non-trivial FD has a single…
- R(A, B, C, D, E) has functional dependencies CE → BD, DE → A, BD → E. Which of the following is the complete set of candidate keys of R?
- Table Node(id, parent) rows: (1, NULL), (2, 1), (3, 1), (4, 2), (5, 2), (6, 4), (7, 3). What does this query return? sql WITH RECURSIVE…
- R(A, B, C, D, E) has functional dependencies AC → BD, A → CD, C → D, D → A. Which of the following is the complete set of candidate keys…