• 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 2 out of 11 pages
Exam (elaborations)

CS 6400 Exam 4

Document preview thumbnail
Preview 2 out of 11 pages

Exam of 11 pages for the course CS 6400 at CS 6400 (CS 6400 Exam 4)

Content preview

CS 6400 Exam 4
Study online at https://quizlet.com/_g2mf1p

1. Functional De- Let X and Y be sets of attributes in R. Y is functionally dependent on X in R iff for
pendencies each x in RX, there is precisely one y in RY.

_________ determines _______

X --> Y

Email --> BirthYear, CurrentCity, Salary

2. Questions to ask Is this relation laid out in such a manner that it is easy to enforce the functional
about normaliza- dependencies that we want to enforce in the database?
tion
How do we normalize the relation (or decompose into smaller relations) without
information loss and so that the functional dependencies can be enforced?

3. Rules for normal- no redundancy
ization no cluttering of facts
must preserve information
must preserve functional dependencies

4. What is not a rela- Non-first normal form data structures
tion?
can contain multivalued attributes

values of attributes in relations are pulled from sets of atomic values

5. What to do with Repeat the key for each multivalue attribute
multivalued at-
tributes? i.e., if user1 has 3 interests with 3 since ages, turn the 1 row into 3

6. Problems to look Redundancy
for with normal- Insertion anomaly
ization Deletion anomaly
Update anomaly


, CS 6400 Exam 4
Study online at https://quizlet.com/_g2mf1p


7. Redundancy Leads to inconsistency
Database can be useless from the point of view of understanding repetitive fields

8. Insertion anom- occurs when certain attributes cannot be inserted into the database without the
aly presence of other attributes, leads to many NULL values or duplicates

9. Deletion anomaly deleting rows may cause a loss of data that would be needed for other future rows

10. Update anomaly improper database organization where a non-primary key item is stored multiple
times; updating the item in one location and not the others causes data inconsis-
tencies

redundant data may not be properly updated

11. Information loss getting more or less information from decomposing a relation into smaller tables
in normalization that doesn't reflect reality

12. Dependency Loss If we decompose a table into multiple tables, then we cannot enforce the functional
in normalization dependencies, or may lose the ability to enforce them, that are split between the
two relations

dependencies should be together in the tables (Except transitive)

13. A perfect decom- no redundancies
position has no insertion anomalies
no deletion anomalies
no update anomalies
no information loss
no dependency loss

the idea is to decompose and if we need to see the original view, we join the
decomposed tables

Document information

Uploaded on
November 9, 2025
Number of pages
11
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$11.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
waindigrace87
4.0
(2)
Sold
4
Followers
0
Items
1991
Last sold
20 hours 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