Skip to content
GATEiit

GATE CSE 2018 Q52: Which registration schema is in 3NF but not BCNF

Syllabus topic: Integrity constraints and normal forms

Question

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‾, courses)

Field 'courses' is a set-valued attribute containing the set of courses a student has registered for.

Non-trivial functional dependency: rollno→courses

Schema II: Registration (rollno‾, courseid‾, email)

Non-trivial functional dependencies: rollno, courseid→email; email→rollno

Schema III: Registration (rollno‾, courseid‾, marks, grade)

Non-trivial functional dependencies: rollno, courseid→marks, grade; marks→grade

Schema IV: Registration (rollno‾, courseid‾, credit)

Non-trivial functional dependencies: rollno, courseid→credit; courseid→credit

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

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: B (official GATE 2018 final answer key)

Concept used: 3NF allows a dependency X → A with X not a superkey only when A is a prime attribute; BCNF forbids any such dependency. Set-valued attributes violate 1NF.

Concept notes

Loading notes…

First step: For each schema, find the dependencies whose left side is not a superkey, and check whether the right side is part of some candidate key.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Integrity constraints and normal forms

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key