Question

In: Computer Science

Bundoora College has a small book store that opens for students, staff and general public. Currently,...

Bundoora College has a small book store that opens for students, staff and general public. Currently, they use a manual order system. The manager asked you to build a database for them. You had an interview session with him and you get a general overview about the database requirements. The database should store:

  • Orders information made by students, staff or general public. The order should have order number, the date and the time it is made.
  • Customers details, so that the manager can notify the customers with the order status as well as send promotional material. The detail includes customer code, the full name, home address, contact phone number, and email address.
  • List of the items in each order. The items can be books and/or stationeries. For each book, you should be able to include the details such as the title, the authors, the ISBN, and the price. For stationery, you should have the code, description, and price.
  • If a book is required for a particular subject offered in Bundoora College, the database should store this data as well. The information includes the subject code, the subject name, the coordinator name, and the semester it is offered.

Create an Entity-Relationship Diagram (ERD) for the bookstore database. Make sure you include all required entities, relationships and cardinalities information.

Solutions

Expert Solution

Please find below the steps to create Entity Relationship Diagram for Bundoora College

Step 1: List entities and attributes:

The system will have below entities in it:

1. Order: This entity stores the details of the orders made by a customer

It has below attributes:

(Order_number, order_date, order_time)

2. Customer: This is the entity that stores the customer details who orders the items:

It has below attributes:

(Customer_code, full_name, home_address, contact_phone, email_address)

3. Item: This is the entity which stores the item details. And it has two types – Book and Stationary

It has below attributes:

(item_code, price, type)

4. Book: This is a subtype of Item with all attributes of Item entity along with below additional attributes:

(title, authors, ISBN)

5. Stationary: This is a subtype of Item with all attributes of Item entity along with below additional attributes:

(description)

6. Subject: This entity is used to store the subject that requires a book for it.

It has below attributes:

(subject_code, subject_name, coordinator_name, semester)

Step 2: List relationship among entities:

1. Order has one Customer and a Customer may have made none or many Orders. It is M:1 relationship.

2. Order has many Items and an Item can be order in none or many Orders. It is M:N relationship.

3. Book may be offered in none or one semester offered by college and a Subject can have none or many books to be used in it. It is M:1 relationship.

Step 3: Draw ERD:

Step 4: ERD Notations used:


Related Solutions

Question 7 – Data Design Bundoora College has a small book store that opens for students,...
Question 7 – Data Design Bundoora College has a small book store that opens for students, staff and general public. Currently, they use a manual order system. The manager asked you to build a database for them. You had an interview session with him and you get a general overview about the database requirements. The database should store: • Orders information made by students, staff or general public. The order should have order number, the date and the time it...
You are a staff accountant at Reimer & Company, a small public accounting firm. One of...
You are a staff accountant at Reimer & Company, a small public accounting firm. One of the firm's partners, Leona Reimer, has asked you to deal with a disgruntled client, Mr. Robert Ramsey, owner of the city's largest clothing store. Mr. Ramsey is applying to a local bank for a substantial loan to remodel his store. The bank requires accrual based financial statements, but Mr. Ramsey has always kept the company's records on a cash basis. He does not see...
The manager of a book store at City College purchases T-shirts from a vendor at a...
The manager of a book store at City College purchases T-shirts from a vendor at a cost of $25 per shirt. The bookstore incurs an ordering cost of $100 per order, and the annual holding cost is 18% of the purchase cost of a T-shirt. The store manager estimates that the demand for T-shirts for the upcoming year will be 1,800 shirts. The store operates 50 weeks per year, five days per week. The vendor is willing to offer quantity...
There are 2567 students enrolled at a small college, with 2053 of them enrolled in a...
There are 2567 students enrolled at a small college, with 2053 of them enrolled in a sociology course. In the sampling distribution of sample proportions of size 230, above what proportion will 52% of all sample proportions be? Select all answers that apply to your calculation below. Use the z-table given below to answer the question: z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 -0.2 0.421 0.417 0.413 0.409 0.405 0.401 0.397 0.394 0.390 0.386 -0.1 0.460...
A small independent book retailer owns a shop and an online web store. The retailer is...
A small independent book retailer owns a shop and an online web store. The retailer is investigating whether there is a difference in purchase behaviour (the type of book purchased) when customers make a purchase in-store compared to buying online. The retailer looks at all the purchases of business, language and fiction books both online and in-store on a randomly selected day. The results are shown in the table belowTable: Number of books purchased online and in-store categorised by book...
In a survey of 700 community college students, 481 indicated that they have read a book...
In a survey of 700 community college students, 481 indicated that they have read a book for personal enjoyment during the school year (based on data from the Community College Survey of Student Engagement). Determine a 90% confidence interval for the proportion of community college students who have read a book for personal enjoyment during the school year. You must show your work. Round the limits to the nearest thousandth. For a 90% confidence interval, would it be unusual if...
In a survey of 650 community college students, 423 indicated that they have read a book...
In a survey of 650 community college students, 423 indicated that they have read a book for personal enjoyment during the school year. Construct a 90% confidence interval for the proportion of community college students who have read a book for personal enjoyment during the school year. Use 4 non-zero decimal places in your calculations. a.Verify the normality condition and the independence condition b.Find the Z-alpha/2 c.Find the margin of error (ME) d. Find the upper/lower bound and Interpret the...
Suppose staff at college are discussing whether attendance (e.g. students going to classes and/or lectures) should...
Suppose staff at college are discussing whether attendance (e.g. students going to classes and/or lectures) should be compulsory or optional. How could (a) neoclassical economics and (b) behavioural economics help them address this question?
A small college has only 4 students and offers only 3 majors: Art, English, and Physics....
A small college has only 4 students and offers only 3 majors: Art, English, and Physics. Suppose that the 4 students are assigned to these 3 majors at random with probabilities P[Art] = 1/4, P[English] = 1/2, P[Math] = 1/4. Let A, E, and M denote the numbers of students assigned to Art, English, and Math, respectively (i) What is the probability distribution of A? E? M? State the expected values and variances of each. (ii) What is the joint...
A survey of undergraduate college students at a small university was recently done by an administrator...
A survey of undergraduate college students at a small university was recently done by an administrator in charge of residential life services. A random sample of 300 students was selected from each class level (freshman, sophomore, junior, senior). Each student was asked to complete and return a short questionnaire on quality of campus residence. Some students returned the questionnaire, and some didn't. This is summarized in the table below: Class Returned Not response Total Freshman 110 190 300 Sophomore 130...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT