Database System Concepts
Database System Concepts
7th Edition
ISBN: 9789332901384
Author: Henry F. Korth & S. Sudarshan Abraham Silberschatz
Publisher: MCGRAW-HILL HIGHER EDUCATION
Expert Solution & Answer
Book Icon
Chapter 7, Problem 30E

a.

Explanation of Solution

To compute B+:

  • To compute B+, the closure of an attribute “B” over a set of functional dependencies “F”, refer the algorithm in Figure 7.19 of the textbook.
  • The result is initialized to {B}.
  • For the first repetition,
    • The condition is not satisfied in first and second functional dependency.
    • The condition B is a subset of {B} is satisfied for the functional dependency BD Hence “D” is added to the result.
      • Therefore, the result = {B,D}.
    • The condition “D” is a subset of {B,D} is satisfied for the functional dependency DA Hence “A” is added to the result

b.

Explanation of Solution

To prove:

“AG” is super key.

Proof:

  • This can be proved by proving the existence of functional dependency so that AGABCDEG It is given that ABCD.
  • The union of the similar sets is the set with itself (AA=A).
  • To get  AABCD, use Armstrong’s augmentation axiom with “A”.
  • BCDE is given and to get ABCDABCDE, use Armstrong’s augmentation axiom with ABCD

c.

Explanation of Solution

Canonical cover:

  • “D” is irrelevant in first and second dependencies because of third dependency.
  • Hence remove the attribute “D” from the first and second functional dependencies to achieve ABC and BCE.
  • According to the sub-part “a”, B+ is computed as {B,D,A,C,E}.
  • The functional dependency BE can be determined from the above set and from this the functional dependency BCE becomes irrelevant

d.

Explanation of Solution

Third Normal Form (3NF) decomposition:

  • In the canonical cover, functional dependency is exists such that the attribute set id is a subset of other dependency.
  • Hence, each functional dependency will generate its own relation.
  • The relations according to the functional dependencies in the canonical cover are,
    • r1(A,B,C)
    • r2(B,D,E)
    • r3(D,A)
  • “G” has to part of all super keys as it is not dependent on any attribute...

e.

Explanation of Solution

Boyce-Codd Normal Form (BCNF) decomposition:

  • To compute the BCNF decomposition of the schema relation “r” using the original set “F” of functional dependency, follow the steps below,
    • For the relation not being in BCNF, the first original functional dependency is responsible.
    • So, according to first functional dependency , the original relation is decomposed as follows,
        ...

Blurred answer
Students have asked these similar questions
Discuss the negative and positive impacts or information technology in the context of your society. Provide two references along with with your answer
A cylinder of diameter 10 cm rotates concentrically inside another hollow cylinder of inner diameter 10.1 cm. Both cylinders are 20 cm long and stand with their axis vertical. The annular space is filled with oil. If a torque of 100 kg cm is required to rotate the inner cylinder at 100 rpm, determine the viscosity of oil. Ans. μ= 29.82poise
Make the following game user friendly with GUI, with some simple graphics The following code works as this: The objective of the player is to escape from this labyrinth. The player starts at the bottom left corner of the labyrinth. He has to get to the top right corner of the labyrinth as fast he can, avoiding a meeting with the evil dragon. The player can move only in four directions: left, right, up or down. There are several escape paths in all labyrinths. The player’s character should be able to moved with the well known WASD keyboard buttons. If the dragon gets to a neighboring field of the player, then the player dies. Because it is dark in the labyrinth, the player can see only the neighboring fields at a distance of 3 units.  Cell Class: public class Cell { private boolean isWall; public Cell(boolean isWall) { this.isWall = isWall; } public boolean isWall() { return isWall; } public void setWall(boolean isWall) { this.isWall = isWall; } @Override public String toString() {…
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education