FoodBoxis an online business that serves many customers by allowing them to order food for delivery from
Question:
FoodBoxis 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 a credit card, PayPal or Zelle.
- Use Case Diagram: Complete the use case diagram for the system. Add the appropriate use case scenarios. You must show relationships between use cases when applicable.(20 points)
- Classes, Attributes, and Operations: List all the MAJOR classes that could emerge from the case including their attributes and operations using UML notation as shown in the example below. For each class, list 4 – 5 major attributesand 4 – 5 major operations. Just writing them using the UML notation will be sufficient. You need not describe the methods and attributes in here.(10 points)
-studentID: Number -studentName: String - address: String - dateOfBirth: String - status: String | |
+ enrollCourse() + dropCourse() + payOutstandingDues() + applyGraduation() |
- Class Diagram: Create a class diagram to represent the scenario using all the classes you identified for question #2. Create a single diagram to represent the business rules described in the case. In your diagram list the classes, their associations, and multiplicity. You do not need to list attributes or operations in the class diagram. You must include all major classes. (10 points)
- 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 |
The normal flow of events: |
|
Alternate/Exception flow: |
|
- If you were to add a process improvement to this system, what would that be? Describe your proposed improvement clearly outlining the high-level objectives and the new features to be added or improved. The response should be detailed enough to help stakeholders understand the value of this improvement. This should be a 1 page report similar to the contents of a memo. (10 points).
Intermediate Accounting
ISBN: 978-0071339476
Volume 1, 6th Edition
Authors: Beechy Thomas, Conrod Joan, Farrell Elizabeth, McLeod Dick I