Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Assignment: Business Rules for Sam Symthe's Database

Overview

Sam Smyth is an expert puppy trainer. His specialty is training troubled puppies to behave for their owners. The name of his business is Sam Smythe's Kennel for Troubled and Deranged Puppies. Sam hires expert trainers who have been personally trained by him to train and manage troubled puppies. Sam's success rate working with such puppies is very good. He conducts all of his business on an old farm he purchased several years ago.

Right now Sam needs a way to mange his business so he can see at any one point in time see how many puppies he has, who is training them, and who owns them. He also needs to know what training each puppy has completed, the date the training was completed, where a puppy is kenneled, and when a puppy has left Sam's farm. He would also like to give a report card to an owner when they leave with their puppy/puppies. Sam would also like to be able to have his trainer's be able to look up the puppies assigned to them and see the training and skill level's attained by the puppies under their care. Sam needs to see this information for all puppies.

Business Rules & Processes

Owners can own more than 1 puppy
A puppy has one and only one owner.
A puppy is assigned to one and only one kennel
A trainer trains one or more puppies
A puppy cannot learn from more than one trainer
A trainer teaches a puppy all tricks
A puppy can learn more than one trick
Once a puppy starts training on a trick, that trainer sees the puppy through the training and grades the puppy
Once a puppy is graded, it is done learning that trick, no repeats
A puppy is graded on a scale of 1 (lowest) to 10 (highest)
Owners can have more than one contact
A trainer completes all training once it has begun
There is a time limit of 2 full weeks to try to train a puppy. After that time period has ended the puppy must be graded.
Puppies are registered on a Monday and released from training on a Sunday
A puppy cannot have multiple registrations since an owner cannot ask to have a puppy re-trained
A puppy must be properly registered before it can begin training.
There are a total of 4 kennels where puppies are roomed and each kennel has a total of 20 rooms each.
There can never be a puppy registered without first confirming there is an open room in one of the kennels.
Owners have one and only one address
All payment information is handled via PayPal.
The owner is paying a flat fee for a choice of tricks offered at Sam's business.
All tricks an owner picks are set in the contract and cannot be modified.

Follow all directions in this document. When you are done, please upload all required files to the Assignment named Mid-Term Exam found in the Assignments section for this course in Canvas. If you have any questions during the exam, please feel free to ask.

Part I: Entity Relationship Modeling

A store deals with many vendors and is trying to find a way to better manage its vendor contacts. It would like to be able to pull up data about a product and know what vendors can supply that product. Your job is to use Workbench to design a database for this store. Please be sure you save your Workbench ER Diagram as Vendor.mwb and upload it to the mid-term drop box in the Assignments section of Canvas. Below are the External and Internal schemas.

External Schema

Vendor (vendor name, vendor address, vendor contact person, vendor contact person's phone/e-mail)

Product (product name, vendor supplier)

Internal Schema

Vendor (vid, vname, vstreet, vcity, vst, vzip, vcontact)
Product (pid, prod_name, vendors)

Assumptions

More than one vendor can supply one product

A vendor can have more than one person act as the contact person for the hardware store

A person working for the vendor can have multiple contact types such as several phone numbers and e-mail addresses

You are allowed to add any assumptions you feel are necessary in order to complete this part. If you make any further assumptions please list them in a Word document and save the file as assumptions.docx and remember to upload it with your work for this part. (30 pts.)

Part II: Normal Form Dependencies

In the diagram below there are dependencies. Identify the dependencies. In a Word document, identify the type dependencies found and the attributes found in them. Save your Word document as dependencies.docx. Using your knowledge of how to resolve various types of dependencies that you identify, create a solution using Workbench. Save your work as dependency_1.mwb

Student_ID

Course_ID

Student_First_Name

Student_Last_Name

Course_Name

Grade

In the diagram below, there are dependencies that should not exist in good database design. Identify the dependency, including what attribute(s) are dependent on other attribute(s) and why the condition should not exist. Please save your work in a Word document and save it as dependencies2.docx. Using your knowledge of good database design, resolve the dependency and illustrate what the design should look like in Visio. Save your work as dependency_2.vsd.

Book_id

Book_title

Book_author

Publisher_name

Publisher_contact

In this course you have analyzed fan traps and chasm traps. Use the Diagram below to identify the type of trap that exists and explain the process you used to reach your conclusion. Then re-design the ER Diagram and if necessary, redesign the entities as well.

Here are the business rules you need in order to determine the problem and how to resolve it:

An employee can only work in one location
A location has many departments
An employee has one and only one manager
A manager can manage one or more departments
A manager can only work in one location

Please use Word or Notepad to answer the first part of the question which deals with identifying the trap lies and how you reached your conclusion. Save the file as trap.docx. Then use Workbench to resolve the trap and save that file as trap.mwb.

Part III: Working With Workbench

Please open the files pertaining to Sam Smythe. One is the Workbench ER Diagram, one is the business rules and the other two are the External and Internal Schemas respectively.

Based on the business rules provided (see document "Business Rules for Sam Smythe" in Mid-term module), normalize the database to 3NF. Re-design it so that it reflects the 3NF and then create the code that will generate this database. In a Word document which you will save as Sam.docx please identify all partial functional dependencies and all transitive dependencies you find in the model as it is right now.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92082854
  • Price:- $45

Priced at Now at $45, Verified Solution

Have any Question?


Related Questions in DBMS

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

In sql database questions phase-1 in 100 words what steps

In SQL Database Questions: Phase-1 In 100 words, what steps can one take to avoid losing work? Which command is used to save changes to the database? What is the syntax for this command? Phase-2 In 100 words, explain the ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

A schools office of the registrar maintains data about the

A School's office of the registrar maintains data about the following entities: a) courses (including course number, title, credits, syllabus and prerequisites), b) course offerings (including course number, year, semest ...

Sqlwrite a select statement that returns one column from

SQL Write a SELECT statement that returns one column from the Vendor table named Full Name. Create this column from the VendorContactFName and VendorContactLName columns. Format it as follows: last name, comma, first nam ...

You are responsible for keeping track of meal expenses for

You are responsible for keeping track of meal expenses for ten employees while at a business lunch to which your employer has invited you to attend. Write an algorithm that inputs the lunch costs for each the ten employe ...

Assignmenta restaurant is designing a database to keep

Assignment A restaurant is designing a database to keep track of customer services. A customer is defined as a customer ID, name, address and a telephone number. Customers are served by employees. Each employee is define ...

Assignmentqueries functions and triggersdatabase

Assignment Queries, Functions and Triggers Database Systems Aims The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL qu ...

Sqlquery 1 how many products have standard price less than

SQL Query 1. How many products have standard price less than 1000? Query 2: Display all attributes for products made of "Cherry" from Product table w/o referring to column names. Query 3: Display all product names having ...

This assignment is a continuation of this solution the case

This assignment is a continuation of this solution The case study company has received the first report from its enterprise content management (ECM) consultant and now has a documented list of major content requirements ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As