Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

For each of the following problems, give the revised table definition.  You should support your definitions with the explanation of why you made the changes. Explanation should be specific to current problem, not just a general explanation.

For EACH and EVERY table (including intermediate ones) you SHOULD underline the primary key AND list all the FDs.

problem1)

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 can be shipping more than one package but each package has only one shipper.
a) Based on FDs above, what is the primary key of the table?
b) Is the table definition in 1NF? Why or why not? If not, convert the table to 1NF table(s).
c) Is/are the table(s) in 2NF? Why or why not? If not, convert the table(s) to table(s) that are in 2NF. describe why they are now in 2NF?
d) Are the tables in 3NF? Why or why not? If not, convert table to 3NF. describe why they are now in 3NF?
e) List all of the foreign keys in problem 1d. Identify them by table name and state which table(s) and corresponding attribute(s) they relate to

problem2) 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:
•    A truck is based at a single base.
•    A base can be the base for many trucks.

a) List ALL FDs for the table which hold based upon the descriptions of the constraints above.
b) Is the table definition in 1NF?  Why or why not?  If not, convert the table to 1NF table(s).
c) Is/are the table(s) in 2NF?  Why or why not?  If not, convert the table(s) to table(s) that are in 2NF.  describe why they are now in 2NF? 

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

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

problem3) 

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:
•    Ace Manufacturing constructs many products.
•    A product is classified as a certain type.
•    A product is made up of components. 
•    Each component can be supplied by many different vendors.
•    A vendor’s components may be found in many different products.
•    Each vendor may charge a different price for the same component.

a) List ALL the FDs for the table that hold based upon the descriptions of the constraints above.
b) Is the table definition in 1NF?  Why or why not?  If not, convert the table to 1NF table(s).
c) Is/are the table(s) in 2NF?  Why or why not?  If not, convert the table(s) to table(s) that are in 2NF.  describe why they are now in 2NF? 
d) Are the tables in 3NF?  Why or why not?  If not, convert the table to 3NF.  describe why they are now in 3NF?
e) List all of the foreign keys in problem 3d.  Identify them by the table name and state which table(s) and corresponding attribute(s) they relate to.

problem

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 }

a) Based on the FDs above, what is the primary key of the table?
b) Is the table definition in 1NF?  Why or why not?  If not, convert the table to 1NF table(s).
c) Is/are the table(s) in 2NF?  Why or why not?  If not, convert the table(s) to table(s) that are in 2NF.  describe why they are now in 2NF? 
d) Are the tables in 3NF?  Why or why not?  If not, convert the table to 3NF.  describe why they are now in 3NF?
e) List all of the foreign keys in problem 4d.  Identify them by the table name and state which table(s) and corresponding attribute(s) they relate to.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M9451

Have any Question? 


Related Questions in DBMS

Relational databases theory and practice assignmentanswer

Relational databases: theory and practice Assignment ANSWER ALL QUESTIONS Question 1 - Use the block notes to answer the following questions: i. Explain what is meant by the process of denormalization and how it is done. ...

Learning outcomes1 manage user access and user profiles

Learning Outcomes 1. Manage user access and user profiles within a complex DBMS 2. Conduct database audits 3. Develop backup and recovery procedures Read the given scenario and perform all tasks. You have to answer all q ...

Describe a dbms and its functions list at minimum three of

Describe a DBMS and its functions. List, at minimum, three of the popular DBMS products and give a brief description of each. Your response should be at least 200 words in length. Explain what mobile devices are and why ...

Graph databases assignment1choose a social network that you

Graph Databases Assignment 1. Choose a social network that you use. Say, FaceBook, Twitter, LinkedIn, or anything else. 2. Design a model to store and manage relationship data from these social networks in a graph databa ...

Hotel reservationsproject descriptionthe main portion of

Hotel Reservations Project Description: The main portion of the resort is the hotel. The hotel wants to store information about hotel guests, reservations, and rooms. You will design tables, import data from Access and E ...

Database analysis and designimplement the initial database

Database Analysis and Design Implement the initial database design for the Enterprise Resource Planning conceptual model described by the following requirements in your selected RDBMS. You need to create the Entity-Relat ...

Query 1list all movies played in landmark or music box

Query 1 List all movies played in Landmark or Music Box. Output only titles and eliminate duplicates. Query 2 List all stars born after 1960. Order them by their birthdate in ascending order. Output their first names, la ...

Computer sciencein reference to your database design

Computer Science In reference to your Database Design Proposal: Proposal Outline, provide a narrative analysis of the customer and user needs by defining the customers and users as well as describing their individual nee ...

Discussionyou have been asked to help a critical

Discussion You have been asked to help a critical infrastructure company in analyzing the privacy and security of a SCADA system. Conduct research on the topic and answer the following: 1. How would you describe general ...

Hospital database determining keysdevelop a microsoft

Hospital Database: Determining Keys Develop a Microsoft Access database based upon the following business scenario. Be sure to include tables, fields, keys, relationships, and test data in your database. Your final submi ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro