• 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 14 pages
Exam (elaborations)

INF2603 Assignment 2 DUE 27 September 2024

Document preview thumbnail
Preview 2 out of 14 pages

With clear and concise explanations, this document serves as an invaluable study resource, helping students grasp complex concepts with ease.

Content preview

INF2603
ASSIGNMENT 02
DUE 27 September 2024
Unique number: 286114

, QUESTION 1



a.

Redundancy in a database occurs when the same piece of data is stored in multiple
places. This duplication can lead to several problems:

1. Inconsistency: When data is duplicated, there's a risk that the copies may
become inconsistent if one instance is updated while the others are not.
2. Increased Storage Costs: Storing multiple copies of the same data takes up
more space, leading to increased storage costs.
3. Maintenance Overhead: Keeping all copies of the data synchronized requires
additional effort and resources.
4. Data Integrity Issues: Redundancy can lead to difficulties in ensuring the
accuracy and completeness of data, potentially resulting in errors.

b.

A relation is in Third Normal Form (3NF) if it is in Second Normal Form (2NF) and no
transitive dependencies exist. A relation is in Boyce-Codd Normal Form (BCNF) if it
is in 3NF and for every functional dependency A→BA \rightarrow BA→B, AAA is a
superkey.

Example: Consider a table with attributes: StudentID, CourseID, ProfessorID, and
ProfessorName, where:

• StudentID, CourseID → ProfessorID, ProfessorName
• ProfessorID → ProfessorName

3NF but not BCNF: The table is in 3NF because:

• StudentID, CourseID → ProfessorID, ProfessorName (composite key)
• ProfessorID → ProfessorName (no transitive dependency with a non -
superkey)

However, it is not in BCNF because:

• ProfessorID → ProfessorName, and ProfessorID is not a superkey.

BCNF: To convert this to BCNF, decompose the table into:

• Table 1: (StudentID, CourseID, ProfessorID)
• Table 2: (ProfessorID, ProfessorName)

Now both tables meet BCNF requirements.

c.

Connected book
 image
Publisher: 2014 ISBN: 9780717160433 Edition: Unknown

Document information

Uploaded on
June 28, 2024
Number of pages
14
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
R47,54

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.
LectureLab
3,6
(89)
Sold
713
Followers
188
Items
1593
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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