CS FundamentalsHardProduct-company MCQ pattern
R(A, B, C, D, E, F) has FDs A → B, BC → D, D → E, E → C, CE → F. Which of these is NOT a candidate key?
- A. AC
- B. AE
- C. AD
- D. AB
Correct answer: D. AB
(AB)⁺ = {A, B} only. (AC)⁺: A → B, BC → D, D → E, CE → F, all attributes. (AD)⁺: D → E → C, then B and F. (AE)⁺: E → C, then B, D, F. So AC, AD and AE are keys; AB is not.
More DBMS and SQL questions
- Table Emp(id, name, dept, salary, mgr) rows: (1, 'Asha', 'HR', 50000, NULL), (2, 'Ravi', 'IT', 70000, 1), (3, 'Meena', 'IT', 70000, 2)…
- Which isolation-related statement is correct for the SQL standard levels?
- Which statement about dense and sparse indexes is correct?
- Table Emp(id, name, dept, salary, mgr) rows: (1, 'Asha', 'HR', 50000, NULL), (2, 'Ravi', 'IT', 70000, 1), (3, 'Meena', 'IT', 70000, 2)…
- Which statement about view serializability is correct?
- Table Emp(id, name, dept, salary, mgr) rows: (1, 'Asha', 'HR', 50000, NULL), (2, 'Ravi', 'IT', 70000, 1), (3, 'Meena', 'IT', 70000, 2)…