Question: Use the following relation & functional dependencies to answer the questions. First Normal Form (1NF): Each relation has a primary key, all attributes are atomic

Use the following relation & functional dependencies to answer the questions.

  • First Normal Form (1NF):

Each relation has a primary key, all attributes are atomic (no repeating groups), and all attributes are Functionally Dependent on the primary key.

  • Second Normal Form (2NF):

Each relation is in 1NF, and there are no Partial Functional Dependencies.

  • Third Normal Form (3NF):

Each relation is in 2NF, and there are no Transitive Functional Dependencies.

Enrollments StudentID FirstName LastName StateCode StateName CourselD Johnson UT Utah Arizona Lopez


Functional Dependencies

StudentID ➡ FirstName, LastName, StateCode

StateCode ➡ StateName

CourseID ➡ CourseName

StudentID, CourseID, Semester ➡ StudentGrade

  1. Describe the data anomalies you would be exposed to if you were to store your data in the table above.
  2. Is the table in First Normal Form (1NF)? If so, what is the Primary Key?
  3. Convert the model to Second Normal Form (2NF).
  4. Convert the model to Third Normal Form (3NF).

Enrollments StudentID FirstName LastName StateCode StateName CourselD Johnson UT Utah Arizona Lopez AZ Wilson CO 4410 4415 Colorado 4420 New York 4430 4440 4460 Sanchez NY Clark TX Wilson CO Texas Colorado Johnson UT Utah 4420 New York 4415 Colorado 4440 1 Kody 2 Willy 3 Lisa 4 5 3 1 4 3 Margaret Joshua Lisa Kody Margaret Sanchez Lisa 5 NY Wilson CO CourseName Information Systems Data Structures & Java Database Fundamentals Systems Analysis & Design Networking & Servers Web Based Applications Database Fundamentals Data Structures & Java Networking & Servers Semester Fall 2019 Fall 2019 Fall 2019 Spring 2020 Spring 2020 Spring 2020 Fall 2020 Fall 2020 Fall 2020 Grade B+ A A- B C+ A- A- B+ B- co

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

StudentID FirstName LastName StateCode StateName CourseID CourseName Semester Grade 1 Kody Johnson UT Utah 4410 Information Systems Fall 2019 B 2 Willy Lopez AZ Arizona 4415 Data Structures and Java F... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!