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

  Discuss the epidemiology of allergies

A 35-year-old comes to the clinic. He states, "It's getting close to allergy season and I need something to keep me from getting sick. Last year the doc gave.

  What you believe to be reflective of a functional

Research and read one HR related journal article or an article from a publication in the field of HRM. The article you select should represent what you believe.

  Discuss the disastrous impact of climate change on habitats

In a recent debate, conservationists are keen to apply the Endangered Species Act to the disastrous impact of climate change on habitats

  Literature review section of your research proposals

By synthesizing your review of individual articles, the Literature Review section of your research proposals. Discuss how the problem has been defined

  Summarize what resources are available to patients

Summarize what resources are available to patients within that aspect's scope. Propose a change that is sensible both clinically and economically.

  My assignment is to make a source analysis of the primary

my assignment is to make a source analysis of the primary historical source which be viewed via the link

  Determine the best form of encryption for a given scenario

Determine the best form of encryption for a given scenario. A human resources manager stores a spreadsheet with sensitive personal information on her local work

  What examples of participative decision making exist

Based on the scientific management theory, what are some of the routines in health care that seem to be inefficient? What examples of participative decision.

  Did you detect more average-sized men than heavy men

Did you detect more average-sized men than heavy men? Were there more muscular men than average-sized or heavy men? If so, what differences did you notice in the characters they played/products they sold

  How would utilize laboratory finding in diagnosing

How would utilize laboratory finding (B12, albumin, vitamin D, and others) in diagnosing malnutrition and potential healing deficits in wound management

  Analyze the effects they have on a viewer

for example, a short film, and a bronze sculpture. In a two page paper, include visual examples of both, and then analyze the effects they have on a viewer.

  Sara''s self-defeating smoking habit

For Sara, cigarettes reduce feelings of tension and anxiety. Because of her heavy smoking, however, she has a bad morning cough and breathing difficulties. How can the principles of operant conditioning help to explain the development and continuatio..

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