Convert to a group of tables in first normal form

Assignment Help Database Management System
Reference no: EM132356138

Normalization Assignment -

Normalization Exercise 1: For each of the following tables

  • Convert to a group of tables in first normal form.
  • Show the primary key of each table.
  • Show the foreign key of each table (and what table it points to).

Normalization Exercise 2: Consider the following table- With some sample data shown(assume each order can contain various numbers of different products, but is placed by one customer on one date), and

  • determine the functional dependencies
  • determine the primary key
  • determine if there are any partial dependencies
  • convert to 2nd N.F. Show all keys (primary and foreign)

Normalization Exercise 3: Consider the following table involving course info and the grades given in those courses, and

  • determine the functional dependencies
  • determine the primary key
  • determine if there are any partial dependencies
  • convert to 2nd N.F. Show all keys (primary and foreign)

Normalization Exercise 4: Given the follow table T(A,B,C,D,E,F,G)

Suppose we have the following dependencies: A+B---> C; A+B--->F; A--> D; A--->E; B--> G

a) What is the primary key? (the minimum attributes that determine all the other attributes)

b) What are the partial dependencies?

c) Convert to set of tables in 2nd N.F. Indicate primary and foreign keys.

Normalization Exercise 5: Consider the following table (with each order going to a single customer and shipped from one warehouse)

Order(ordNum,date, warehouseNum, warehouseLoc, custNum, custName)

Or55 1/1/07 w5 NY C55 Acme

Or66 1/1/07 w3 WC C66 IBM

Or77 4/4/07 w5 NY C77 Intel

Or88 4/12/07 w3 WC C55 Acme

a) What are the functional dependencies of the order table?

b) What is the primary key?

c) Why must it be in 2nd Normal Form?

d) Is it in 3rd Normal Form? Explain (any dependencies not involving candidate keys?)

e) Convert to 3rd N.Form. Indicate primary and foreign keys.

Normalization Exercise 6: Consider the following table with the given dependencies.

T(A,B,C,D,E,F,G) E->G; B->C,A; D->A,B,C,E,F,G

a) What is the primary key?

b) Why must it be in 2NF? (Why can't there be any partial dependencies)

c) Is it in 3NF (any dependencies involving attributes that are not candidate keys)?

d) Convert to a set of tables in 3NF. Indicate primary and foreign keys.

Normalization Exercise 7: Consider the following table and dependencies

T(A,B,C,D,E,F,G,H) D+E---> A,B,C; D-->F;E-->G,H;H-->G

a) What is the key?

b) Are there any partial dependencies? List them!

c) Is T is 2nd Normal form?

d) Convert to a group of tables in 2nd N.F

e) Are the tables in part C in 3rd N.Form? Explain.

f) Convert to 3rd N. Form.

Normalization Exercise 8: Consider the table involving a chain of bookstores, books and publishers

  • each branch can sell a book at what ever Selling-price they want
  • each book has a (preset, fixed) list price
  • each book is published by a single publisher

(BranchNum, BranchAddr, BkNum, Tittle, PubNum, PubName, List-Price, InStock, list-Price, Selling-Price)

a) What are the functional dependencies?

b) If we keep everything in this one table what is the primary key?

c) Is the table in 2nd N.F.?

d) List any dependencies which involve part of the primary key (partial dependencies)?

e) Convert to a set of tables in 2nd N.F. (show the primary key of each table)

f) Is the table in 3rd N.F?

g) List any dependencies that don't involve the candidate keys.

h) Convert to a set of tables in 3rd N.F. Show all primary and foreign keys.

Attachment:- Normalization Assignment File.rar

Reference no: EM132356138

Questions Cloud

Design and implement a program that prints the number of odd : Design and implement a program that prints the number of odd, even, and 0 digits in an integer value that it reads from the keyboard.
Calculate and returns the new number of items in a queue : Calculates and returns the new number of items in a queue based on the given arrivals, departures, and items already waiting in the queue.
Developing and implementing a code of ethics : Review Table 8-4 "Developing and Implementing a Code of Ethics" (Chapter 8). Outline a plan for implementing a training and development program in your current.
Describe in-groups and in-group favoritism : Describe in-groups and in-group favoritism. How can manager control negative effects of in-group formation? What are common characteristics of effective team.
Convert to a group of tables in first normal form : Normalization Exercise 1: For each of the following tables - Convert to a group of tables in first normal form. Show the primary key of each table
Determine the fundamental ways to prevent the scandals : Determine the fundamental ways in which the NCAA's ethics program failed to prevent the scandals at Penn State, Ohio State, and the University of Alaska.
Evaluation of all the modeling and forecasting strategies : Evaluation of all the modeling and forecasting strategies undertaken as brainstorming solutions and so forth. Explain data analytic approach to tackle business.
Define a function that takes in a list of numbers : Define a function that takes in a list of numbers as an argument. Your function will iterate through the list with a for loop and return the smallest.
Discuss an data analysis win or challenge : Find a recent article in the Wall Street Journal (or other reputable news source) that discusses an data analysis win or challenge that a company has gone.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd