Description
Question 1 Β
Consider a relation π (π΄, π΅, πΆ, π·, πΈ, πΊ, π», πΌ, π½) and its FD set πΉ = {π΄π΅ β πΆπΈ, π· β πΊπ», πΈ β π΅πΆπ·, πΆ β π·πΌ, π» β πΊ, πΈπ» β πΌ}.
- Check if πΆ β π½ β F+. ()
- List all the candidate keys for π . ()
- Find a minimal cover πΉπ for πΉ. ()
- Decompose into a set of 3NF relations if it is not in 3NF. Make sure your decomposition is dependency-preserving and lossless-join. Justify your answers. )
Question 2
Consider a relation π (π΄, π΅, πΆ, π·, πΈ, πΊ, π», πΌ, π½) and its FD set πΉ = {π΄π΅ β πΆπΈ, π· β πΊπ», πΈ β π΅πΆπ·, πΆ β π·πΌ, π» β πΊ, πΈπ» β πΌ}.
- How many super keys can be found for R? Compute the total number of super keys and list 5 of them.
- Determine the highest normal form of π with respect to πΉ. Justify your answer. ()
- Regarding F, is the decomposition R1 = {π΄π΅πΆπ·πΈ}, R2 = {πΈπΊπ»}, R3 = {πΈπΌπ½} of π dependency-preserving? Please justify your answer. )
- Regarding F, is the decomposition R1 = {π΄π΅πΆπ·πΈ}, R2 = {πΈπΊπ»}, R3 = {πΈπΌπ½} of π lossless-join? Please justify your answer. )
- Decompose it into a collection of BCNF relations if it is not in BCNF. Make sure your decomposition is lossless-join and briefly justify your answers. )




