Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSE 4 5 0 3 / 6 5 0 3 Total 5 2 points 1 . Write the definitions of 1 NF , 2 NF

CSE 4503/6503
Total 52 points
1. Write the definitions of 1NF,2NF,3NF and BCNF.(4*2.5=10 points)
2. Consider the universal relation R ={A, B, C, D, E, F, G, H, I, J} and the set of functional dependencies
F ={{A, B}->{C},{A}->{D, E},{B}->{F},{F}->{G, H},{D}->{I, J}}.
What is the key for R? Decompose R into 2NF,3NF and into BCNF relations. (15 points)
3. Repeat Question 2 for the following different set of functional dependencies
G ={{A, B}->{C},{B, D}->{E, F},{A, D}->{G, H},{A}->{I},{H}->{J}}.(15 points)
4. Consider the following relation: (10 points)
Which of the following dependencies may hold in the above relation? Select all that apply.
i. A -> B,
ii. B -> C
iii. C -> B
iv. B -> A
v. C -> A
5. Consider a relation R(A, B, C, D, E) with the following dependencies: (15 points)
AB -> C, CD -> E, DE -> B
Is AB a candidate key of this relation? If not, is ABD? Explain your answer.
6. Consider the following relation: (10 points)
CAR_SALE(Car#, Date_sold, Salesperson#, Commission%, Discount_amt)
Assume that a car may be sold by multiple salespeople, and hence {Car#, Salesperson#} is the
primary key.
Additional dependencies are Date_sold -> Discount_amt and Salesperson# -> Commission%
Based on the given primary key, is this relation in 1NF,2NF, or 3NF? Why or why not? How would
you successively normalize it completely into BCNF?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

What is a controlled foreign corporation? What is Subpart F income?

Answered: 1 week ago