CS FundamentalsHardGATE CS · PSU (ISRO/BARC)
R(A, B, C, D, E, F) has functional dependencies D → BF, AE → B, F → CD, DE → C. How many prime attributes does R have?
- A. 4
- B. 2
- C. 3
- D. 5
Correct answer: A. 4
The candidate keys are {ADE, AEF}, so the prime attributes (those in at least one candidate key) are ADEF, giving 4. Counting only one key's attributes undercounts.
More DBMS and SQL questions
- R(A, B, C, D, E) has the set of functional dependencies Σ = {CE → D, C → AD, AE → CD}. Which of the following FDs is NOT in Σ⁺ (not…
- R(A, B, C, D) has functional dependencies D → BC, B → C, C → BD. What is the highest normal form R satisfies?
- 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, F) has functional dependencies AE → BC, B → F, E → C, BD → E, F → E. Which of the following is the complete set of…
- R(A, B) = {(a1, b2), (a1, b3), (a2, b1), (a2, b2), (a2, b3), (a3, b1), (a4, b1), (a4, b2), (a4, b3)} and S(B) = {b1, b3}. What is R ÷ S?
- The system crashes after the last record of this log (immediate database modification; <Ti, X> denotes an update with old and new values…