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

Databases Homework 2 Normalisation

The document outlines a homework assignment focused on database normalization, specifically addressing a boat hire company's database and a Sixth Form College's student database. It includes questions on key definitions, properties of Third Normal Form, and the importance of normalization, as well as tasks related to converting tables to meet normalization standards. The assignment emphasizes understanding relationships between entities and the implications of design choices in database structure.

Uploaded by

Hamza Omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Databases Homework 2 Normalisation

The document outlines a homework assignment focused on database normalization, specifically addressing a boat hire company's database and a Sixth Form College's student database. It includes questions on key definitions, properties of Third Normal Form, and the importance of normalization, as well as tasks related to converting tables to meet normalization standards. The assignment emphasizes understanding relationships between entities and the implications of design choices in database structure.

Uploaded by

Hamza Omar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Homework 2 Normalisation

Unit 11 Databases and software development

Homework 2 Normalisation
1. A boat hire company stores details of its customers, boats and rentals in a database. The
relations in the database hold the following data:
Boat (BoatName, type, length, berths)
Customer (CustomerID, Surname, Firstname, AddressLine1, AddressLine2, Town,
Postcode, DateOfBirth, email)
BoatHire (CustomerID, BoatName, HireDate, HireEndDate)
(a) The key in the BoatHire relation consists of three attributes.
What is the name given to a key made up of more than one attribute? [1]

(b) The relations in this database are in Third Normal Form.


State the properties of a relation in Third Normal Form. [3]

(c) State, with reasons, why it is important that relations in a database are in
Third Normal Form. [6]

(d) Complete the Entity-Relationship diagram below to show the degree of the
relationships between the entities. [3]

1
Homework 2 Normalisation
Unit 11 Databases and software development

2. A database is to be created to hold data about students at a Sixth Form College and the
subjects they study.
Students study a number of subjects, and each subject has one subject leader.
The table below is a first attempt at the design of the database.
StudentID Name TutorGroup Tutor Subject Level SubjectLeader
History A AJH
S1000 Bella 2 CKE Geography A BJG
Economics AS CKE
English AS DRE
S2000 Jane 3 KPR French A FJF
Russian A KPR
English A DRE
S3000 Greg 1 DRE
Geography A BJG
(a) Explain, with reference to the data, why the table is not in First Normal Form (1NF). [2]

(b) The design is changed to:


Student (StudentID, Name, TutorGroup, Tutor)
StudentSubject (StudentID, Subject, Level, SubjectLeader)
Show how the data given in the table above would be held in these two tables. [3]
Table: Student
StudentID Name TutorGroup Tutor

Table: StudentSubject
StudentID Subject Level SubjectLeader

2
Homework 2 Normalisation
Unit 11 Databases and software development

(c) A student is not allowed to study the same subject at A and AS Level. [1]
What is the primary key of the table StudentSubject?

(d) The two tables Student and StudentSubject are related. Explain how this is achieved
using a primary and a foreign key. [2]

(e) Explain why the table StudentSubject is not in Second Normal Form (2NF). [2]

(f) Explain why the table Student is not in Third Normal Form (3NF) [2]

[Total 25 Marks]

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy