Module 03b - Normalization Flashcards

1
Q

Insertion anomalies

A

we cannot add a new row to the database unless we add another independent data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Update anomaly

A

If we change a row we have to make changes in more than one place or else the database will be inconsistent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Deletion anomaly

A

If one data is deleted from the database, we loose information that we had related to another data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Source of anomalies and solution

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Normal Forms

A

1NF - A table that qualifies as a relation AND has a defined primary key

2NF - all of its non-key attributes are dependent on all of the primary keys

3NF - It’s in 2NF and has no determinants except the primary key

BCNF - If every determinant is a candidate key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is higher level of NF always desired?

A

No. Depends on the application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Procedure of normalize the tables

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Multivalued dependencies

A

Occurs when a determinant is metched with a particular set of values. The determinant of a multivalued dependency can never be a primary key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

MVD and 4NF

A

Multivalued dependencies are not a problem if they are in a separate relation, so: Always put multivalued dependencies into their on relation (4NF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

4 Normal Form

A

Is a normal form used in database normalization. Introduced by Ronald Fagin in 1977.

For every one of its non-trivial multivalued dependencies, X–>–>Y, X is a superkey

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Superkey

A

a set of attributes of a relation variable for which it holds that in all relations assigned to that variable, there are two distinct tuples (rows) that have the same values for the attributes in this set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly