Normalizationpractice on topic of normalization for each of

Assignment Help Database Management System
Reference no: EM13347245

Normalization

Practice on topic of Normalization

For each of the following questions, give the revised table definition(s).  You must support your definitions with an explanation of why you made the changes.  This explanation must be specific to the current problem, not just a general explanation.

Please  for EACH and EVERY table (including intermediate ones) you MUST underline the primary key AND list all the FDs.

1. Given the following table definition and FD constraints.

Shipment (ShipNum, ShipperName, ShipperContact, ShipperFax, PackageNum, PackDepartureDate, PackArrivalDate, PackDestinaltionCity, PackShipCost, InsuranceValue, InsurerCompany, InsurerAddress)

FDs = {ShipNum → ShipperName, ShipperContact, ShipperFax

PackageNum → PackDepartureDate, PackArrivalDate, PackDestinationCity,    PackShipCost, InsuranceValue, InsurerCompany

            InsurerCompany → InsurerAddress }

Notes: A shipper may be shipping more than one package but each package has only one shipper.

1a. Based on the FDs above, what is the primary key of the table?

1b. Is the table definition in 1NF? Why or why not? If not, convert the table to 1NF table(s).

1c. Is/are the table(s) in 2NF? Why or why not? If not, convert the table(s) to table(s) that are in 2NF. Explain why they are now in 2NF?

1d. Are the tables in 3NF? Why or why not? If not, convert the table to 3NF. Explain why they are now in 3NF?

            1e. List all of the foreign keys in question 1d. Identify them by the table name and state which table(s) and corresponding attribute(s) they relate to

2.  NIU trucking wants to keep track of all of its truck and their base cities.  Given the following relation, produce a normalized set of relations which are normalized up through 3rd normal form. 

TRUCK (TruckNum, TruckType, TypeDesc, TruckMiles, DatePurchased, TruckSerialNum, BaseCity, BaseState, BasePhone, BaseManagerName, ManagerPhone, BasePhone)

Business rules:

1.  A truck is based at a single base.

2.  A base can be the base for many trucks.

2a. List ALL the FDs for the table that hold based upon the descriptions of the constraints above.

2b. Is the table definition in 1NF?  Why or why not?  If not, convert the table to 1NF table(s).

2c. Is/are the table(s) in 2NF?  Why or why not?  If not, convert the table(s) to table(s) that are in 2NF.  Explain why they are now in 2NF? 

2d. Are the tables in 3NF?  Why or why not?  If not, convert the table to 3NF.  Explain why they are now in 3NF?

2e. List all of the foreign keys in question 2d.  Identify them by the table name and state which table(s) and corresponding attribute(s) they relate to.

3.  Ace Manufacturing constructs products for sale.  Each product is identified by a serial number.  Each product is constructed from many other parts which are purchased from a variety of vendors.  Given the following relation, produce a normalized set of relations which are normalized up through 3rd normal form.  Note: in the following relation the prefix Prod indicates Product, Comp indicates Component and Vend indicates Vendor.

Manufacture(ProdSerialNum, ProdName, ProdType, ProdTypeName, Component(CompSerialNum, CompType, CompName, Vendor(VendCode, VendName, VendAddress, CompPrice)* )*, ProdPrice)

Business Rules:

1.  Ace Manufacturing constructs many products.

2.  A product is classified as a certain type.

3.  A product is made up of components. 

4.  Each component can be supplied by many different vendors.

5.  A vendor's components may be found in many different products.

6.  Each vendor may charge a different price for the same component.

3a.  List ALL the FDs for the table that hold based upon the descriptions of the constraints above.

3b. Is the table definition in 1NF?  Why or why not?  If not, convert the table to 1NF table(s).

3c. Is/are the table(s) in 2NF?  Why or why not?  If not, convert the table(s) to table(s) that are in 2NF.  Explain why they are now in 2NF? 

3d. Are the tables in 3NF?  Why or why not?  If not, convert the table to 3NF.  Explain why they are now in 3NF?

3e. List all of the foreign keys in question 3d.  Identify them by the table name and state which table(s) and corresponding attribute(s) they relate to.

4.  Given the following table definition and constraints:

R (A, B, C, D, E, F, G, H, I, J)

 

            FD = { A,B,C,D           → E, F, G, H, I J

                        B, C, D                        → E, F

                        A                      → G, H, I, J

                        E                      → F

                        H, I                  → J }

4a.  Based on the FDs above, what is the primary key of the table?

4b.  Is the table definition in 1NF?  Why or why not?  If not, convert the table to 1NF table(s).

4c.  Is/are the table(s) in 2NF?  Why or why not?  If not, convert the table(s) to table(s) that are in 2NF.  Explain why they are now in 2NF? 

4d.  Are the tables in 3NF?  Why or why not?  If not, convert the table to 3NF.  Explain why they are now in 3NF?

4e.  List all of the foreign keys in question 4d.  Identify them by the table name and state which table(s) and corresponding attribute(s) they relate to.

Reference no: EM13347245

Questions Cloud

1 assume that you have tried three different forecasting : 1 assume that you have tried three different forecasting models. for the first the mad 2.5 for the second the mse
Assignment 1nbspdescription this first assignment will : assignment 1nbspdescription this first assignment will allow you to become more comfortable with threads and the basic
Essay questionsquestion 1 you are designing a grocery : essay questionsquestion 1 you are designing a grocery delivery business. via the internet your company will offer
Question 1 you are designing a grocery delivery business : question 1 you are designing a grocery delivery business. via the internet your company will provide staples and frozen
Normalizationpractice on topic of normalization for each of : normalizationpractice on topic of normalization for each of the following questions give the revised table
Question 1 which of the following events would be recorded : question 1 which of the following events would be recorded as an accounting event? a.a guest purchases a meal in a food
Problem 1at the beginning of 20x2 dahl ltd acquired 8 of : problem 1at the beginning of 20x2 dahl ltd. acquired 8 of the outstanding common shares of tippy ltd. for 400000.nbsp
1 trace the development of the industrial revolution in : 1. trace the development of the industrial revolution in early 19th century america. how did life for the american
Question 1an airline was interested in measuring the length : question 1an airline was interested in measuring the length of time customers have to wait in the queue prior to

Reviews

Write a Review

Database Management System Questions & Answers

  Demodulator circuits and amplitude modulator

Explain how much the modulating signal power is required to generate 100 percent modulation? What is the approximate center frequency of filter required to pass the lower sideband?

  Find entity relationship and relational database modelling

You are required to design (using an E-R diagram) an entity-relationship model of the problem, convert the model into a relational model, and assess the normal form of each schema.

  Mark the words as index entries behavior and favorable

Mark the following words in the document as index entries: behavior (four instances), favorable (five instances), and impression (eight instances).

  Write a memorandum to sam jones

Write a memorandum to Sam Jones (CIO) and present your research findings. Your memorandum should be no longer than 500 words.

  Create database for cover 2010 tour de france cycling race

Draw an Entity-Relationship diagram for this database using UML notation. Be sure to include all the entities mentioned above, together with attributes (including primary key attributes).

  Which is not a factor to consider in software evaluation

Peer reviewers are the key participants in which activity?

  describe capability of Good Eat Enterprise Resource Planning

This system will also provide administrators with the ability to create custom reports and filter data based upon a wide variety of information captured from each store.

  Create a class diagram of the intial code

The base application consists of three classes - Doctor, Patient and Hospital. A patient can be a private or public patient and is handled differently in either case. Patients are assigned to Doctors according to availability and preference.

  Create database that implements the proposed data warehouse

Knowing the customers for targeted advertising. The board would like to know which type of customers (age or gender) are more interested in which types of cars (type)

  Dimensions and attributes in a star schema model

Explain the use of facts, dimensions and attributes in a star schema model. Explain the use of facts, dimensions and attributes in a star schema model.

  Compute canonical cover for set of functional dependencies

Compute a canonical cover for the above set of functional dependencies (show each step of your derivation with an explanation).

  Access values through queries to databases

However, the only way you can access values is through queries to the databases. In single query, you can specify value k to one of two databases.

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