CS FundamentalsHardGATE CS · Amazon/Microsoft placement
Σ = {C → B, B → F, F → E, CD → F, DE → B} on R(A, B, C, D, E, F). Exactly one FD in Σ is redundant (it can be derived from the others). Which one?
- A. CD → F
- B. DE → B
- C. B → F
- D. C → B
Correct answer: A. CD → F
Remove CD → F and compute {CD}⁺ under the remaining FDs: it still contains F, 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 has 2000 tuples in 100 blocks and S has 10000 tuples in 400 blocks. With only enough memory for one block of each relation, how many…
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- Table Sale(id, rep, region, amt) rows: (1, 'Ira', 'N', 100), (2, 'Jai', 'S', 250), (3, 'Ira', 'S', NULL), (4, 'Kim', 'N', 300), (5, 'Jai'…
- Consider the schedule R2(B), R3(A), W3(A), R2(A), W2(B), R1(B), R1(A). Which statement is correct?
- The system crashes after the last record of this log (immediate database modification; <Ti, X> denotes an update with old and new values…