Question

In: Computer Science

Section D – BCNF Decomposition For each question in this section, you are required to decompose...

Section D – BCNF Decomposition

For each question in this section, you are required to decompose the given relation into BCNF form
and state any new relations created in the process with their functional dependencies and identify any
functional dependencies which are lost during the decomposition. You must show your working using
the tree method presented in tutorials. Consider the functional dependencies in the order presented
in the question.

Question 1
R [A, B, C, D, E, F, G, H, I, J]
{A} -> {B, C}
{B} -> {D, E, F}
{C} -> {G, H, I}
{H, I} -> {F, J}

Question 2
R [A, B, C, D, E, F, G, H]
{A, B, C} -> {D, E, F, G}
{G, H} -> {A, B, C}
{C} -> {H}

Section E – 3NF Decomposition
Question 1
Based on the following relational schema and functional dependencies, find minimal cover for
relation R.
R [A, B, C, D, E, F, G, H, I, J, K, L, M, N]
{A} -> {C, D, F, G}
{B} -> {E}
{A, G} -> {J, C}
{D, E, B} -> {H, I, J}
{J} -> {K, L, M}
{M} -> {N}

Question 2
The minimal cover has been provided below for a given relation with a set of functional
dependencies. Using the minimal cover, normalise the relation to 3NF such that all functional
dependencies are preserved.


R [A, B, C, D, E, F, G, H]
{A} -> {D, F}
{B} -> {G, E}
{F, G} -> {H}
Minimal Cover: {
{A} -> {D}, {B} -> {G}, {B} -> {E}, {A} -> {F}, {F, G} -> {H}
}

Solutions

Expert Solution

BCNF- Boyce-Codd Normal Form or BCNF is an extension to the third normal form, and is also known as 3.5 Normal Form. For a table to satisfy the Boyce-Codd Normal Form, it should satisfy the following two conditions:

  1. It should be in the Third Normal Form.
  2. And, for any dependency A → B, A should be a super key.

3-NF- A relation is in 3NF if at least one of the following condition holds in every non-trivial function dependency

X –> Y:

  1. X is a super key.
  2. Y is a prime attribute (each element of Y is part of some candidate key).

Now coming to the answer-


Related Solutions

Section D (20%) – Essay Question Answer the question in this section. The question carries 20...
Section D (20%) – Essay Question Answer the question in this section. The question carries 20 marks. Question D1 “The Federal Reserve, saying “the coronavirus outbreak has harmed communities and disrupted economic activity in many countries, including the United States,” cut interest rates to essentially zero on Sunday and launched a massive $700 billion quantitative easing program to shelter the economy from the effects of the virus……….” PUBLISHED SUN, MAR 15 2020 Critical evaluate the short term and long term...
Question. Programming question: Dimension Reduction In this question, you are asked to run Singular Value Decomposition...
Question. Programming question: Dimension Reduction In this question, you are asked to run Singular Value Decomposition (SVD) on Fashion-MNIST data set, interpret the output and train generative classifiers for multi- nomial classification of 10 classes. For the Fashion-MNIST data set, you can find more details in the original GitHub website or Kaggle website. In this assignment, you are allowed to use a library implementation of SVD. For python users, we recommend scikit-learn’s implementation TruncatedSVD. Tasks: ?Load the training and test...
Question. Programming question: Dimension Reduction In this question, you are asked to run Singular Value Decomposition...
Question. Programming question: Dimension Reduction In this question, you are asked to run Singular Value Decomposition (SVD) on Fashion-MNIST data set, interpret the output and train generative classifiers for multi-nomial classification of 10 classes. For the Fashion-MNIST data set, you can find more details in the original GitHub website or Kaggle website. Kaggle: https://www.kaggle.com/zalando-research/fashionmnist GetHub: https://github.com/zalandoresearch/fashion-mnist Tasks: ?Load the training and test data sets from fashion-mnist train.csv and fashion- mnist test.csv. Each row uses a vector of dimension 784 with...
THIS QUESTION WAS ANSWERED BEFORE BUT A-D. PLEASE ANSWER SECTION E. There is no mass transit...
THIS QUESTION WAS ANSWERED BEFORE BUT A-D. PLEASE ANSWER SECTION E. There is no mass transit in Cedar Grove, so Letecia’s goats are fascinated with buses and trains now that they live in SoCal. In fact, they spend anywhere between 30 and 150 minutes each day on some form of mass transit or other, and no length of time is any more likely than any other. a. Draw a graph of the distribution of the amount of time that any...
Important: please show work for each question. Thank you! In a previous section of PSY230, the...
Important: please show work for each question. Thank you! In a previous section of PSY230, the second exam was worth 80 points. The scores from that class were normally distributed with a mean (μ ) of 65 and a standard deviation (σ) of 5. If the exam scores were converted to a Z distribution, the distribution would form a perfect bell shape. The following questions require locating individual exam scores on the Z distribution and examine the percentage (or proportion)...
THUMBS UP IF YOU CITE! :D Purpose and Quality Statement: In this section, you will define...
THUMBS UP IF YOU CITE! :D Purpose and Quality Statement: In this section, you will define patient safety and the purpose of a quality plan. - Explain the purpose of implementing a quality plan. In your explanation, consider how accreditation standards drive an organization’s patient safety and quality initiatives. - Determine the healthcare organization’s commitment to patient safety and quality. Consider the mission statement and policies of the organization to guide your answer. - Describe the various stakeholder groups that...
1.) use partial fractions to decompose each into a fraction with a linear factor in the...
1.) use partial fractions to decompose each into a fraction with a linear factor in the denominator: a.) 2/(x+1)(x+2) b.) 2/(y)(100-y) c.) y/(y)(100-y) d.) 5/x(x+1)(x-2) e.) 2x+3/x(x+1)(x-2) f.) x^2/x(x+1)(x-2) 2. Consider the ODE model for population growth: a. Use separation of variables to determine the solution. b. What is the value of y(1)? c. What is the value of y(10)? d. At what time will the population reach 100? At what time will it reach 1000? 3. Consider the logistic...
Section D: Pay for Performance and Financial Incentives Assume that you are applying for a job...
Section D: Pay for Performance and Financial Incentives Assume that you are applying for a job as Front-Office Manager in the InterContinental Hotels Group and are at the point of negotiating salary and incentives. D-1. List five specific behaviors that you think hotels should use to incentivize for hotel managers vs housekeepers? D-2. Describe the incentives package you would try to negotiate for yourself. Make sure to include long-term and short-term incentives and describe the advantages and disadvantages of both....
MATLAB QUESTION HOW TO FOLLOW TO EACH STEPS PLEASE GIVE TO EXPLAIN EACH SECTION THANKS! %...
MATLAB QUESTION HOW TO FOLLOW TO EACH STEPS PLEASE GIVE TO EXPLAIN EACH SECTION THANKS! % Section 1 clear variables; close all; clc; % Use the "Run Section" button as you complete this script % Given the matrix A and the vector B A = [ 1 -4 2 -2 3 3 5 2 1]; b = [ -2 3 5]; % Calculate the product of A x B in the space below (grade = 10 points) % Calculate the...
Activity 1 - Network Design Proposal In this section, you are required to write a Network...
Activity 1 - Network Design Proposal In this section, you are required to write a Network Design Proposal. You will need to: 1. Describe the network design scenario that needs to be addressed. 2. Provide a network design solution. 3. Write a complete network design proposal. 4. Develop (implement) a high‐level solution showing important components of the solution using a virtualization tool.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT