GATE CSE 2018 Q52: Which registration schema is in 3NF but not BCNF
- Databases
- 2 marks
- MCQ
- −2/3 if wrong
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 (, courses)
Field 'courses' is a set-valued attribute containing the set of courses a student has registered for.
Non-trivial functional dependency:
Schema II: Registration (, , email)
Non-trivial functional dependencies: ;
Schema III: Registration (, , marks, grade)
Non-trivial functional dependencies: ;
Schema IV: Registration (, , credit)
Non-trivial functional dependencies: ;
Which one of the relational schemas above is in 3NF but not in BCNF?
Try it: multiple choice: exactly one correct option
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.
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
Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key
More Databases PYQs
- 2026 Session 1 · Q30Which functional dependency inferences always hold
- 2026 Session 1 · Q31Dependency-preserving decompositions for 1NF, 2NF, 3NF, BCNF
- 2026 Session 1 · Q43Relational algebra equivalent of a tuple calculus join query
- 2026 Session 1 · Q65Number of superkeys with candidate keys {A,B} and {A,C}
- 2026 Session 2 · Q15Match DBMS schema levels with what they describe
- 2026 Session 2 · Q20When two transactions do not conflict on a data item