Lesson 4 - Normalization Flashcards

1
Q

are a set of rules. It is used to maintain the quality of information.

A

Integrity Constraints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • ensure that the data insertion, updating, and other processes have to be performed in such a way that data integrity is not affected.
  • used to guard against accidental damage to the database.
A

Integrity Constraints

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

can be defined as the definition of a valid set of values for an attribute.

A

Domain Constraints

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

The data type of this constraint includes string, character, integer, time, date, currency, etc. The value of the attribute must be available in the corresponding of this.

A

Domain

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

The _______ ______ constraint states that primary key value can’t be null

A

Entity Integrity Constraint

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

A table can contain a null value other than the primary key field.

A

True

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

This constraint is specified between two tables.

A

Referential Integrity Constraint

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

____are the entity set that is used to identify an entity within its entity set uniquely.

A

Keys

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

In the __________ constraints, if a foreign key in Table 1 refers to the Primary Key of Table 2, then every value of the Foreign Key in Table 1 must be null or be available in Table 2

A

Referential Integrity Constraints

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

a relationship that exists between two attributes. It typically exists between the primary key and non-key attribute within a table.

A

Functional Dependency

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

essentially a set of rules that allows you to organize your database in such a way that your tables are related, where appropriate, and flexible for future growth and relationships.

A

Database Normalization

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

The sets of rules used in normalization are called ________

A

Normal Forms

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

a prime example of something needing to be normalized.

A

Flat Table

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

table is like a spreadsheet with many columns of data.

A

Flat Table

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

, there are no relationships between multiple table, as all the data you could possibly want is right there in that single flat table

A

Flat Table

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

is not efficient design and will consume more physical space on your hard drive than a set of normalized database tables.

A

Flat Table

17
Q

What are the Normal Forms

A

1NF, 2NF, 3NF, Boyce-Codd Normal Form, 4NF, 5NF

18
Q
  • Ensure that all table contain single type of data (atomic data).
  • Eliminate repeating information.
  • Create separate tables for related data.
A

First Normal Form 1NF

19
Q
  • No non-key attributes depend on a portion of the primary key.
  • All attributes should be functionally dependent on the primary key(s).
A

Second Normal Form

20
Q

Ensures that there is no transitive dependency.
No attributes depend on other non-key attributes.

A

Third Normal Forms

21
Q

process of organizing the data in the database.

A

Normalization

22
Q

divides the larger table into the smaller table and links them using relationship.

A

Normalization

23
Q

what are the integrities

A

Domain, entity integrity, referential integrity, key