Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider the following four relational schema... Start Learning for Free
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, coursid, 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?
  • a)
    Schema I
  • b)
    Schema II
  • c)
    Schema III
  • d)
    Schema IV
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
Consider the following four relational schemas. For each schema, all n...
  • 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 Since, rollno is primary key, so this relation is in BCNF as well as 3 NF.
  • Schema II: Registration (rollno, coursid, email) Non-trivial functional dependencies: rollno, courseid → email email → rollno Since, {rollno, coursid} is primary key so rollno and coursid are prime attributes. email is non-prime attribute. Functional depedency (FD) rollno, courseid → email is in BCNF and 3NF, but FD email → rollno violates the rule of BCNF because email is not superkey. But it satifies rule of 3 NF because rollno is prime-attribute. So, overall this relation is in 3 NF but not in BCNF.
  • Schema III: Registration (rollno, courseid, marks, grade) Non-trivial functional dependencies: rollno, courseid, → marks, grade marks → grade Since rollno, courseid is primary key, so rollno and courseid are prime attributes and marks and grade are non-prime attributes. FD rollno, courseid, → marks, grade satisfies BCNF as well as 3 NF. FD marks → grade does not satifies 3 NF because nither marks is superkey nor grade is prime-attribute. So, aslo can not be in BCNF. So, overall this relation is not in 3 NF and not in BCNF but it does not violates rule of 2 NF, so can be only in 2 NF.
  • Schema IV: Registration (rollno, courseid, credit) Non-trivial functional dependencies: rollno, courseid → credit courseid → credit Since, rollno, courseid is primary key, so rollno and courseid are prime-attributes and credit is non-prime attribute. FD rollno, courseid → credit satifies BCNF as well as 3 NF. FD courseid → credit violates rule of 2 NF, so can not be in 2NF. So, overall this is not in 2 NF, 3 NF, and BCNF. But it is only in 1 NF.
Therefore only schema-II is in 3 NF but not in BCNF. Option (B) is correct.
View all questions of this test
Most Upvoted Answer
Consider the following four relational schemas. For each schema, all n...
Functional Dependency:
- rollno -> courses

Schema II: Student(rollno, name, dob)

Functional Dependency:
- rollno -> name, dob

Schema III: Course(course_id, course_name, instructor)

Functional Dependency:
- course_id -> course_name, instructor

Schema IV: Enrollment(student_id, course_id, grade)

Functional Dependency:
- student_id, course_id -> grade
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer?
Question Description
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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer?.
Solutions for 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer?, a detailed solution for 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer? has been provided alongside types of 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice 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 dependencyrollno → courses Schema II:Registration (rollno, coursid, email)Non-trivial functional dependencies:rollno, courseid → emailemail → rollno Schema III:Registration (rollno, courseid, marks, grade)Non-trivial functional dependencies:rollno, courseid, → marks, grademarks → grade Schema IV:Registration (rollno, courseid, credit)Non-trivial functional dependencies:rollno, courseid → creditcourseid → creditWhich one of the relational schemas above is in 3NF but not in BCNF?a)Schema Ib)Schema IIc)Schema IIId)Schema IVCorrect answer is option 'B'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev