Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

CMIS320 project 4 Please answer the questions fully with explanation! the last p

ID: 3831490 • Letter: C

Question

CMIS320 project 4

Please answer the questions fully with explanation! the last post i made of this questions the answer were INCOMPLETE!! i will leave a good review on your account if this is done properly.

1) Is this relation in at least 1NF? Why or why not?

2) What is the primary key of the initial relation (assume the values shown are the only possible tuples for all time)? Remember that a primary key must be unique and not null.

3) Describe the specific data anomalies that exist if we DELETE the tuple containing Jacqueline.

4)Draw a functional dependency diagram for the initial relation. This diagram should agree with the primary key you selected in above.

5) Based on your diagram, what normal form is the initial relation in? Why?

6)If necessary, decompose the initial relation into a set of non-loss 3NF relations by showing the relations, attributes, and tuples. Show complete relations with attribute headings and all data values in the tuples of your relations. Determine the number of 3NF relations you end up with after normalization, write this number, and then circle the number.

CMIS 320 Project 4 Examine the following relation and its attributes and answer the following questions. Assume these are the values for "all time". Assume girls with the same name are the same person GROUP AGE GIRL GAME CATEGORY PRICE Charlotte 5 year olds 5 Mirror Makeup 4.88 6 year olds Lipstick Makeup Susan 5.95 5 year olds 5 Jane Chess Games 7.55 6 year olds Checkers Susan Games 5.95 6 year olds Makeup Susan Mirror 4.88 6 year olds Carrie Lipstick Makeup 5.95 Jacqueline 5 year olds Visual Basic Prog. Languages 199.99 1) Is this relation in at least 1NF? Why or why not? 2) What is the primary key of the initial relation (assume the values shown are the only possible tuples for all time)? Remember that a primary key must be unique and not nu 3) Describe the specific data anomalies that exist if we DELETE the tuple containing Jacqueline. Draw a functional dependency diagram for the initial relation. This diagram should agree with the primary key you selected in above 5) Based on your diagram, what normal form is the initial relation in? Why? 6) If necessary, decompose the initial relation into a set of non-loss 3NF relations by showing the relations, attributes, and tuples. Show complete relations with attribute headings and all data values in the tuples of your relations. Determine the number of lations you end up with after normalization, write this number, and then circle the number.

Explanation / Answer

1) Yes, The given relation is in 1NF. As per 1st normal form, each and every attribute of a table cannot hold multiple values.

In the given relation all attributes are unique. Hence it is in 1NF.


2) A sper given relatuion there is no primary key. Beacuse primary key should be unique and not null. Jence there is no primary key.


3) If we delete touple containg Jacqueline we can get any delete anomolies because there is no dependent touple on that and it is unique. Hence we can delete that touple easily.

5) Based on given relation schema the relation is in only 1NF. Because it contains  non-prime attribute which is dependent on the proper subset of any candidate of table.


6) Girl GroupAge Game   
.......... ......... .....   
Charlotte 5 mirror
susan 6 Lipstick
Jane 5 Chess
Susan 6 Chekkers
Carrie 6 Lipstick
Jacqueline 5 Visual Basic


Game Game Catogiry price
...... ................ .........

Mirror Makeup 4.88
Lipstick Makeupp 5.95
Chess Games 7.55
Checkers Games 5.95
Visual Basic Prog.Languages 199.99