Question

Exercise #4 Using the Functional Dependencies, F = {A → BC ; CD → E ;...

Exercise #4
Using the Functional Dependencies,
F = {A → BC ; CD → E ; B→D ; E→A}
a) Compute the closure of F (F+).
b) Is true / false : F ⊨  E → BC?
c) Provide the minimal cover Fc (min(F)) using steps shown in the class.
d) List of the candidate keys for R

Homework Answers

Answer #1

Hey, let's solve each of your question one by one.

We have given some Functional dependecies as -

F = {A → BC ; CD → E ; B→D ; E→A}

a) Closure of F: For calculating the closure of F, we need to calculate the attribute closure of F as -

(A)+ = {A, B, C, D, E}

(B)+ = {B, D}

(C)+ = {C}

(D)+ = {D}

(E)+ = {A, B, C, D, E}

(CD)+ = {A, B, C, D, E}

From the above closures, we can see the closure of A, E, CD can derive all the attributes.

b) F: E -> BC is True/False

So we have F: E -> BC

Let's get in to the relation to see if this is true or not.

We have

E - > A , and also,

A -> BC

So, As we study in the transitive rule,

if A determines B and B determine C, then A must also determine C.

Hence by applying the transitive rule here, we can say that

E → BC is true

C)

Steps to find canonical cover -

  1. The left side of each functional dependency in F is unique which means the attributes on the left shouldn't be same.
  2. No attributes in the left side or right side of any functional dependency is extraneous which means there shoud not be any extra dependency which doesn't in need.
  3. Hence, In the our question, the canonical cover Fc is equal to F.

d) So Here we need to find the candidate key:

  • So candidate keys are those mimimal super keys that have capability to derive all the attributes.
  • As in the First Question we saw that A, E, CD can derive all the attribute -

(A)+ = {A, B, C, D, E}

(B)+ = {B, D}

(C)+ = {C}

(D)+ = {D}

(E)+ = {A, B, C, D, E}

(CD)+ = {A, B, C, D, E}

Hence, candidate key for relation R are - {A, E, CD}.

I hope you liked the answer, Please give me upvote if this answer helps you.

Thanks

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
4. Consider the relation schema R(ABCDE) with the set of functional dependencies F={B→E, A→B, DE→C, D→A,...
4. Consider the relation schema R(ABCDE) with the set of functional dependencies F={B→E, A→B, DE→C, D→A, C→AE}. For the following relations resulting from a possible decomposition of R, identify the non-trivial functional dependencies which can be projected to each of the decomposed relations. a) S(ABC) b) T(BCE) c) U(ABDE
Section B. For each question in this section, you are required to list all possible candidate...
Section B. For each question in this section, you are required to list all possible candidate keys for the given schema based on the functional dependencies provided. You may wish to compute the closure of your key(s) to confirms they are valid. Question 1 R [A, B, C, D, E, F, G, H, I, J] {A} -> {B} {C} -> {B} {B} -> {D, E, F, G, H} {D, F} -> {I, J, A} Question 2 R [A, B, C,...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the alphabetical order priority list above, if the jobs are scheduled on 3 processors, what is the completion time? (b) If the decreasing time algorithm is used to schedule the jobs on 3 processors, what is the completion time? (c) If the decreasing time algorithm is used to schedule the jobs on 3 processors, which is the second job scheduled on processor 1? A B...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the...
You are given the independent jobs A(5), B(7), C(10), D(12), E(6), F(4), G(3). (a) Using the alphabetical order priority list above, if the jobs are scheduled on 3 processors, what is the completion time? (b) If the decreasing time algorithm is used to schedule the jobs on 3 processors, what is the completion time? 21 Incorrect: Your answer is incorrect. (c) If the decreasing time algorithm is used to schedule the jobs on 3 processors, which is the second job...
A&F Hardware Inc. manufactures hammers and shovels from steel and wood using both skilled and unskilled...
A&F Hardware Inc. manufactures hammers and shovels from steel and wood using both skilled and unskilled labor. The following table gives the profit generated per unit, as well as the amount of wood, steel, skilled labor and unskilled labor required, per unit of each product along with their maximum monthly limits in terms of availability. Hammers Shovels Max Monthly Limit Profit $9.59 per unit $12.6 per unit Wood Required $1.55 ft. per unit $3.15 ft per unit 2000 feet Steel...
. Using financial leverage: All of the following are correct except: a. results in a fixed...
. Using financial leverage: All of the following are correct except: a. results in a fixed charge that may materially affect earnings available to common shareholders. b. decreases risk to the firm as interest rates rise and returns to shareholders decrease. c. may be favorable when earnings generated by use of borrowed funds exceeds borrowing costs. d. requires reviewing planned business transactions for the potential impact they may have on operating income and the ability to cover fixed interest charges....
Practice using EXCEL – Part of your Orientation Assignment to prepare for class on the first...
Practice using EXCEL – Part of your Orientation Assignment to prepare for class on the first day. Step by Step instructions on completing PR1-5B. BEFORE STARTING TO WORK THE PROBLEM YOU NEED TO WRITE ALL BALANCE FORMULAS. To do so do the following in order. Click on Cell D39. In D39 you will write a formula to add rows D37 and D38. To do so do the following: a)    Start in Cell D39 and press = sign b)    Highlight cell...
Circle the letter that corresponds to the best answer for each question. 1.     Which of the...
Circle the letter that corresponds to the best answer for each question. 1.     Which of the following statements concerning the nursing process is accurate? a.     The nursing process is nurse oriented. b.    The steps of the nursing process are separate entities. c.     The nursing process is nursing practice in action. d.    The nursing process comprises four steps to promote patient well-being. 2.     Which of the following groups legitimized the steps of the nursing process in 1973 by devel- oping standards...
Part I. Indicate whether true or false (T or F). ____ Storm water detention ponds typically...
Part I. Indicate whether true or false (T or F). ____ Storm water detention ponds typically are designed to regulate the outflow peak rate at or below a single target value, such as the pre-development (pre-land use change) peak runoff rate for a specified return period event. Detention storage alters the peak but not the volume of the outflow hydrograph. _____ Typical rating curves for weirs are concave upward. Typical rating curves for orifices are concave downward. ____ A sediment...
QUESTION 1 1. Brianna is trying to increase her chances of being promoted to vice president...
QUESTION 1 1. Brianna is trying to increase her chances of being promoted to vice president by working to build good work relationships with other managers outside her own department. Brianna's behavior should be viewed as dysfunctional politics. functional politics. coercive power. functional influence. 2 points QUESTION 2 1. The Gingerbread Factory has a separate unit that makes their chocolate crunch cookies and another unit that is completely responsible for all operations in producing their ginger snap cookies. The Gingerbread...