0% found this document useful (0 votes)
18 views

Normalization Questions

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Normalization Questions

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

(a) Normalisation of data refers to the process of efficiently organizing data in a

database.

(b) Two stages of Normalization are:

1. 1st Normal Form (1NF) states that every row and column in a table should
be a single and every row has a primary key and each field has a name. Each
data item cannot be broken down any further (it is atomic)
a. 3rd Normal form- ensure that there are no transitive dependencies
within the table.

(c) (i) 2nd Normal Form, because every field relates to the primary key.

(ii) 2nd Normal, because they all relate to course number and it has a transitive
dependency on lecture name and id.
(a) (i) Two advantages of using a normalised relational database instead of a flat
file are:
1. Reduced data redundancy- this means that there would be less
information in a relational database compared to a flat file.
2. Data is shared - this means that the data in a relational database would
be linked together easily whereas in a flat file the data is not linked.

(ii) Data redundancy is reduced - this can improve the performance of relational
databases as this database model filters data and makes finding of data easier and
more time efficient, in terms of

Data is shared - this can improve the integrity of the data as many persons will
have access and they can verify the reliability of the data presented in the database.
(Can do performance for the two)

(b) 1st Normal Form (1NF) states that every row and column in a table should be a
single and every row has a primary key and each field has a name. Each data item
cannot be broken down any further (it is atomic) (no-repeating)
2nd Normal- it must meet all the requirements of the first form. Non-key attributes
must rely on every part of the primary/candidate key.
3rd Normal form- ensure that there are no transitive dependencies within the table.

(c) (i) AGENT - agent NUMBER


CUSTOMER - customer NUMBER
(ii) The foreign key is the agent NUMBER because it is the primary key in the
agent table.
(iii) The highest normal form in the CUSTOMER table is the 2nd normal form as
there can be one table with customer personal information including their name,
address and phone number, while an agent who is assigned to them has a specific
number which is directly related to one customer or more than one.

(iv) The relationship would be one to many because one agent can deal with many
customers using the primary key.

(d) Johnson Agent#004 - Kim Customer1, JacobCustomer2, AdamCustomer3


2009
3) a) Date Hired and Date Returned: A format check can be made to ensure that
there is consistency and that the data in each field is entered as DD/MM/YY.
Client Number: A presence check may be used to ensure that this field does not
have a NULL value or is left empty.
M/V Registration: A length checks (format) can be used to ensure that any
information entered does not exceed the required number of characters.

b) The table is un-normalized because there are multiple people owning the same
make and model of vehicles and the date hired and returned can possibly be the
same.

c) Normalization is the process of efficiently organizing data in a database. It


ensures data consistency and removes any data duplication or violations.

d)
CLIENT (Client number, Client name, Gender, Date of Birth)

MOTOR VEHICLE (M/V Registration, Make, Model, Client number)

RENTAL DETAILS (M/V Registration, Date Hired, Date Returned)

You might also like