Given a set of attributes R = {A, B, C, D} and functional dependencies F = {A → B, B → C}, what is the closure of attribute A (denoted as A⁺)?
Start with attribute A and add attributes that can be functionally determined step by step.
Starting with A, from A → B, add B. Then from B → C, add C. So A⁺ = {A, B, C}.
Consider relation R = {A, B, C, D} with functional dependencies F = {A → B, B → C, C → D}. Which of the following is a candidate key?
Find the closure of each attribute and check which covers all attributes in R.
Closure of A is {A, B, C, D} because A → B, B → C, and C → D. So A is a candidate key.
Given relation R = {A, B, C} and functional dependencies F = {A → B}, which of the following changes will make A no longer a candidate key?
Consider how the closure of A changes with the new dependency.
If C → A is added, then A can be derived from C, so A is not minimal as a candidate key anymore.
Relation R = {A, B, C, D} has functional dependencies F = {A → B, B → C, A → D}. Which of the following sets is a candidate key?
Check closure of each set and verify minimality.
Closure of {A} is {A, B, C, D} so it covers all attributes and is minimal. Other sets are either not minimal or do not cover all attributes.
Given relation R = {A, B, C, D, E} and functional dependencies F = {A → B, BC → D, D → E}, which of the following is a candidate key?
Calculate closure of each set and check which covers all attributes.
Closure of {B, C} is {B, C, D, E} but missing A, so not candidate key. Closure of {A, C} is {A, B, C, D, E} covering all attributes and minimal. However, {A, C} is minimal and covers all attributes, so it is candidate key.