Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider the following relational schema:Supp... Start Learning for Free
Consider the following relational schema:
Suppliers(sid:integer, sname:string, city:string, street:string)
Parts(pid:integer, pname:string, color:string)
Catalog(sid:integer, pid:integer, cost:real)

Q. Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?
  • a)
    The schema is in BCNF
  • b)
    The schema is in 3NF but not in BCNF
  • c)
    The schema is in 2NF but not in 3NF
  • d)
    The schema is not in 2NF
Correct answer is option 'A'. Can you explain this answer?
Verified Answer
Consider the following relational schema:Suppliers(sid:integer, sname:...
A relation is in BCNF if for every one of its dependencies X → Y, at least one of the following conditions hold:
X → Y is a trivial functional dependency (Y ⊆ X)
X is a superkey for schema R
Since (sname, city) forms a candidate key, there is no non-tirvial dependency X → Y where X is not a superkey
View all questions of this test
Most Upvoted Answer
Consider the following relational schema:Suppliers(sid:integer, sname:...
Explanation:

BCNF (Boyce-Codd Normal Form) is a stronger form of normalization than 3NF (Third Normal Form). A relation is in BCNF if and only if every determinant is a candidate key. In other words, if the relation has no non-trivial functional dependencies other than those implied by candidate keys, it is in BCNF.

Given the relational schema in the question, we can analyze each relation to determine whether it is in BCNF:

Suppliers: (sid, sname, city, street)

- The candidate key is (sname, city), which determines sid, street.
- There are no non-trivial functional dependencies other than those implied by the candidate key.
- Therefore, the Suppliers relation is in BCNF.

Parts: (pid, pname, color)

- There are no non-trivial functional dependencies in this relation.
- Therefore, the Parts relation is in BCNF.

Catalog: (sid, pid, cost)

- The candidate keys are (sid, pid), which determines cost.
- There are no non-trivial functional dependencies other than those implied by the candidate keys.
- Therefore, the Catalog relation is in BCNF.

Since all the relations are in BCNF, the entire schema is in BCNF. Therefore, the correct option is A.
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. Can you explain this answer?
Question Description
Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. 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 relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. 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 relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. Can you explain this answer?.
Solutions for Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. 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 relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. Can you explain this answer?, a detailed solution for Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. Can you explain this answer? has been provided alongside types of Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider the following relational schema:Suppliers(sid:integer, sname:string, city:string, street:string)Parts(pid:integer, pname:string, color:string)Catalog(sid:integer, pid:integer, cost:real)Q.Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?a)The schema is in BCNFb)The schema is in 3NF but not in BCNFc)The schema is in 2NF but not in 3NFd)The schema is not in 2NFCorrect answer is option 'A'. 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