← RGPV CS-502 DBMS December 2020 solved question paper
← RGPV CS-502 DBMS May 2024 solved question paper
CS-502 (CBGS) | December 2020 | Q8(ii) | Short note (any three together carry 14 marks)
Question (restated): Write a note on multivalued dependencies.
Answer
A multivalued dependency X ↠ Y holds when, for a fixed X, the possible Y values are independent of the remaining attributes Z = R − X − Y. If two tuples agree on X, the relation must also contain the combinations obtained by exchanging their Y and Z components.
For example, StudentSkillLanguage(Student,Skill,Language) records independent skills and languages. If Amit knows Java and Python and speaks Hindi and English, four combinations are required. Student ↠ Skill and Student ↠ Language hold. Repeating these combinations causes redundancy and insertion or deletion anomalies.
Fourth normal form requires every nontrivial multivalued dependency to have a superkey determinant. Student alone is not a superkey in the example. Decompose into StudentSkill(Student,Skill) and StudentLanguage(Student,Language). Their natural join reconstructs the four combinations, provided the independence assumption holds. If skills and languages are actually associated, the dependency may not hold and this decomposition would be inappropriate. Every functional dependency implies a multivalued dependency, but the reverse does not necessarily hold.

Further reading: Silberschatz, Korth and Sudarshan, Database System Concepts.
May 2024 — Q5(b)
Question (restated): Define multivalued dependency and explain fourth normal form.
Answer
An MVD X↠Y means that for a fixed X, the possible Y values are independent of the remaining attributes Z=R−(X∪Y). If tuples (x,y1,z1) and (x,y2,z2) exist, the swapped combinations must also exist. Consider STUDENT_SKILL_LANGUAGE(Sid, Skill, Language), where skills and languages are independent. For Sid 1, skills Java and Python and languages Hindi and English require four combinations. Sid↠Skill and Sid↠Language hold. An MVD is trivial if Y is contained in X or X∪Y=R. A relation is in 4NF if every nontrivial MVD has a superkey determinant. Sid is not a superkey in the example, so decompose into STUDENT_SKILL(Sid,Skill) and STUDENT_LANGUAGE(Sid,Language). Their natural join reconstructs the original relation under the MVD. This removes redundant cross-product storage and update anomalies. Every 4NF relation satisfies BCNF, but BCNF alone does not eliminate independent multivalued facts.

Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion