CS FundamentalsVery hardGATE CS · Product placement
On R(A, B, C, D, E), F = {D → A, B → AE} and G = {BE → A, D → A, B → E}. Which statement is correct? ("F covers G" means every FD of G is in F⁺.)
- A. G covers F, but F does not cover G
- B. Neither covers the other
- C. F covers G, but G does not cover F
- D. F and G are equivalent
Correct answer: D. F and G are equivalent
Check each FD of one set by its LHS closure under the other set. F covers G: yes; G covers F: yes.
More DBMS and SQL questions
- 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'…
- A multilevel index is built over a first level of 250,000 index entries; every index block holds 68 entries (fan-out 68), and levels are…
- TS(T1) = 10, TS(T2) = 25, TS(T3) = 20; all read/write timestamps start at 0. Under basic timestamp ordering (no Thomas write rule), which…
- Classify the schedule R3(B), R3(A), W3(A), W1(A), R2(B), W1(B), W2(A), R1(B).
- Table Stu(sid, sname) rows: (1, 'Om'), (2, 'Pia'), (3, 'Raj'), (4, 'Sia'). Table Takes(sid, cid, marks) rows: (1, 'C1', 80), (1, 'C2'…
- Table P(x) rows: (1), (2), (2), (3), (NULL). Table Q(x) rows: (2), (3), (3), (NULL), (4). What does this query return? sql SELECT COUNT()…