POTD 1: FD, F+, Normalization

Due 6-Feb-2024, 12pm/noon EST
Purpose:

You may make a copy of a worksheet and complete this activity, or simply type your answers in any text editor.

You may work alone or with 3-4 students (max size=5) in this course.

  1. Given a relation R(title, year, length, genre, studioName) and a set of FDs
    title year -> length
    title year -> genre
    title year -> studioName   
    
    Are the above FDs equivalent to the following/single FD?
    title year -> length genre studioName
    Yes or No?
  2. Given a relation R(title, year, length, genre, studioName) and the following FD:
    title year -> length
    Is the above FD equivalent to the following FDs?
    title -> length
    year -> length
    Yes or No?
  3. [optional] Consider a relation about people in the United States, including their name, Social Security number, street address, city, state, ZIP code, (phone) area code, and phone number (7 digits). What FD's would you expect to hold? What are the possible candidate keys for the relation?

    To answer this question, you need some real world facts. For example, can the same (phone) area code be used in two states? Can the same ZIP code be associated with two (phone) area codes? Can two people have the same Social Security number? Can they have the same address or phone number?


  4. Consider the following relation and functional dependencies
    R(A, B, C, D)
    FDs = { A -> B, B -> C, B -> D }
    Computer F+
  5. Consider the following relation and functional dependencies
    R = (A, B, C, D, E, F)
    FDs = { B -> AC, C -> D, F -> E } 
    Computer F+
  6. [optional] Give a scenario in which you would choose to decompose a table using 3NF (as opposed to BCNF)
  7. [optional] Give a scenario in which you would choose to decompose a table using BCNF (as opposed to 3NF)

Grading rubric

[Total: 10 points]: Done (or provide evidence of your attempt, full or reasonable effort)

(-2.5 points) for 24 hours late (submitted after 6-Feb-2024 12pm EST, by 7-Feb-2024 12pm EST)
(-5 points) for 48 hours late (submitted after 7-Feb-2024 12pm EST, by 8-Feb-2024 12pm EST)


Submission



Copyright © 2024 Upsorn Praphamontripong
Released under the Creative Commons License CC-BY-NC-SA 4.0 license.
Last updated 2024-02-03 16:23