First, Second & Third Normal Form Flashcards

1
Q

What is normalisation?

A

Data is normalised in order to reduce redundancy and inconsistency and to make it easier to use.

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

What is a table in before it gets to first normal form?

A

Unnormalised form. 0NF.

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

How do you recognise 1NF?

A

A table is in 1NF if every data value in a field is atomic and each record does not contain repeating data.

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

What is atomic data?

A

It means the data value cannot be broken down any further.

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

Is student name an example of atomic data?

A

No, because it can be split into ‘forename’ and ‘surname’.

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

How do you show a primary key?

A

With a . (Student No)

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

What are the checks for 1NF?

A

Does the table have a primary key? Is each field name unique? Are there any repeating fields in a single record? Is all the data within a field atomic?

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

How do you recognise 2NF?

A

A table is in 2NF if it is 1NF and all its non-key attributes are dependent on the entire primary key (or there are no partial key dependencies).

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

2NF is based on f_________ d_________.

A

Functional dependance.

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

Checks for 2NF?

A

Is the table in 1NF? Can all of the non-key fields be found out by using the entire primary key?

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

How do you recognise 3NF?

A

A table is in 3NF if it is in 2NF and there is no functional dependency between non-key items. ‘Are any of the non-key fields dependent on any other non-key fields? If the answer is ‘No’, then the table is in 3NF. The rule here is that a new table needs to be created for each new dependency.

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

Checks for 3NF:

A

Is the table in 2NF? Are all non-key attributes fully dependent on the primary key?

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

Describe the correct notation for table structures.

A

The table name should be in capitals. The attributes (field names) in brackets separated by a comma. The primary key is underlined and foreign keys are over lined.

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

What are the advantages of normalisation?

A

Removes redundancy, increases consistency, increases integrity, easier maintenance, flexibility for future expansion.

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

What are the disadvantages of normalisation?

A

Increased CPU storage, longer to process. They’re not always necessary.

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