Question

Complete the following ERD for this pizza order application: The application you are hired to develop...

Complete the following ERD for this pizza order application:

The application you are hired to develop the database for must keep track of the orders for custom pizzas by customers. When customers register, they include their name and address in the registration form. A customer can order multiple different custom pizzas in a single order. Each pizza in an order has a quantity and size (Small, Medium, Large or Extra Large). Each pizza has a cheese option and crust option, which may optionally have extra cheese and/or thin crust respectively. For cheeses and crusts, we also want to indicate if the cheese is low fat and if the crust is gluten free. Furthermore, each pizza can have multiple topping options. For toppings, we’d like to indicate if the topping is organic.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ERD:

Explanation:
Entities: Customer:Each customer have their unique identifying customerID,Name,Address when they register.
                Order:Each Order has its own unique identifying OrderID, name of the pizza ordered, quantity of pizza ordered and size which is of 'Small','Medium','Large'. Here ENUM() is a data type where the value of size can only be 'Small','Medium','Large' indicated inside ENUM().
               Pizza: Each pizza has its own unique identifying PizzaName, Indicates whether cheese is needed or not, Indicating whether crust is needed or not. And also specifying whether cheese type is LowFat or other, also specify Crust is glutenFree or other. And also extra toppings if any.
              Toppings: Toppings has its own unique identifying ToppingsName and indicates whether the toppings are organic or not.

Relationships:Customer can make only single order so Customer-Order is 1:1 relationship
                          A single order can have multiple pizzas so Order:pizza is 1:n relationship
                          A Single pizza can have multiple toppings so pizza:toppings is 1:n relationship

Add a comment
Know the answer?
Add Answer to:
Complete the following ERD for this pizza order application: The application you are hired to develop...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Develop an application using a JTabbedPane to order a pizza. You will need to ask the...

    Develop an application using a JTabbedPane to order a pizza. You will need to ask the customer for their name and phone number. You will ask for the size (choose one) and toppings (choose many) and compute the total. After computing the total, provide a button to display the order summary, which includes the name, phone number, size, toppings, and total. The prices are listed below. Screenshots of a possible solution are included. Your application must include four tabs and...

  • Create an order entry screen program in C# to give a total for an individual pizza...

    Create an order entry screen program in C# to give a total for an individual pizza order. The Pizza order should have radio buttons for small $7, medium $9, and large $12 choices for the pizza. There should be a checkbox for drink (where a drink is $2 added if it is checked and nothing added if it is not checked. Include a textbox for the customer’s name. Have a button to calculate the subtotal (pizza choice and whether there...

  • Q1. rewrite the exercise on April 4 by adding the following operations: 1) In the php...

    Q1. rewrite the exercise on April 4 by adding the following operations: 1) In the php script, create an associative array named $order that stores the following values: - the number of cheese toppings; - the number of pepperoni toppings; - the number of ham toppings; - the size of the ordered pizza; - the number of the ordered pizza; - the total cost of the order; - the discount rate; - the total cost after the discount. 2) the...

  • Convert the following GUI application into an Applet. Do not delete any part of the GUI...

    Convert the following GUI application into an Applet. Do not delete any part of the GUI program, just comment out the part of the program not required. Another Java code is required // Java code: import java.awt.*; import java.awt.event.*; import javax.swing.*; public class PizzaShopping extends JFrame { JCheckBox ckb[]; JLabel jlb1; JRadioButton radio[], radio1[]; static String[] pizzaToppings = "Tomato,Green peppper,Black olives,Mushrooms,Extra cheese,Pepproni,Sausage" .split(","); static String[] pizzaSizes = "Small: $6.50, Medium: $8.50, Large: $10".split(","); static String[] pizzatypes = "Thin Crust, Mediam...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT