Normalization of Database Tables Flashcards

1
Q

What is normalization?

A

It is the evaluation and correction of table structures to minimize data redundancies

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

What does normalization do?

A

It reduces data anomalies and assigns attributes to tables based on determination

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

What are the three different normal forms?

A

First normal form
Second normal form
Third normal form

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

What is the structural point of view of normal forms?

A

Higher normal forms are better than lower normal forms
Properly designed 3NF structures meet the requirement of fourth normal form (4NF)

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

What is denormalization?

A

It is when there is the production of a lower normal form

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

What does denormalization result in?

A

It results in an increased performance and greater data redundancy

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

What does normalization do when used while designing a new database structure?

A

Analyzes the relationship among the attributes within each entity
Determines if the structure can be improved through normalization
Improves the existing data structure and creates an appropriate database design

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

What is unnormalized data?

A

It is raw data in its original state, it might contain redundant data, multivalued data, and/or other data anomalies not found on normalized data relations

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

What is the objective of the normalization process?

A

It is to ensure that each table conforms to the concept of well-formed relations
That all tables are at least 3NF

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

What are the well-formed relations that normalization attempts to make each table conform to?

A

Each table represents a single subject
Each row/column intersection contains only one value and not a group of values
No data item will be unnecessarily stored in more than one table
All nonprime attributes in a table are dependent on the primary key
Each table has no insertion, update, or deletion anomalies

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

What is functional dependence?

A

It is when one attribute is fully functionally dependent on another attribute if each value of the other attribute determines one and only one value of the initial (one) attribute

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

What is fully functional dependence?

A

It is when an attribute is functionally dependent on a composite key of another attribute but not on any subset of that composite key, the initial attribute is fully functionally dependent on the other attribute

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

What is a partial dependency?

A

It is a functional dependency in which the determinant is only part of the primary key

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

What is a transitive dependency?

A

It is when an attribute is dependent on another attribute that is not part of the primary key

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

What is a repeating group?

A

It is when a group of multiple entries of the same type can exist for any single key attribute occurence

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

What is the three step procedure of converting to the first normal form?

A

Eliminate the repeating groups
Identify the primary key
Identify all dependencies

17
Q

What is the dependency diagram?

A

It is a diagram that depicts all dependencies found within a given table structure

18
Q

What does 1NF describe?

A

It describes the tabular format in which all key attributes are defined, there are no repeating groups in the table, all attributes are dependent on the primary key

19
Q

When does conversion to 2NF occur?

A

It occurs when the 1NF has a composite primary key