Design a database for customer tracking service

Assignment Help Database Management System
Reference no: EM132074164 , Length: 5 pages

Question 1. The Perron Electronics Assembly Company (PEAC) needs a database to track its training program. PEAC has several trainers and they offer various courses for their employees. Courses are offered numerous times throughout the year. Each course offering is taught by just one trainer and every trainer is capable of teaching all of the courses offered through PEAC. Design a set of tables and relationships for PEAC in 3NF. Represent your answer in DBDL (i.e. give table name & fields. Underline primary key.) Draw an Entity-Relationship Diagram using Visio or Lucid Charts saved in document or as a PDF.

Note: for all ER-Diagrams on this test, it is not necessary to list the attributes, just use rectangles with appropriate connecting lines to document Entities and Relationships but showing attributes can help you.

Identify any assumptions you made that will assist in my understanding of your solution. (Must be included)

Question 2. Design a database for customer tracking service for Customer Resource Application Processing (CRAP) that tracks Customers, Salesreps, and openOrders. A SalesRep can have multiple customers. For the SalesRep, Track the firstname, lastname, street, city, postal, basepay and commissionrate and hiredate. There can be multiple orders for a customer. For the Customer, firstname, lastname, street, city, postal, customertype, balance, amountpaid. For the Orders, track the Orderamount, customer, and orderdate

Create a set of tables for the company CRAP in 3NF. Represent your answer in DBDL. (i.e. give table name and fields. Use good naming conventions. Underline the primary key.) Draw an Entity-Relationship Diagram using Visio or Lucid Charts saved in document or as a PDF.

Identify any assumptions you made that will assist in my understanding of your solution. (Must be included)

Question 3. You are familiar with the TAL Distributors database (chapter 1 in Concepts) and its set of 3NF relations.
A fictitious company, named ABC, uses a similar database design. As compared to TAL, the ABC database uses the exact same structure for the Orders, OrderLine, and Item tables. However, in place of the Rep and Customer tables (of the TAL database), the ABC Company uses the table structures below:
ABCRep (RepNum, RepLName, RepFName, RepStreet, RepCity, RepState, RepZip, RepSalary)
ABCCustomer (CustNum, CustName, CustStreet, CustCity, CustState, CustZip, CustBalance, CustCreditlimit)
ABCRepCust (RepNum, CustNum, CommissionRate)

For Firm ABC, each of the above relations is in 3NF. What 2 differences must exist in the company policies of Firm ABC as compared to TAL Distributors?
Explain your answer based on the assumptions of the relationship differences.

Question 4. The Brown Accounting and Recount Firm (BARF) has contacted you to create a personnel database to keep track of their employees. The following constraints are available:
• The company has just one single location
• The company is organized into departments
• Each department has multiple employees
• Each employee is assigned to one department at a time
• Each employee has a personnel history (promotions, raises, transfers, etc.)
• Each employee is assigned a phone number that does not change
• Each employee is assigned to an office which could change (when transferred, promoted, etc.)

Draw an ER-Diagram of your database design for BARF and document a reasonable number of fields for your tables using DBDL (your db design must be in 3NF!).
Identify any assumptions you made that will assist in my understanding of your solution. (Must be included)

Question 5. The table below lists sample Advisor/Student data, where AdvNum and StuNum form a composite primary key like the homework from chapter 5 and 6.

AdvNum

StuNum

AdvName

AdvOffice

StuName

StuMajor

S101

P100

T. Jones

10-110A

G. White

CIS

S101

P105

T. Jones

10-110A

J. Bell

MATH

A264

P108

M. Thomas

10-110B

I. McKay

ENG

A264

P110

M. Thomas

10-110B

P. Wax

CIS

V555

P105

R. Brown

10-111A

J. Bell

MATH

V555

P110

R. Brown

10-111A

P. Wax

CIS

Give examples of insertion, deletion and update anomalies with the above table. (No SQL statements, just an example/description of each anomaly based on the data).

Question 6. Convert the table from task number 5 above into a set of tables in 3NF. Draw an ER- Diagram of your database design for the Advising data and document the fields for your tables using DBDL.

Identify any assumptions you made that will assist in my understanding of your solution. (Must be included)

Bonus:

Question 7. You are in charge of keeping track of the players, coaches and referees in an amateur football league. The following design has been given to you, and you need to correct it!

Referee (lastname, firstname, street, city, state, phone, division) Coach (Division, phone, lastname, firstname)
Player (lastname, firstname, division, coach) Division (name, referee, coach, area)

Correct and create a set of tables for the league in 3NF. Represent your answer in DBDL. (i.e. give table name and fields. Underline the primary key.) Draw an entity- relationship diagram.

Identify any assumptions you made that will assist in my understanding of your solution. (Must be included)

Verified Expert

This assignment is based on database management system in which some case study problems are given and their Entity Relationship (ER) diagrams have been constructed using Data Base Design Language (DBDL). In some cases, information about an entity is given and it's normalized database is represented. In others, a sample database is given and the examples of each type of anomaly like insertion, deletion or an update are provided.

Reference no: EM132074164

Questions Cloud

Determine possible causes of aggressive behavior : Issues related prejudice, discrimination, and aggression are present in many different aspects of offender behavior and interactions.
Determine the critical values : To test Upper H0?: µ=100 versus Upper H1?:µ ?n?100, a simple random sample size of n=21 is obtained from a population that is known to be normally distributed.
Determine which is the better buy and reiterate : You will need to comparison shop and choose a specific type of equipment that is being sold at two different price points.
Sometimes the law of demand and supply fails : Sometimes the law of demand and supply fails because there is always a constraint that states everything else must be held constant
Design a database for customer tracking service : CIS 2165 - DATABASE MANAGEMENT SYSTEMS - Design a database for customer tracking service for Customer Resource Application Processing (CRAP)
Cans with a population std dev : A machine used to fill beer cans fills them to a mean amount of 16 oz. In a sample of 25 cans with a population std dev of 5, how likely is it
Evaluate the advertisement and its relationship with culture : Analyze the underlying assumptions that the authors of the ad seem to make about the consumers that this advertisement targets.
What is the critical value for test : At alpha = 0.05, what is the critical value for this test if I were to test 5 batteries from Walmart?
How do you find the p value for each test : I know the test statistic is -8.94 for all of them, and i know the critical value for each (2.093,1.729,and -1.729). How do you find the p value for each test?

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