Question

In: Computer Science

QUESTION 4 Which of the two choices below are the reasons why the relation below is...

QUESTION 4

  1. Which of the two choices below are the reasons why the relation below is not BCNF.

    in_dep (ID, name, salary, dept_name, building, budget )

    with a functional dependency dept_name --> building, budget

    dept_name is not a superkey

    dept_name --> building, budget is not a trivial dependency

    id --> name, salary, dept_name is also a functional dependency

    It is not 3NF

QUESTION 5

  1. in_dep (ID, name, salary, dept_name, building, budget )

    Choose the following decompositions of in_dep into BCNF when

    dept_name->building, budget  causes a violation of BCNF.

    id, name, salary, dept_name

    id, name, salary

    dept_name, building, budget

    salary, dept_name, budget

QUESTION 6

  1. List the advantages of 3NF over BCNF

    Can always preserve functional dependencies

    Ensures no losslessness

    It's a subset of BCNF

    It's stricter

Solutions

Expert Solution

Question 1) Answer Option B and D

Reason: Option A is correct because dept_name is a superkey and in order to be in BCNF the first element should be a superkey

Option B is incorrect because building and budget is a trivial dependency and it should not be there

Option C is correct because the given values are functional dependency

Option D is incorrect because it cannot be in BCNF. Since it is not in 3NF

question 2) Answer Option D

Reason: Option D is correct and all the option are wrong because salary, dept_name and budget if there are any violation in BCNF then the following given data will be decomposed into these values only.

Question 3) Option A

Reason: Option A is correct because 3NF can always preserve functional dependency

Option B is incorrect because it ensures loselessness

Option C is incorrect because being a subset of BCNF is not an advantage for 3NF.

Option D is incorrect because it is not stricter than BCNF

If you liked the solution then give a thumbs up ? it will be really appreciated ?


Related Solutions

Which of the below are possible reasons for why some IPOs are underpriced [i.e., the price...
Which of the below are possible reasons for why some IPOs are underpriced [i.e., the price rises a lot on the first day]? It is necessary to compensate investors for risks of buying the security, including both “market timing” by firms and the “winner’s curse” To minimize the underwriter fees paid by the issuer and maximize the amount of capital the firm is able to raise Because of a conflict of interest between underwriters and the issuer Only (a) and...
For Questions 4 and 5, use the list of reasons provided below: List of Reasons for...
For Questions 4 and 5, use the list of reasons provided below: List of Reasons for Intervention Risk Aversion and Risk Trading Monopoly Power or Market Power Negative Externality Positive Externality Public Good Asymmetric Information/Adverse Selection Moral Hazard or Hidden Action. Some insurance companies require individuals to take a blood test before qualifying for lower health insurance premiums. a.Identify the problem that insurance companies are trying to address. Choose from list above. (1 point) b. Briefly explain how the proposed...
1. On a multiple choice test where each question has 4 choices of which only one...
1. On a multiple choice test where each question has 4 choices of which only one is correct you get 1.8 points for a correct answer and you lose .75 points for an incorrect answer. You lose no points nor gain any points if you leave the problem blank. We let the random variable x = points earned from guessing on a question. a) Find the probability distribution for x b) Is guessing a good idea if you cannot eliminate...
Please state two reasons why firms’ market power can reduce consumer welfare and two reasons why...
Please state two reasons why firms’ market power can reduce consumer welfare and two reasons why firms’ market power can have benefits for consumers. Thank you
Question 29 29-Which of the statements below is accurate concerning inter-specific competition? Group of answer choices...
Question 29 29-Which of the statements below is accurate concerning inter-specific competition? Group of answer choices 1-this does not occur because no two species can occupy the same niche 2-This involves competition between members of the same species 3-one party benefits while the other party suffers from the interaction 4-both parties involved in the competition suffer from a loss of energy Question 30 30-A fly (diptera) with the alternating black and yellow pattern of a yellowjacket wasp (Hymenoptera), and yet...
List and describe two reasons why a low dividend payout might be preferred and two reasons...
List and describe two reasons why a low dividend payout might be preferred and two reasons why a high dividend payout might be preferred.
List and describe two reasons why a low dividend payout might be preferred and two reasons...
List and describe two reasons why a low dividend payout might be preferred and two reasons why a high dividend payout might be preferred.
In a multiple choice exam, there are 7 questions and 4 choices for each question (a,...
In a multiple choice exam, there are 7 questions and 4 choices for each question (a, b, c, d). Nancy has not studied for the exam at all and decides to randomly guess the answers. What is the probability that: (please round all answers to four decimal places) a) the first question she gets right is question number 3? b) she gets all of the questions right? c) she gets at least one question right?
The answer choices below represent different hypothesis tests. Which of the choices are left-tailed tests? Select...
The answer choices below represent different hypothesis tests. Which of the choices are left-tailed tests? Select all correct answers. Select all that apply: H0:X=17.3, Ha:X≠17.3 H0:X≥19.7, Ha:X<19.7 H0:X≥11.2, Ha:X<11.2 H0:X=13.2, Ha:X≠13.2 H0:X=17.8, Ha:X≠17
For each relation below, determine the following.(i) Is it a function? If not, explain why not...
For each relation below, determine the following.(i) Is it a function? If not, explain why not and stop. Otherwise, answer part (ii).(ii) What are its domain and image? (a){(x, y) :x, y∈Z, y- 2x}. (b){(x, y) :x, y∈Z, xy- 0}. (c){(x, y) :x, y∈Z, y-x2}. (d){(x, y) :x, y∈Z, x|y}. (e){(x, y) :x, y∈Z, x+y= 0}. (f){(x, y) :x, y∈R, x2+y2= 1}.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT