Computer Software, Code learning, Assigment, Assignments of Mathematics

Some Files you need to improve your skills code and point in class

Typology: Assignments

2019/2020

Uploaded on 09/23/2020

hnhoangdz
hnhoangdz 🇻🇳

5

(9)

3 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Regional Labs is a company that conducts research and development work on a contract
basis for other companies and organizations. Figure below shows data that Regional Labs
collects about projects and the employees assigned to them. This data is stored in a relation
(table) named PROJECT:
ProjectI
D
EmployeeNa
me
EmployeeSal
ary
100-A Eric Jones 64,000.00
100-A Donna Smith 70,000.00
100-B Donna Smith 70,000.00
200-A Eric Jones 64,000.00
200-B Eric Jones 64,000.00
200-C Eric Parks 58,000.00
200-C Donna Smith 70,000.00
200-D Eric Parks 58,000.00
A. Assuming that all functional dependencies are apparent in this data, which of the
following are true?
1. ProjectID -> EmployeeName
2. ProjectID -> EmployeeSalary
3. (ProjectID, EmployeeName) -> EmployeeSalary
4. EmployeeName -> EmployeeSalary
5. EmployeeSalary -> ProjectID
6. EmployeeSalary -> (ProjectID, EmployeeName)
B. What is the primary key of PROJECT?
pf2

Partial preview of the text

Download Computer Software, Code learning, Assigment and more Assignments Mathematics in PDF only on Docsity!

Regional Labs is a company that conducts research and development work on a contract basis for other companies and organizations. Figure below shows data that Regional Labs collects about projects and the employees assigned to them. This data is stored in a relation (table) named PROJECT: ProjectI D EmployeeNa me EmployeeSal ary 100-A Eric Jones 64,000. 100-A Donna Smith 70,000. 100-B Donna Smith 70,000. 200-A Eric Jones 64,000. 200-B Eric Jones 64,000. 200-C Eric Parks 58,000. 200-C Donna Smith 70,000. 200-D Eric Parks 58,000. A. Assuming that all functional dependencies are apparent in this data, which of the following are true?

  1. ProjectID - > EmployeeName
  2. ProjectID -> EmployeeSalary
  3. (ProjectID, EmployeeName) -> EmployeeSalary
  4. EmployeeName -> EmployeeSalary
  5. EmployeeSalary -> ProjectID
  6. EmployeeSalary -> (ProjectID, EmployeeName) B. What is the primary key of PROJECT?

C. Are all the non-key attributes (if any) dependent on the primary key? D. In what normal form is PROJECT? E. Describe two modification anomalies that affect PROJECT. F. Is ProjectID a determinant? If so, based on which functional dependencies in part A? G. Is EmployeeName a determinant? If so, based on which functional dependencies in part A? H. Is (ProjectID, EmployeeName) a determinant? If so, based on which functional depen- dencies in part A? I. Is EmployeeSalary a determinant? If so, based on which functional dependencies in part A? J. Does this relation contain a transitive dependency? If so, what is it? K. Redesign the relation to eliminate modification anomalies.