Dependencies can you infer does not hold over relation s

Assignment Help Database Management System
Reference no: EM13509377

1.JDs are motivated by the fact that sometimes a relation that cannot be decomposed into two smaller relations in a lossless-join manner can be so decom-posed into three or more relations. An example is a relation with attributes supplier, part, and project, denoted SPJ, with no FDs or MVDs. The JD ;: {SP, PJ, JS} holds.

From the JD, the set of relation schemes SP, PJ, and JS is a lossless-join decomposition of SPJ. Construct an instance of SPJ to illustrate that no two of these schemes su?ce.

2.Suppose that we have the following four tuples in a relation S with three attributes ABC: (1,2,3), (4,2,3), (5,3,3), (5,3,4). Which of the following functional (→) and multivalued (→→) dependencies can you infer does not hold over relation S?

1. A → B

2. A →→ B

3. BC → A

4. BC →→ A

5. B → C

6. B →→ C

3.Suppose that B → C. Is the decomposition of R into R1 and R2 lossless-join? Reconcile your answer with the observation that neither of the FDs R1 ∩ R2 → R1 nor R1 ∩ R2 → R2 hold, in light of the simple test o?ering a necessary and su?cient condition for lossless-join decomposition into two relations in Section 15.6.1.

4.Suppose you are given a relation R(A,B,C,D). For each of the fol-lowing sets of FDs, assuming they are the only dependencies that hold for R, do the following: (a) Identify the candidate key(s) for R. (b) State whether or not the pro-posed decomposition of R into smaller relations is a good decomposition and brie?y explain why or why not.

1. B → C, D → A; decompose into BC and AD.

2. AB → C, C → A, C → D; decompose into ACD and BC.

3. A → BC, C → AD; decompose into ABC and AD.

4. A → B, B → C, C → D; decompose into AB and ACD.

5. A → B, B → C, C → D; decompose into AB, AD and CD.

5.Consider the attribute set R = ABCDEGH and the FD set F = {AB → C, AC → B, AD → E, B → D, BC → A, E → G}.

a. For each of the following attribute sets, do the following: (i) Compute the set of dependencies that hold over the set and write down a minimal cover. (ii) Name the strongest normal form that is not violated by the relation containing these attributes. (iii) Decompose it into a collection of BCNF relations if it is not in BCNF.

(a) ABC, (b) ABCD, (c) ABCEG, (d) DCEGH, (e) ACEH

b. Which of the following decompositions of R = ABCDEG, with the same set of dependencies F, is (a) dependency-preserving? (b) lossless-join?

(a) {AB, BC, ABDE, EG }

(b) {ABC, ACDE, ADG }

Reference no: EM13509377

Questions Cloud

What are the journal entries for dec 31 portion : The Mchenry company purchased a truck for 54,000 on Jan 4, 2010. Paid $275.00 in Feb for oil change Dec 31 record the depreciation on the truck for the fisical year. The estimated useful life of the truck is 8 years witha residual value of $12,000..
Prepare the december 2009 journal entries to record : Prepare the December 2009 journal entries to record the newsstand sales and subscriptions received. (assume that the debit is to cash)
Statement of financial position as at 31st december : Prepare a Statement of Financial Position as at 31st December 2014 and a Statement of Comprehensive Income for the year to date.
Determine the magnitude of the thrust force : A jet plane is flying with a constant speed along a straight line, at an angle of 30.0? above the horizontal. The plane has a weight W? of magnitude 86,500N, What is the magnitude of the thrust force
Dependencies can you infer does not hold over relation s : From the JD, the set of relation schemes SP, PJ, and JS is a lossless-join decomposition of SPJ. Construct an instance of SPJ to illustrate that no two of these schemes su?ce.
Manage demand for small change across functional areas : -Manage demand for small change across functional areas from production to live lifecycle software and application projects
Prepare income statement for the year ended 30th june : Prepare an income statement for the year ended 30th June 2014 given the following account balances. Note: Some accounts may not be relevant.
What is the velocity of the bowling ball : A 9.0 kg bowling ball races down the lane at 15 m/s before striking a bowling pin (at rest) with a mass of .85 kg. what is the velocity of the bowling ball after the collision
Explain lone company trial balance : Journalize the transactions for the company. Lone uses a perpetual inventory system. (record debits first then credits)

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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