CS FundamentalsModerateGATE CS · DBMS
Which inference rule is NOT sound for functional dependencies?
- A. If A → BC holds, then A → B holds
- B. If A → B and A → C hold, then A → BC holds
- C. If AB → C holds, then A → C holds
- D. If A → B and BC → D hold, then AC → D holds
Correct answer: C. If AB → C holds, then A → C holds
Removing an attribute from the left side is not valid: AB → C does not force A alone to determine C. The others are pseudotransitivity, decomposition and union, all derivable from Armstrong's axioms.
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…
- Consider the schedule W1(B), W2(A), R2(A), W1(A), R3(A), W3(B). Which statement is correct?
- Classify the schedule W2(A), W1(B), W1(A), R1(B), C1, W2(B), R2(B), C2 (Ci = commit of Ti) by the strongest property it satisfies.
- A query runs WHERE a = 7 AND b > 100 ORDER BY b. Which single B+ tree index serves it best?
- R(A, B, C, D) has functional dependencies AD → C, A → D, AC → D, D → A. What is the highest normal form R satisfies?
- R occupies 600 blocks and S occupies 400 blocks. Ignoring the cost of writing the result, what is the cost of a hash join (partitioning…