Question

In: Computer Science

Assume that you have been given the following attributes: Team_ID, Team_Name, Team_Motto, Emp_ID, Emp_Name, Emp_Address, Emp_Skills,...

Assume that you have been given the following attributes:

Team_ID, Team_Name, Team_Motto, Emp_ID, Emp_Name, Emp_Address, Emp_Skills, Task_ID, Task_Begin_Date, Task_Completion_Date, Emp_Performance

Assume there are no repeating groups. An employee can be in only one team at a time, but a team can have multiple employees. Emp_ID determines the team in which an employee works. Emp_skills is a multi-valued attribute. An employee can be assigned multiple tasks. Emp_Performance depends on the employee and the task to which they are assigned. Identify all dependencies and covert to 3 NF. First convert the above to 1NF then 2NF and lastly, 3NF. Show all work.

Solutions

Expert Solution

According to the question :-

  1. An employee can be in only one team at a time, but a team can have multiple employees
  2. Emp_skills is a multi-valued attribute
  3. An employee can be assigned multiple tasks
  4. Emp_Performance depends on the employee and the task to which they are assigned

The functional dependencies possible are as follows:-

  1. Team_ID -> Team_Name, Team_Motto
  2. Emp_ID, Team_ID -> Emp_Name, Emp_Address, Emp_Skills
  3. Task_ID -> Task_Begin_Date, Task_Completion_Date
  4. Emp_ID, Task_ID -> Emp_Performance

From the above functional dependencies the candidate keys are Team_ID, Emp_ID, Task_ID.

For 1NF there should not be any composite and multivalued attributes, clearly the relation is not in 1 NF as Emp_Skills is multivalued attribute therefore the given relation will normalized as follows:-

R (Team_ID, Team_Name, Team_Motto, Emp_ID, Emp_Name, Emp_Address, Task_ID, Task_Begin_Date, Task_Completion_Date, Emp_Performance)

Skills (Emp_ID -> Emp_Skills)

For 2NF there should not be any partial dependencies, clearly there is partial dependencies present in the relation therefore the relation will break into sub relation as follows:-

  1. Team (Team_ID, Team_Name, Team_Motto)
  2. Employee (Emp_ID, Team_ID, Emp_Name, Emp_Address)
  3. Skills (Emp_ID -> Emp_Skills)
  4. Task (Task_ID, Task_Begin_Date, Task_Completion_Date)
  5. Perform (Emp_ID, Task_ID, Emp_Performance)

For 3 NF there should not be any transitive dependency, clearly the above sub relation is in 3 NF, therefore after normalization the relation schema is derived as follows:-

  1. Team (Team_ID, Team_Name, Team_Motto)
  2. Employee (Emp_ID, Team_ID, Emp_Name, Emp_Address)
  3. Skills (Emp_ID -> Emp_Skills)
  4. Task (Task_ID, Task_Begin_Date, Task_Completion_Date)
  5. Perform (Emp_ID, Task_ID, Emp_Performance)

In above relation schema primary keys are represented by underline and foreign keys by bold


Related Solutions

Assume that you have been given the following attributes: Inv_Num, Prod_Num, Sale_Date, Prod_Desc, Vend_Num, Vend_Name. Num_Sold,...
Assume that you have been given the following attributes: Inv_Num, Prod_Num, Sale_Date, Prod_Desc, Vend_Num, Vend_Name. Num_Sold, Prod_Price Assume there are no repeating groups. An invoice can contain multiple products and a product can be sold by only one vendor. Identify all dependencies and covert to 3 NF. First convert the above to 1NF then 2NF and lastly, 3NF. Show all work.
Black-Scholes Model Assume that you have been given the following information on Purcell Industries' call options:...
Black-Scholes Model Assume that you have been given the following information on Purcell Industries' call options: Current stock price = $13 Strike price of option = $13 Time to maturity of option = 3 months Risk-free rate = 7% Variance of stock return = 0.14 d1 = 0.18708 N(d1) = 0.57420 d2 = 0.00000 N(d2) = 0.50000 According to the Black-Scholes option pricing model, what is the option's value? Do not round intermediate calculations. Round your answer to the nearest...
Assume that you have recently been given the firm, A. Sedeno, as a gift from 1st...
Assume that you have recently been given the firm, A. Sedeno, as a gift from 1st January, 2020. You are required to create a new retail merchandise company. Use the information below to assist you in preparing a proper financial accounting report after the first month of operations. 1. Open all accounts in the appropriate Ledgers. 2. Balance all accounts and extract a Trial Balance. R. Sedeno had the following assets and liabilities on 31st December, 2019. Items                                                  $                      Items                         ...
Assume that you have a Saudi league player database. In this database, you have a table containing players’ attributes
Assume that you have a Saudi league player database. In this database, you have a table containing players’ attributes such as (Name, age, position, etc.) and you decided to add information about players’ agents. Would you represent the agent information as attributes in the player table or would you create an entity set for players’ agents? Justify your answer.
Problem 8-3 Black-Scholes Model Assume that you have been given the following information on Purcell Industries:...
Problem 8-3 Black-Scholes Model Assume that you have been given the following information on Purcell Industries: Current stock price = $16 Strike price of option = $11 Time to maturity of option = 4 months Risk-free rate = 8% Variance of stock return = 0.14 d1 = 1.965949 N(d1) = 0.975348 d2 = 1.749924 N(d2) = 0.959934 According to the Black-Scholes option pricing model, what is the option's value? Round your answer to the nearest cent. Binomial Model The current...
You have been given the job of evaluating the following merger candidate. You have collected the...
You have been given the job of evaluating the following merger candidate. You have collected the following cash flow for the acquisition candidate for the proposed merger (in millions): Year                                                                1                              2                               3                               4                               5__ Cash flows now for canidate 90                            85                               205                            165                            180 Additional cash flows with merger 60                            90                               100                            225                            250 Total cash flows with synergy 150                            175                            305                            390                            430 Risk free rate of return                                                                                                                 3.0% Beta for this project (the company after merging)                                                        ...
You are given the following three stocks and you have been asked to propose a portfolio...
You are given the following three stocks and you have been asked to propose a portfolio for a wealthy client. The client wants either a 2 asset (A-B, B-C, or A-C) or a 3 asset(A-B-C) portfolio. In any case, the portfolios must be equal weighted. Which of the four portfolios do you suggest to the client? Why? Show your work step by step. Stocks Mean Return Std of Return X 1.5 4 Y 4 8 Z 7 1 Correlations X...
You are an employee of University Consultants. Ltd., and have been given the following assignment. You...
You are an employee of University Consultants. Ltd., and have been given the following assignment. You are to present an investment analysis of a new small residential income producing property for sale to a potential investor. The asking price for the property is $1, 250,000; rents are estimated at $200,000 during the first year and are expected to grow at 3 percent per year thereafter. Vacancies and collection losses are expected to be 10 percent of rents. Operating expenses will...
You are given the following three stocks and you have been asked to propose a portfolio...
You are given the following three stocks and you have been asked to propose a portfolio for a wealthy client.  The client wants either a 2 asset (A-B, B-C, or A-C) or a 3 asset(A-B-C) portfolio. In any case, the portfolios must be equal weighted.  Which of the four portfolios do you suggest to the client? Why? Show your work step by step. Stocks Mean Return Std of Return X 1.5 4 Y 4 8 Z 7 1 Correlations X and Y...
You are an employee of University Consultants, Ltd and have been given the following information. You...
You are an employee of University Consultants, Ltd and have been given the following information. You are to present an investment analysis of a new small income-producing property for sale to a potential inventor. The asking price for the property is $8.5 million. You determine that the building was worth $7.225 million and could be depreciated over 39 years (use 1/39 per year). NOIs are estimated to be $901,375 for year 1, $900,681 for year 2, $899,962 for year 3,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT