Question

Question 5 (20 marks) a) Identify and briefly explain the three data anomalies found in a database design. (9 marks) b) What
0 1
Add a comment Improve this question Transcribed image text
Answer #1

a)

Anomalies:

Anomalies are the problem which arises due to data insertion, data update or data deletion. This problem arises in a database that is unnormalized.

Modification/Update anomalies:

Update anomaly is data inconsistency after the update operation occurs. It arises due to partial updates and redundancy. In a partial update, some record is updated but some record is not updated or changes being made incorrectly.

Insertion anomalies:

When we can't insert a record into the database without the presence of some other attribute, then insertion anomalies occur.

Deletion anomalies:

When we delete a record from the database that has some attribute that should not be deleted, then deletion anomalies occur.  

For example:

We are deleting a student record and he is the single student who is enrolled in an extra course but the extra course is also deleted with the student.

b)

Normalization:

Normalization is used to avoid anomalies.

First Normal Form:

A table is said to be in first normal form if and only if each cell of the table contains the atomic value. By default, every relation is in the first normal.

Second Normal Form:

If there is no partial dependency then the relation is said to be in first normal form.

A functional dependency A->B is a partial dependency if some attribute 'X' belongs to A, can be removed from X and then dependency still holds.

Third Normal Form:

A relation or table is in third normal form if there is no transitive dependency.

c)

Anomalies are the problem which arises due to data insertion, data update, or data deletion.

Normalization is used to avoid anomalies.

In normalization, we break one table into multiple tables to remove the anomalies. The anomalies arise in a database that is unnormalized.

Add a comment
Answer #2

Bro is this your Database management assignment from deakin?

source: ME
answered by: Ethan
Add a comment
Know the answer?
Add Answer to:
Question 5 (20 marks) a) Identify and briefly explain the three data anomalies found in a...
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
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