Question

In: Computer Science

FoodBox is an online business that serves many customers by allowing them to order food for...

FoodBox is an online business that serves many customers by allowing them to order food for delivery from local restaurants. The company has a web portal that has a listing of local restaurants for a zip code. The restaurants will be able to register with the portal and list their menus for an annual subscription fee of $190 or a monthly subscription fee of $25. Drivers, who are willing to pick up food from restaurants and deliver to customers will be able to register with the portal for an annual subscription fee of $95 or a monthly subscription fee of $15. Customers will be able to search for restaurants based on the zip code and view a list of all restaurants registered with FoodBox around that area. They will be able to view the menu for a particular restaurant and place an order. The payment is complete when the order is placed. Once an order is placed, the restaurant can either accept or reject the order. If an order is rejected, the customer must be refunded for the payment made. If an order is accepted by the restaurant, the restaurant provides an estimated time in the portal when the order will be ready for pickup. The application searches for drivers who are near the restaurant and available to deliver the food and notifies the selected driver to drive to the restaurant at the time when the order is expected to be ready for pickup. The driver is also provided with the address of the customer to whom the delivery needs to be made. The portal also provides a way for users to register for an account with the system, track their orders, view their order history and process a payment using credit card, paypal or zelle.

  1. Sequence Diagram: Complete the sequence diagram on the next page for the use case scenario described below (20 points)

Assume the following Use Case Description:

Use Case Name:

Create Order

Primary Actor(s):

Customer

Brief Description:

This use case describes how an order will be created using the system.

Trigger:

Customer accesses the portal and creates and order.

Precondition:

None

Normal flow of events:

  1. Customer searches for a restaurant by name or zip code.
  2. Customer accesses the restaurant’s menu.
  3. Customer selects the food they want to order and adds the items to cart.
  4. Customer fills in billing and delivery information.
  5. Customer makes the payment by zelle, credit card or paypal.
  6. The system creates the order and notifies the restaurant.

Alternate/Exception flow:

  1. The customer’s credit card is rejected and the payment was not complete. Customer is asked to provide alternate card or use alternate payment methods.
  2. The billing information provided by the customer is invalid. Customer must enter valid billing information

Solutions

Expert Solution

THANK YOU. Please give an upvote. If any queries or changes needed please comment will respond ASAP!!!!


Related Solutions

The Yum and Yee food truck near the business school serves customers during lunch hour by...
The Yum and Yee food truck near the business school serves customers during lunch hour by taking orders and making fresh batches of stir-fry. Customers have only one choice during the lunch hour so that Y&Y can maximize the number of customers served. Assume that each customer places just one lunch order, and all lunch orders are the same size: one unit of stir-fry. The stir-fry cooking works in this manner. First, one person cooks a batch of orders in...
The Yum and Yee food truck near the business school serves customers during lunch hour by...
The Yum and Yee food truck near the business school serves customers during lunch hour by taking orders and making fresh batches of stir-fry. Customers have only one choice during the lunch hour so that Y&Y can maximize the number of customers served. Assume that each customer places just one lunch order, and all lunch orders are the same size: one unit of stir-fry. The stir-fry cooking works in this manner. First, one person cooks a batch of orders in...
The Yum and Yee food truck near the business school serves customers during lunch hour by...
The Yum and Yee food truck near the business school serves customers during lunch hour by taking orders and making fresh batches of stir fry. Customers have only one choice during the lunch hour, since the objective is to maximize the number of customers served. Assume that each customer places just one lunch order, and all lunch orders are the same size –one unit of stir-fry. The stir fry cooking works in this manner. First, a batch of orders is...
The owner of a restaurant that serves continental food wants to study characteristics of his customers....
The owner of a restaurant that serves continental food wants to study characteristics of his customers. He decides to focus on two variables: the amount of money spent by customers and whether customers order dessert. The results from a sample of 60 customers are as follows: • Amount spent ( =$38.54, S= $7.26) • 18 customers purchased dessert. Construct a 95% confidence interval estimate of the population mean amount spent per customer in the restaurant.      _____________ Construct a 90% confidence...
U-Order fast food delivery service uses Pins for their online customers. Pins must consist of two...
U-Order fast food delivery service uses Pins for their online customers. Pins must consist of two or more symbols, one of which must be a letter from the set {A,B,C} and one of which must be a special character from the set {%,+,&}. Give a regular expression r for the set of possible U-Order Pins.
Many University campuses sell parking permits to their students allowing them to park on campus in...
Many University campuses sell parking permits to their students allowing them to park on campus in designated areas. Although most students complain about the relatively high cost of these permits, what annoys many of these students even more is that after having paid for their permits, vacant parking spaces in the designated lots are very difficult to find during much of the day. Many end up having to park off campus anyway, where permits are not required. Assuming the University...
Bob’s Pizza serves 2,000 customers per month. Each customer orders food and a beverage. Revenues are...
Bob’s Pizza serves 2,000 customers per month. Each customer orders food and a beverage. Revenues are $48 for food and $10 for beverages per customer. Variable costs are $16 for food and $2 per beverage per customer. Fixed costs are $50,000 monthly. 1. What is the monthly profit? 2. What is the customer breakeven each month?    Bob’s customers are starting to use UberEats. Bob’s pays $12 to UberEats for each delivery and they only deliver food not beverages. 3.   If...
Maria Chavez owns a catering company that serves food and beverages at parties and business functions....
Maria Chavez owns a catering company that serves food and beverages at parties and business functions. Chavez’s business is seasonal, with a heavy schedule during the summer months and holidays and a lighter schedule at other times. One of the major events Chavez’s customers request is a cocktail party. She offers a standard cocktail party and has estimated the cost per guest as follows: Food and beverages $ 17.00 Labor (0.5 hour @ $10.00 /hr.) 5.00 Overhead (0.5 hour @...
Maria Chavez owns a catering company that serves food and beverages at parties and business functions....
Maria Chavez owns a catering company that serves food and beverages at parties and business functions. Chavez’s business is seasonal, with a heavy schedule during the summer months and holidays and a lighter schedule at other times. One of the major events Chavez’s customers request is a cocktail party. She offers a standard cocktail party and has estimated the cost per guest as follows: Food and beverages $ 17.00 Labor (0.5 hour @ $9.80 /hr.) 4.90 Overhead (0.5 hour @...
Maria Chavez owns a catering company that serves food and beverages at parties and business functions....
Maria Chavez owns a catering company that serves food and beverages at parties and business functions. Chavez’s business is seasonal, with a heavy schedule during the summer months and holidays and a lighter schedule at other times. One of the major events Chavez’s customers request is a cocktail party. She offers a standard cocktail party and has estimated the cost per guest as follows: Food and beverages $ 16.00 Labor (0.5 hour @ $10.00 /hr.) 5.00 Overhead (0.5 hour @...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT