Question

Place the following tables in BCNF / 4NF

1)

c3 ? c4
c2 ? c7
c1 ? ? c5
(c1,c2) ? c6

:7 8 7 6 5 4 4 3 2 1 cS-5- 13-14-367981 n| n| n add | d| e e e e2 1| 2 3 4 5 5 6 7 8

2) Zoo database

Animal id uniquely identifies each individual animal at the zoo.
If you know an animal id, you know the animal type, feeding time, location, animal food, cleaning time, medicines, and vet.
Cleaning time and feeding times are done by location.
Each type of animal has its own assigned vet and assigned food.
Medicines, of course, are individualized by specific animal.

3) (Farmer) ? ?(Variety)
    (Farmer) ?(Location)
    (Variety) ?(HarvestDate)

4)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.

Given relation R(c1,c2,c3,c4,c5,c6,c7) and functional dependencies are:
c3->c4
c2->c7
c1->>c5
c1,c2->c6

As (c1,c2,c3) derives all attributes so its a primary key.
To place the relation in BCNF and 4NF, we have to consider all
normal forms 1NF,2NF,3NF,BCNF,4NF.

1NF:
As all attributes are atomic, so it is in 1NF.

2NF:
As there is a partial dependency c1,c2->c6, so it is not in 2NF.
To place in 2NF, break R into following relations:
R1(c1,c2,c5,c6,c7)
R2(c3,c4)

3NF:
As relation R1 contins dependencies, c2->c7 and c1->c5,
where c1,c2 are not super keys and c5,c7 are not prime attributes.
So, it is not in 3NF.
Break it into following relations to place 3NF:
R1(c1,c5)
R3(c2,c7)
R4(c1,c2,c6,
R2(c3,c4)

BCNF:
Now the relations are in BCNF, for all dependencies X->Y, X is a super key.

4NF:
It is also in 4NF, as for all multivalued dependencies X->>Y,X is a super key.

Add a comment
Know the answer?
Add Answer to:
Place the following tables in BCNF / 4NF 1) c3 ? c4 c2 ? c7 c1...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE...

    C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE HEIGHT 27.8 31.3 11.0 180.3 25.7 29.7 9.0 175.3 1 M 67 2 M 47 3 M 41 26.7 31.3 11.0 184.8 4 M 42 25.9 10,0 177.8 31.8 314 5 M 48 26.4 10.0 182.3 6 M 34 29.2 13.0 185.4 31.9 31.8 7 M 26 26.8 11.0 180.3 8 M 29 28.1 175.3 31.0 29.7 10.5 9.5 9 M 60 25.4 177.8...

  • C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE...

    C1-T C2 c3 c4 C7 CB SEX AGE cs Св FOOT LE... SHOE PR... SHOE SIZE HEIGHT 27.8 31.3 11.0 180.3 25.7 29.7 9.0 175.3 1 M 67 2 M 47 3 M 41 26.7 31.3 11.0 184.8 4 M 42 25.9 10,0 177.8 31.8 314 5 M 48 26.4 10.0 182.3 6 M 34 29.2 13.0 185.4 31.9 31.8 7 M 26 26.8 11.0 180.3 8 M 29 28.1 175.3 31.0 29.7 10.5 9.5 9 M 60 25.4 177.8...

  • 2. Consider the following four consumers (C1,C2,C3,C4) with the following utility functions: Consumer   Utility Function C1...

    2. Consider the following four consumers (C1,C2,C3,C4) with the following utility functions: Consumer   Utility Function C1                 u(x,y) = 2x+2y C2                 u(x,y) = x^3/4y^1/4 C3                u(x,y) = min(x,y) C4                u(x,y) = min(4x,3y) On the appropriate graph, draw each consumer’s indifference curves through the following points: (2,2), (4,4), (6,6) and (8,8), AND label the utility level of each curve. Hint: Each grid should have 4 curves on it representing the same preferences but with different utility levels. 3. In the following parts,...

  • I need help with numbers 4,6,7,8,9 please? 12 VDC 1.0 k ohms 10k ohms C3 1.0 uF C1 1.0 UF , R Load Baca 1 80 10k ohns 300 mVp-p 1.0 kHz 100 ohms .7k ohms C2 47uF 330 ohms 4. Calculate the following pa...

    I need help with numbers 4,6,7,8,9 please? 12 VDC 1.0 k ohms 10k ohms C3 1.0 uF C1 1.0 UF , R Load Baca 1 80 10k ohns 300 mVp-p 1.0 kHz 100 ohms .7k ohms C2 47uF 330 ohms 4. Calculate the following parameters assuming capacitor C2 has been removed from the circuit with the 1.0k2 resistor as the load. RIN BASE Av Vour 5. Construct the circuit shown on the previous page. Before connecting the AC supply, measure...

  • 1. Prepare a cash budget for the period February through August. See Exhibit C1. 1 for...

    1. Prepare a cash budget for the period February through August. See Exhibit C1. 1 for necessary data. Eleazar 2. Is there any advantage to extending the forecast through September, October, and November? Explain. --- Eleazar/Jennifer 3. Sarah, in essence, may be asking the firm's vendors for a loan if she requests a deferral on payables. From the hotel's point of view, the size of the loan is your answer to question 3. From the supplier's point of view, however,...

  • Read the attached article and answer the following questions. 1. What is the role of potassium...

    Read the attached article and answer the following questions. 1. What is the role of potassium in blood pressure? 2. Looking back at last weeks Super Tracker report - do you meet the 4700mg daily target for potassium? 3. Do you meet the 400mg daily target for magnesium? 4. Research shows that hypertension and type 2 diabetes can be prevented by dietary choices. List 3 ways that employers, government, doctors, etc. (you can use another group ) can either motivate...

  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT