Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment ( 6 0 Points ) The COMPANY database keeps track of a company s employees, departments, and projects. Suppose that after the requirements collection
Assignment Points
The COMPANY database keeps track of a companys employees, departments, and projects. Suppose that after the requirements collection and analysis phase, the database designers provide the following description of the miniworld the part of the company that will be represented in the database.
The company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department. A department may have several locations.
A department controls a number of projects, each of which has a unique name, a unique number, and a single location.
We store each employees name, Social Security number, address, salary, sexgender and birth date. An employee is assigned to one department, but may work on several projects, which are not necessarily controlled by the same department. We keep track of the current number of hours per week that an employee works on each project. We also keep track of the direct supervisor of each employee who is another employee
We want to keep track of the dependents of each employee for insurance purposes. We keep each dependents first name, sex, birth date, and relationship to the employee.
What you need to do this exercise
A Dia file has been created for you to extend and can be found on Blackboard Company.dia represents a completed ER schema which, models some of the information implemented in the system, as a starting point for this exercise.
Understanding the ER schema for the Company database. Points
To demonstrate that you understand the information represented by the schema, explain using EMPLOYEE, DEPARTMENT, PROJECT and DEPENDENT as examples:
attributes, entities and relationships Points
cardinality & participation constraints on relationships Points
You dont need to explain the entities etc BUT you should explain question a and b using the schema you have been given to more easily explain your answers.
Creating and Extending Entity Relationship EER Diagrams. Points
To demonstrate you can create entity relationship diagrams extend the ER as described in Company.dia by modelling new requirements as follows:
Create subclasses to extend Employee. The employee type may be distinguished further based on the job type SECRETARY ENGINEER, MANAGER, and TECHNICIAN and based on the method of pay SALARIEDEMPLOYEE, HOURLYEMPLOYEE
SECRETARY entity type has the specific attribute Typingspeed, whereas the ENGINEER entity type has the specific attribute Engtype, but SECRETARY and ENGINEER share their other inherited attributes from the EMPLOYEE entity type.
SALARIEDEMPLOYEE entity type has the specific attribute Salary, whereas the HOURLYEMPLOYEES entity type has the specific attribute Payscale. Points
Now explain the superclass and subclasses that you have just created. Points
Explain the disjointness overlapdisjoint and completeness partialtotal constraints you have made while creating the specialization in question a Points
Save your report as LabYourName.docx and your dia files as LabYourName.dia
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started