WorksheetsSW-NORMALIZATION
Total questions: 20
Worksheet time: 10mins
An entity is represented by what in a database?
Table
Row
Column
Cell
An attribute is represented by what in a database?
Table
Row
Column
Cell
The purposes of normalization are :
To ensure that the anomalies doesn’t occur
To reduce data or storage redundancy
To ensure easy for record searching/finding
All the above
"Occurs when an attribute is functionally dependent on another non-key attribute."
The above statement is referring to :
Full Functional Dependency
Partial Functional Dependency
Transitive Dependencies
A table is in 2NF if the table is in 1NF and what other condition is met?
There are no functional dependencies.
There are no null values in primary key fields.
There are no repeating groups.
There are no attributes that are not functionally dependent on the relation's primary key.
When you normalize a relation by breaking it into two smaller relations, what must you do to maintain data integrity?
Remove any functional dependencies from both relations
Assign both relations the same primary key field(s)
Create a primary key(s) for the new relation
Which of these are required for a relational database to meet 3rd normal form?
Must meet 2nd normal form
All the non-key attributes must depend on another non-key attribute
All the non-key attributes must not depend on another non-key attribute
Must meet 4th normal form
A 2NF table can exhibit ____ dependency.
partial
complete
transitive
indirect
Identify the types of Data Anomalies:
Add, Delete and Save anomalies
Insert, Add and Save anomalies
Update, Save and Insert anomalies
Insert, Delete and Update anomalies
An advantage of normalisation is:
The storage space needed for a normalised database is likely to be smaller
The process of normalising a database is very easy and doesn’t require any skill
It is possible to see previous details that have been changed, such as a customer’s address, as we can look back at an older entry
What is a foreign key?
A unique identifier in a database
A primary key of one table that appears in another table
A field that should not be in a table and needs removing
What is a functional dependency?
when an non-key attribute is determined by a whole part of a COMPOSITE primary key.
When a key field is changed and it conflicts with another key
When a database function is dependant of the operation of another function to work correctly
When data is a database is repeated for different entities
What is a composite primary key?
A primary key that can be duplicated in the same table
An attribute that is a primary key in another table
A foreign key that is a primary key in more than one other table
A primary key made up from two or more attributes
A relation is in 1NF if it doesn't contain any ____________?
Determinants
Repeating columns
Null values in primary key fields
Functional dependencies
After being in 1NF, a table is in 2NF if it has...
only one primary key field
all of its fields are Whole Key Dependant
non-key fields that are functionally dependant
at least one repeating group
Which of the following statements fully describes data in 2NF:
When any repeating fields have been removed and the table is given a primary key
When all repeating entries of data are removed and the fields in each table are directly related to the primary key and no fields are present that are not related to each other
When all the fields in each table are directly related to the primary key
What is an atomic field?
A field that contains multiple items of data
A field that is repeated
A field that contains only one item of data
A table where all attributes are dependent on the primary key and are independent of each other, and no row contains two or more multi valued facts about an entity, is said to be in ____.
1NF
2NF
3NF
4NF
The ____ model views the data as part of a table or collection of tables in which all key values must be identified.
relational
object-oriented
conceptual
external
Identification of the ____ will let you know where you are in the normalization process.
normal form
primary key
attributes
repeating groups
