0% found this document useful (0 votes)
43 views4 pages

ITP4903 Laboratory 8 (v2.1 - LWL) - Answer Sheet

The document provides instructions for two tasks related to database design. Task 1 involves creating an ER diagram for a film archive database with information on films, film companies, directors, actors, and actor agencies. Task 2 involves normalizing a student-course registration table to third normal form (3NF) through a multi-step process and drawing an ERD to represent the normalized data.

Uploaded by

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

ITP4903 Laboratory 8 (v2.1 - LWL) - Answer Sheet

The document provides instructions for two tasks related to database design. Task 1 involves creating an ER diagram for a film archive database with information on films, film companies, directors, actors, and actor agencies. Task 2 involves normalizing a student-course registration table to third normal form (3NF) through a multi-step process and drawing an ERD to represent the normalized data.

Uploaded by

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

Class: Name: Student ID: Lab 8

HONG KONG INSTITUTE OF VOCATIONAL EDUCATION


Laboratory 8: Entity-Relationship Diagram & Normalization

Module Intended Learning Outcome (#2):


On completion of the module, students are expected to be able to:
 Apply database design techniques to design relational data models typically used in
business application systems.

Lesson Intended Learning Outcome:


On completion of this lab, students are expected to be able to:
 Design relational data model using ER diagram for given business cases.
 Perform normalization on relational data.

TASK:
1. The Hong Kong Film Archive wishes to create a database to hold information about the
films and the actors, produced by the Hong Kong film companies. Each film has a Chinese
title, an English title, published year, director, major actors and description. Each film
company makes a number of films, and each film is produced by only one film company.
Each director may direct many films and the Film Archive assume there is only one director
for each film. There are always several major actors in a film. Some actors belong to
agency companies which represent them and other work independently and have no agency
company.

Create an ER diagram for the above description and eliminate all the many-to-many
relationships.

©2020 VTC ITP4903 Database Principles IT/LWL v2.1 - Page 1 of 4


Class: Name: Student ID: Lab 8

2 Given the following Student-Course Registration table.

StudCourse
sNo sName sAdd cNo cName cFee lNo lName lLoc regDate
S100 Amy Chan 1 Tsuen Wan C100 Visual Basic 1600 L111 Peter Tse RM 440 01-JUL-05
C200 Database 1500 L222 Jenny Hui RM 328 13-AUG-05
S200 Barry So 9 Happy Valley C100 Visual Basic 1600 L111 Peter Tse RM 440 02-JUL-05
S300 Carol Lau 28 Lucky Bay C300 Mutlimedia 1200 L888 Paul Lam RM 234 15-AUG-05

where
sNo = Student Number, sName = Student Name,
sAdd = Student’s Address, cNo = Course Number,
cName = Course Name, cFee = Course Fee,
lNo = Lecturer Number, lName = Lecturer Name,
lLoc = Lecturer’s Location, regDate = Registration Date
Given that sNo is the primary key of the above table.

Assume that each student can register more than but at least one course. Each course has at
least one student. Each course is taught by one lecturer and each lecturer teaches at least
one course. Normalize the above table to 3NF.

Give details of each stage of the Normalization.

UNF: UnNormalized Form (Transfer Attributes into TABLE)

1NF: First Normal Form (Remove repeating groups)

©2020 VTC ITP4903 Database Principles IT/LWL v2.1 - Page 2 of 4


Class: Name: Student ID: Lab 8

2NF: Second Normal Form (Remove partial dependencies)

3NF: Third Normal Form (Remove transitive dependencies)

©2020 VTC ITP4903 Database Principles IT/LWL v2.1 - Page 3 of 4


Class: Name: Student ID: Lab 8

3 Draw an Entity-Relationship diagram ERD to represent the data requirement for Task 2.

©2020 VTC ITP4903 Database Principles IT/LWL v2.1 - Page 4 of 4

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