100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INF2603 Assignment 2 DUE 27 September 2024 $2.79   Add to cart

Exam (elaborations)

INF2603 Assignment 2 DUE 27 September 2024

 29 views  2 purchases
  • Course
  • Institution
  • Book

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

Preview 2 out of 14  pages

  • June 28, 2024
  • 14
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
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.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller GeniusGears. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $2.79. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73773 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$2.79  2x  sold
  • (0)
  Add to cart