Topic 8: Normalization Flashcards

1
Q

What is Normalization

A

It is the process that involves the elimination of inappropriate functional dependencies in a relation

In simpler terms it is the reorganization of a database in order to reduce redundancy

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

What is the purposes of Normalization?

A

The main purpose of Normalization is to reduce redundancy and eliminate complexity

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

What is a repeating group?

A

It is an attribute or group of attributes that occurs with multiple variables in a single instance of a primary key

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

What is UNF

A

It is the state prior to the 1st Normal Form wherein the relation still containsone or more repeating groups

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

When is a relation in the first normal form?

A

It is when in the intersection of a row and column in a relation has only one and only one value

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

How to transform UNF to 1NF

A

Idenitify the repeating groups within the table and remove them

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

Limitations of 1NF

A

1NF only removes repeating groups, but not redundancy

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

When is a relation in the 2NF

A
  • It is already in 1NF
  • primary key consists of only one attribute
  • no non-key attributes exists in the relation
  • every non-key attribute is functionally dependent on the full-set of primary keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is full functional dependency?

A

in a relatonship where X -> Y, Y is functionally dependent to X if X determines the value of Y. If we know the value of X then we will know the value of Y

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

When is a relation in the 3NF

A
  • It is in the 2NF
  • no transitive dependencies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly