← RGPV CS-502 DBMS December 2024 solved question paper
← RGPV CS-502-CBGS DBMS June 2020 solved question paper
← RGPV CS-502 DBMS June 2026 solved question paper
← RGPV CS-502 DBMS December 2025 solved question paper
← RGPV CS-502 DBMS June 2025 solved question paper
RGPV Previous Year Examination Question
B.Tech. V Semester | CS-502 (GS) | December 2024 | 5(a)
Question (restated): Using examples, explain how functional dependencies guide normalization.
Answer

Functional dependency
A functional dependency X → Y holds in a relation if any two tuples agreeing on X must also agree on Y. X is called the determinant. Functional dependencies express semantic rules of a schema, not merely coincidences in sample data. They are used to identify candidate keys and guide normalization.
Example and anomalies
Consider Enrollment(StudentID, StudentName, CourseID, CourseName, InstructorID, InstructorName, Grade). Assume each course has one instructor and each instructor ID determines one name. The dependencies are:
StudentID → StudentName CourseID → CourseName, InstructorID InstructorID → InstructorName (StudentID, CourseID) → Grade
The candidate key is (StudentID, CourseID), whose closure includes every attribute. Repeating student and course details creates update anomalies, prevents inserting a course without an enrollment and may lose course information when its last enrollment is deleted.
First normal form (1NF)
Each attribute contains a single value from its domain, and repeating groups are eliminated. The example is in 1NF if every enrollment is represented by one row.
Second normal form (2NF)
A relation is in 2NF if it is in 1NF and every non-prime attribute is fully dependent on every candidate key. StudentName depends only on StudentID, while course details depend only on CourseID. These partial dependencies are removed by separating Student, Course and Enrollment.
Third normal form (3NF)
For every nontrivial dependency X → A, X must be a superkey or A must be prime. In Course, InstructorName depends transitively on CourseID through InstructorID. Separate Instructor to remove this dependency.
Student(StudentID, StudentName) Instructor(InstructorID, InstructorName) Course(CourseID, CourseName, InstructorID) Enrollment(StudentID, CourseID, Grade)
The decomposition preserves the stated dependencies and is lossless because each split uses a common attribute that determines one of the resulting relations. Normalization reduces redundancy and anomalies while maintaining the ability to reconstruct information through joins.
Further reading
Silberschatz, Korth and Sudarshan, Database System Concepts; Elmasri and Navathe, Fundamentals of Database Systems.
June 2020 – Q5(b)
Question: What is Normalization? Why it is required.
Normalization is the systematic organization of relations using dependencies to reduce redundancy and prevent insertion, deletion and update anomalies. It decomposes poorly designed relations into smaller relations while aiming for lossless joins and, where possible, dependency preservation.
Consider Enrollment(StudentID, StudentName, CourseID, CourseName, Grade) with key (StudentID,CourseID). StudentID determines StudentName, CourseID determines CourseName, and the composite key determines Grade. Repeating names in every enrollment wastes space and causes inconsistent updates. Deleting the last enrollment in a course may remove its name; inserting a new course may require an enrollment that does not yet exist.
First normal form requires atomic attribute values. Second normal form removes partial dependencies of nonprime attributes on candidate keys. Here, decompose into Student(StudentID,StudentName), Course(CourseID,CourseName) and Enrollment(StudentID,CourseID,Grade). Third normal form requires each nontrivial FD X→A to have a superkey determinant or a prime dependent attribute. BCNF strengthens this by requiring every nontrivial FD determinant to be a superkey. Fourth normal form addresses independent multivalued facts, and fifth normal form addresses general join dependencies.
Normalization improves consistency, simplifies updates, reduces redundant storage and makes constraints easier to enforce. A lossless decomposition ensures joining the resulting tables reconstructs the original relation without spurious tuples. Dependency preservation permits constraints to be checked without joining tables. Normalization may increase the number of joins, so controlled denormalization is sometimes used for measured performance needs. The design should first establish correct dependencies and then evaluate workload requirements.
June 2026 examination: additional answer
RGPV CS-502 (GS) | June 2026 | Q5(a) | 7 marks (inferred)
Question (restated): Explain the purpose of normalization in database design.
Answer

Normalization organizes relations according to dependencies to reduce redundancy and undesirable update anomalies. Consider Enrollment(StudentID, CourseID, StudentName, CourseName, Grade) with key (StudentID, CourseID). StudentID determines StudentName and CourseID determines CourseName. Repeating names for every enrollment wastes space and can create inconsistent updates.
An insertion anomaly prevents recording a course without an enrollment; a deletion anomaly loses course information when its last enrollment is removed; an update anomaly requires changing multiple copies of a name. Decompose into Student(StudentID, StudentName), Course(CourseID, CourseName) and Enrollment(StudentID, CourseID, Grade). The foreign keys preserve associations.
First normal form requires atomic values relative to the relational design. Second normal form removes partial dependencies of nonprime attributes on candidate keys. Third normal form requires each nontrivial FD X→A to have X as a superkey or A as a prime attribute. BCNF requires X to be a superkey. Fourth normal form handles nontrivial multivalued dependencies; fifth normal form handles join dependencies not implied by candidate keys.
A good decomposition is lossless, so joining the components reconstructs the original valid relation. Dependency preservation is desirable because constraints can then be checked without joining relations. BCNF decomposition may sacrifice dependency preservation, whereas standard 3NF synthesis can preserve it.
Normalization improves consistency and maintainability, but joins may increase query cost. Deliberate denormalization can be justified by measured workloads with safeguards for consistency. The goal is correct representation of facts, not simply maximizing the number of tables.
December 2025 – Q4(a)
Question (restated): Explain functional dependency and normalization through 1NF, 2NF and 3NF.
A functional dependency X → Y means that any two tuples agreeing on X must agree on Y. Normalization uses dependencies to reduce redundancy and insertion, deletion and update anomalies. First normal form requires atomic attribute values relative to the chosen domains. Second normal form requires 1NF and no non-prime attribute partially dependent on a candidate key. Third normal form requires that for every nontrivial FD X → A, X is a superkey or A is prime.
Consider ENROLL(StudentID, CourseID, StudentName, CourseName, InstructorID, InstructorName, Grade), with key (StudentID, CourseID). StudentID → StudentName and CourseID → CourseName, InstructorID are partial dependencies. InstructorID → InstructorName introduces a transitive dependency.
To reach 2NF, separate STUDENT(StudentID, StudentName), COURSE(CourseID, CourseName, InstructorID, InstructorName) and ENROLL(StudentID, CourseID, Grade). To reach 3NF, split INSTRUCTOR(InstructorID, InstructorName) from COURSE. The final tables retain foreign keys linking related facts. The decompositions are lossless under the stated dependencies, and the dependencies can be checked locally.
June 2025 – Q6(a)
Explain the different normal forms in relational databases.
1NF requires atomic attribute values. 2NF removes partial dependencies of non-prime attributes on candidate keys. 3NF requires every nontrivial FD X → A to have a superkey determinant or a prime dependent attribute. BCNF requires every nontrivial FD determinant to be a superkey. 4NF requires every nontrivial multivalued dependency determinant to be a superkey. 5NF requires every nontrivial join dependency to be implied by candidate keys. For Enrollment(Sid,Cid,Sname,Grade), key (Sid,Cid) and Sid → Sname violate 2NF; split Student(Sid,Sname) and Enrollment(Sid,Cid,Grade). Higher normal forms address additional redundancy; decomposition should be lossless and preferably dependency-preserving.
https://easyexamnotes.com/wp-content/uploads/2026/12/functional-dependencies-normalization-jun2025.png
← RGPV CS-502 DBMS December 2024 solved question paper
← RGPV CS-502-CBGS DBMS June 2020 solved question paper
← RGPV CS-502 DBMS June 2026 solved question paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion