What are the possible candidate keys of relation

Assignment Help Other Subject
Reference no: EM132991270

Assignment

Question 1. We have the schema R = (A, B, C, D, E) with the following set F of functional dependencies.

F = { A → B, C → D, AC → E }

1) What is (or are) a candidate key (or candidate keys)? (Explain how to compute it or them)

2) R is in 2NF? (Yes or No), and Why?

3) If R is not in 2NF, give a lossless-join decomposition into 2NF of schema R. (Show details).


Question 2. We have the schema R = (A, B, C, D, E) with the following set F of functional dependencies.

F = { CD → E, BD → AC, C → A }

1) What is (or are) a candidate key (or candidate keys)? (Explain how to compute it or them)

2) R is in BCNF? (Yes or No), and Why?

3) If R is not in BCNF, give a lossless-join decomposition into BCNF of schema R. (Show details).

Question 3. Consider the following set F of functional dependencies on the relation schema r = (A, B, C, D, E):

F = { B → CD, C → AE, E→B }

1) What is (or are) a candidate key (or candidate keys)? (Explain how to compute it or them).

2) r is in 3NF? (Yes or No), and Why?

3) If r is not in 3NF, give a lossless-join decomposition into 3NF of schema R. (Show details).

Question 4. Consider the relation:
Let us consider a relation TEACHERS below. This relation stores information regarding different teachers in a School working in different departments hence teaching different subjects. This relation has three attributes. The first attribute stores the information regarding Department in which the teacher works. The second attribute stores the names of the teachers. And the third attribute stores the subjects the teachers teach. You need to answer the following questions based on the only values in the table below.

Department (A)

Teacher Name (B)

Subject (C)

Computer

John

IT

Computer

Smith

IT

Computer

Mary

C++

Maths

Tom

Calculus

Maths

Tom

Geometry

Maths

Elizabeth

Algebra

1) Based on a common-sense understanding of the above data, what are the possible candidate keys of this relation? You need to consider 4NF definition.

2) Is there any functional dependency in the above?

3) What are the multivalued dependencies in the above?

4) What will the final decomposition look like? You need to use 4NF decomposition algorithm.

Note: Need only Question 2, 3, 4.

Reference no: EM132991270

Questions Cloud

What would be the best option : You receive a cash bonus, but your employer gives you two options: receive $8,000 right now or $10,000 two years from now. What would be the best option
Describe a research methodology : Describe a research methodology that the organization may utilize to conduct research about risk management practices by summarizing the specific steps in the m
Calculate jack maranda gross pay : Jack Maranda works as a janitor in a hospital and earns a wage rate of $17.00 per hour. Calculate Jack Maranda gross pay
Was it a good decision to increase advertising expenses : Was it a good decision to increase advertising expenses? Suppose that the contribution margin ratio is now 0.4. Would it be a good decision to increase
What are the possible candidate keys of relation : What are the possible candidate keys of this relation? You need to consider 4NF definition - What are the multivalued dependencies in the above
What were the firm net cash flows to common shareholders : What were the firm's net cash flows to common shareholders (i.e., "dividends" as defined in the dividends-based valuation model) for the year
What is the cost of goods sold for the year ended : Administrative expense and selling expense are $380,000 and $280,000, respectively. What is the cost of goods sold for the year ended 30 June 2021
What must be the minimum number of days per year : Daily operating cost using this equipment is P500. Second alternative is to rent another equipment for P1,500 per day. What must be the minimum number of days
Share experiences from your life and career : a. Share experiences from your life and career where the traditional curriculum dictated what took place.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd