All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · June 2025

Consider R(A, B, C, D, E) be a relation with the following dependencies: C → F, E → A, EC → D, A → B. Which of the following is a key for R?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. EC

Explanation

E and C never appear on the right side, so every key must contain both. (EC)⁺ = {E, C, A (E→A), D (EC→D), B (A→B)} = all attributes of R. So EC is the key.

More Database Management Systems questions