3. Tutorial 2 - ERD Questions

Embed Size (px)

DESCRIPTION

asd

Citation preview

Question 1

Tutorial 2 : More on ERDER ModelingQuestion 1A company has a number of employees. The attributes of EMPLOYEE include Employee_ID, Name, Address, and Birthdate. The company also has several projects. The detail of PROJECT include Project_ID, Project_Name and Start_Date.

Cont: Question 1Each employee may be assigned to one or more projects, or may not be assigned to a project.A project must have at least one employee assigned and may have any number of employees assigned. An employees billing rate may vary by project, and the company wishes to record the applicable billing rate(Billing_Rate) for each employee when assigned to a particular project.Question 2Restu Online Shopping (ROS) is a bumiputera developed online shopping system. ROS sells various types of product. These products are imported from countries such as China, Taiwan, USA, Indonesia, France etc. Product is described using its product code, name, price, country of origin. ROS allows their users either to be a registered customer or a guest customer. Both will be regarded as Customer. Customer will select the product they wanted to purchase and give out their mailing information. Detail of customers that must be kept include customer code, customer last name, customer first name, address which comprises of street, city, postal code and state, contact number, and email address.Any purchases made by customer must be recorded to ensure the right product ordered is sent to the customer.Question 3A laboratory has several chemists who work on one or more projects. Chemist may also use certain kind of equipment on each project. Attributes of Chemist include Emp_ID, Name and Phone. Attributes of Project include Project_ID, Project_Name, Start_Date and attributes for Equipment include serial number and cost.