• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 61 pages
Exam (elaborations)

CS 430 Midterm #2 Study Guide Solutions

Document preview thumbnail
Preview 4 out of 61 pages

CS 430 Midterm #2 Study Guide Solutions Axioms, or rules of inference, provide a simpler technique for reasoning about functional dependencies. - ANSWERTrue If a relation r is legal under a set F of functional dependencies, we say that r satisfies F. - ANSWERTrue Some functional dependencies are said to be BLANK because they are satisfied by all relations. - ANSWERtrivial It is always possible to decompose a relation into 3NF form that is both lossless join and dependency preserving. - ANSWERTrue If we wish to constrain ourselves to relations on schema R that satisfy a set F of functional dependencies, we say that F BLANK on R. - ANSWERholds In general, the goal of a relational database design is to generate a set of relation schemas that allows us to store information without unnecessary redundancy and yet allows us to retrieve information easily. - ANSWERTrue ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 2/61 A relation schema R is in third normal form with respect to set F of functional dependencies, if for all functional dependencies in F+ of the form A - B where A is a subset of R, B is an attribute of R, and at least on e of the following holds: * A - B is a trivial functional dependency * A is a superkey for R. * B is part of a key for R. * B is a superkey for R. * A is part of a key for R. - ANSWERA - B is a trivial functional dependency A is a superkey for R. B is part of a key for R. A functional dependency is a form of an integrity constraint. - ANSWERTrue Consider the following relation. Check all the answers

Content preview

©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




CS 430 Midterm #2 Study Guide Solutions


Axioms, or rules of inference, provide a simpler technique for reasoning about functional dependencies.

- ANSWER✔✔True


If a relation r is legal under a set F of functional dependencies, we say that r satisfies F. -

ANSWER✔✔True


Some functional dependencies are said to be BLANK because they are satisfied by all relations. -

ANSWER✔✔trivial


It is always possible to decompose a relation into 3NF form that is both lossless join and dependency

preserving. - ANSWER✔✔True


If we wish to constrain ourselves to relations on schema R that satisfy a set F of functional dependencies,

we say that F BLANK on R. - ANSWER✔✔holds


In general, the goal of a relational database design is to generate a set of relation schemas that allows us

to store information without unnecessary redundancy and yet allows us to retrieve information easily. -

ANSWER✔✔True




Page 1/61

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




A relation schema R is in third normal form with respect to set F of functional dependencies, if for all

functional dependencies in F+ of the form A -> B where A is a subset of R, B is an attribute of R, and at

least on e of the following holds:




* A -> B is a trivial functional dependency


* A is a superkey for R.


* B is part of a key for R.


* B is a superkey for R.


* A is part of a key for R. - ANSWER✔✔A -> B is a trivial functional dependency


A is a superkey for R.


B is part of a key for R.


A functional dependency is a form of an integrity constraint. - ANSWER✔✔True


Consider the following relation. Check all the answers below that hold for this table.




A|B|C|D


Page 2/61

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




a1 | b1 | c1 | d1


a2 | b3 | c1 | d2


a3 | b1 | c1 | d3


a2 | b7 | c1 | d5




* ABD -> C


* D -> ABC


* AB -> D


* AB -> CD


* B -> A


* A -> BC


* BC -> AD - ANSWER✔✔ABD -> C


D -> ABC


AB -> D




Page 3/61

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




AB -> CD


Consider the relation R with attributes: A, B, C, D, E, and F. Let S be a set of functional dependencies in R

such that S = { A -> B, CD -> E, C -> D}. Which of these attributes are in the closure of {A, C, F}+?




A


B


C


D


E


F - ANSWER✔✔A


B


C


D


E


F

Page 4/61

Document information

Uploaded on
October 30, 2024
Number of pages
61
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Emillect
3.0
(4)
Sold
34
Followers
2
Items
2999
Last sold
4 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions