Functional Dependency Analysis Exercise

Module 2 – Relational Theory and Functional Dependencies  |  University Course Registration System

Scenario

You are analyzing a dataset from a university's course registration system. The table below contains information about students, courses, instructors, and enrollments.

Your task: For each potential functional dependency (FD) listed in the exercise, choose whether it is Valid, Invalid, or Partially Valid based on the sample data. Use the Hint button if you need a nudge. When you are ready, click Check Answers.

Validity Key

Valid – the FD holds for every row in the data with no counterexamples.
Invalid – at least one clear counterexample exists in the data.
Partially Valid – appears to hold in some cases but breaks down in others due to data variation.

Sample Data Table: COURSE_ENROLLMENT

COURSE_ENROLLMENT – 10 sample rows used for the functional dependency analysis exercise.
StudentID StudentName Major GPA CourseCode CourseName Credits InstructorID InstructorName Semester Grade ClassSize RoomNumber
S001Alice JohnsonComputer Science3.75CS101Intro to Programming3I201Dr. SmithFall2023A25R101
S001Alice JohnsonComputer Science3.75MATH201Calculus II4I105Prof. WilsonFall2023B+30R205
S002Bob ChenEngineering3.20CS101Intro to Programming3I201Dr. SmithFall2023B25R101
S003Carol DavisMathematics3.90MATH201Calculus II4I105Prof. WilsonFall2023A30R205
S001Alice JohnsonComputer Science3.85CS102Data Structures3I201Dr. SmithSpring2024A−20R101
S004David WilsonComputer Science2.85CS101Intro to Programming3I307Dr. TaylorSpring2024C+28R150
S002Bob ChenEngineering3.35PHYS201Physics II4I105Prof. WilsonSpring2024B−22R205
S005Emma BrownMathematics3.60MATH201Calculus II4I105Prof. WilsonSpring2024B+35R301
S003Carol DavisMathematics3.90STAT301Statistics3I405Dr. LeeFall2023A18R180
S006Frank MillerEngineering3.45CS101Intro to Programming3I201Dr. SmithFall2023B+25R101

Exercise: Evaluate Each Functional Dependency

Full Answer Key

# Potential Dependency Validity Reason