Question

In: Computer Science

Assume you are creating a database for IS paint store. The database needs to support the...

Assume you are creating a database for IS paint store. The database needs to support the following business functions. • Allow customers to browse the inventory. Customers want to search by paint types and colors. Customers also wants to know pricing information. • A customer can be a regular customer (e.g., home owner), or a contractor or painting professionals. Different customers can get different discounts for the same type of paint. We assume each customer can get the same discount for all types of products in this store. • Allow the employees of the IS paint store to record the information of a sale. Each sale has a sale date, sale amount (colors, number of gallons, etc.), and total payment due (including prices and sales tax). • A customer can finance for large sales. For simplicity, we only consider the case where each customer can have 12 installments of payments with 0% interest rate. For example, if the total payment amount is $120, a customer can choose to pay $10 each month for 12 months to complete the payment. For each transaction like this, we should allow the employees to record the type of payment, the next payment date, amount due. If a customer misses a payment, employees of the store need to send a notice to the customer to charge a fine. The data model consists of 4 entities: Inventory, Customer, Transaction, and Transaction_Detail. Please see the solutions for assignment 1 for details of the sample design. Please answer the following questions. 1. Draw the entities and relationships using ER diagram notations. Please specify relationships with cardinalities. You may use any drawing tools to print it out, or draw it clearly on the paper. 2. Answer why you do not want to create relationships for customer search inventory, employee records transaction, and employee sends notice to customer.

Solutions

Expert Solution

a) The entities are

1. DVD

2. Video tapes

3. Customer

4. Transaction

b & c)

DVD Item ID Required Single valued Stored
Item Type Required Single valued Stored
Title Required Single valued Stored
Director Optional Single valued Stored
Time Required Single valued Stored
Genre Optional Single valued Stored
Price Required Single valued Stored
Video Tape Item ID Required Single valued Stored
Item Type Required Single valued Stored
Title Required Single valued Stored
Director Optional Single valued Stored
Time Required Single valued Stored
Genre Optional Single valued Stored
Price Required Single valued Stored
Customer Customer ID Required Single valued Stored
Customer Name Required Single valued Stored
Contact Number Required Single valued Stored
Email Required Single valued Stored
Last visit date Optional Single valued Stored
Transaction Transaction ID Required Single valued Stored
Item ID Required Multi valued Derived
Due Date Required Multi valued Stored
Return Date Required Multi valued Stored
Total Rental Price Required Single valued Derived
Fine Required Single valued Stored

Related Solutions

Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw...
Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw with pencil and paper diagram (take photo of it and submit) along with a summary of the diagram you prepared in a Word document. Use the scenario from Assignment 1: Business Rules and Data Models to complete the lab: Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In...
A company database needs to store information about employees (identified by ssn, with salary and phone...
A company database needs to store information about employees (identified by ssn, with salary and phone as attributes), departments (identified by dno, with dname and budget as attributes), and children of employees (with name, age, and relationship to the employee as attributes). Employees work in departments; each department is managed by an employee; a child must be identified uniquely by name when the parent (who is an employee; assume that only one parent works for the company) is known. We...
our company is creating the database for the sales system. These are the major components: Database...
our company is creating the database for the sales system. These are the major components: Database design User entry form design Report design Access and authentication Maintenance You are assigned as an IT manager. For this Discussion, gather information from the library and research other web resources. Write a plan describing your role in designing, developing, managing, and supporting the database.
For the group project, you will be creating a database system to solve a business problem...
For the group project, you will be creating a database system to solve a business problem of your choice. The database system must meet the criteria shown below. In addition to the database solution, each student will prepare a system summary. Database System Requirements (Group Work): Create a database and name it ITCO630_GPx where "x" is your group letter. Populate your database with appropriate test data. Include all of the scripts in a single file called ITCO630_GPx.SQL where x is...
Assume that you have a Saudi league player database. In this database, you have a table...
Assume that you have a Saudi league player database. In this database, you have a table containing players’ attributes such as (Name, age, position, etc.) and you decided to add information about players’ agents. Would you represent the agent information as attributes in the player table or would you create an entity set for players’ agents? Justify your answer.   I need clear answer please don't copy and paste
The manager of a paint supply store wants to determine whether the mean amount of paint...
The manager of a paint supply store wants to determine whether the mean amount of paint contained in 1-gallon cans purchased from a nationally known manufacturer is actually 1 gallon. You know from the manufacturer’s specifications that the standard deviation of the amount of paint is 0.02 gallon. You select a random sample of 50 cans, and the mean amount of paint per 1-galllon can is 0.995 gallon. a. At the .05 level of significance, is there evidence that the...
The manager of a paint supply store wants to determine whether the mean amount of paint...
The manager of a paint supply store wants to determine whether the mean amount of paint contained in 1-gallon cans purchased from a nationally known manufacturer is actually 1 gallon. You know from the manufacturer’s specifications that the standard deviation of the amount of paint is 0.02 gallon. You select a random sample of 50 cans, and the mean amount of paint per 1-galllon can is 0.995 gallon. At the .05 level of significance, is there evidence that the mean...
The manager of a paint supply store wants to estimate the actual amount of paint contained...
The manager of a paint supply store wants to estimate the actual amount of paint contained in 1​-gallon cans purchased from a nationally known manufacturer. The​ manufacturer's specifications state that the standard deviation of the amount of paint is equal to 0.01 gallon. A random sample of 50 cans is​ selected, and the sample mean amount of paint per 1​-gallon can is 0.996 gallon. Complete parts​ (a) through​ (d). a. Construct a 95​% confidence interval estimate for the population mean...
1. Describe how you recognise and support the carers relationship with the person with support needs...
1. Describe how you recognise and support the carers relationship with the person with support needs (disability). 2. Describe how you involve the carers and families in the design of support services. 3.Describe a specific instances when you helped the person, the carer, and /or the family use strategies that maximise positive aspects of change and transition. 4. Describe specific instance where you helped the person, the carer, and /or the family use strategies that maximise ongoing support and involvement...
Part 1Write a narrative that describes what information you will store in a database. Be as...
Part 1Write a narrative that describes what information you will store in a database. Be as descriptive as you can be. Part 2Create an E-R diagram that corresponds to yournarrative. If you have fewer than three entities in your E-R diagram, revise your narrative!Remember that foreign key values should not be in your entities.Make sure that you include maximum and minimum cardinalities for your relationships.You can use a tool to create the E-R diagram or draw it by hand and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT