MCQ · 2 marks · Relational Design

GATE CS 2018 CS — Q42

Consider the following four relational schemas. For each schema, all non-trivial functional dependencies are listed. The underlined attributes are the respective primary keys.

Schema I: Registration (rollno‾\underline{\text{rollno}}, courses)
Field 'courses' is a set-valued attribute containing the set of courses a student has registered for.
Non-trivial functional dependency:
rollno →\to courses

Schema II: Registration (rollno, courseid‾\underline{\text{rollno, courseid}}, email)
Non-trivial functional dependencies:
rollno, courseid →\to email
email →\to rollno

Schema III: Registration (rollno, courseid‾\underline{\text{rollno, courseid}}, marks, grade)
Non-trivial functional dependencies:
rollno, courseid →\to marks, grade
marks →\to grade

Schema IV: Registration (rollno, courseid‾\underline{\text{rollno, courseid}}, credit)
Non-trivial functional dependencies:
rollno, courseid →\to credit
courseid →\to credit

Which one of the relational schemas above is in 3NF but not in BCNF?
Select one option