Anda di halaman 1dari 3

KOLEJ POLY-TECH MARA KUALA LUMPUR Autonomous Franchise Programme COVENTRY UNIVERSITY

220CT: Databases Systems Assignment 1(Individual) (55 marks)

INSTRUCTIONS
This assignment consists of Part A and Part B. Answer ALL questions in Part A and Part B. Submit in hardcopy. Front Cover should include these details: - Program - Name - ID - Title (Assignment 2) - Lecturer - Date of submission Late assignment will be penalized.

TOPICS FOR CASE STUDY


a) Analyze case study and draw the ERD b) Analyze case study and normalize the table

DATE OF SUBMISSION
Assignment 1 (week 12) (50 marks)

GRADING
a) For topic A and B, your answers will be given based on the correct answer with the right design on ERD/ Normalization

Part A
1

Answer the following questions. You are assigned to design the database to keep track of student and the classes they have taken in the Mak Yung Tari Menari Club. The following are requirement of the system. The Mak Yung Tari Menari Club teaches traditional dancing and offers both private and group lessons. The club charges RM30 per hour each student for a private lesson and RM10 per hour for a group lesson. A student may come in as a single dancer or a couple. Each student has student number, student name, student category and for lesson, each lesson has lesson number, type of lesson and rate per hour. The club employs two types of instructor: full-time instructors and part time instructors. Each instructor has instructor number, salary code, type of instructor and basic salary. The full-time instructor is paid a fixed amount per week, and the part time instructor is paid either a set amount for an evening or a set amount for teaching a particular class. In addition to the lesson, the club organized twice a week dance activities. The admission charge is RM5 per person. Instructor is required to attend the activity. The management club has drawn up a schedule for the instructor attendance at dances. An instructor can teach many private lessons. Normally a private lesson is taught by a single instructor. However, there is only one instructor which is involved in a group lesson. Customer can take either private lesson or group lesson. A group lesson can accept more that one customer. Private lesson must have at least one customer or one couple. (Student may provide extra relevant attribute for each entity) a) Based on the information given above draw a complete ER diagram. Clearly show all the entities, attributes, relationships and connectivity involved in the diagram.

Part B
Answer the following questions. PACKING NOTE NO: 230
Packed by: INNRAN ENTERPRISE Customer Code: CT01 Customer Name: NIK SDN BHD Customer Address: JALAN GAMBANG, PAHANG

ITEM NO 101 201 301 401 501

QTY 200 130 300 100 450

PART NO 1234 2234 3334 2235 3456

DESCRIPTION Nuts Bolts Washers Player Screw

Convert the form shown above into single table b) In what normal form the table is? State your reasons(s) c) Normalize the table into 3NF

(2 marks) (1 mark) (27 marks)

Anda mungkin juga menyukai