Final answer:
A use case model is created for the Pizza Ordering System, including a use case diagram and a use case scenario for the PlaceOrder use case.
Step-by-step explanation:
Use Case Model for Pizza Ordering System
The use case model for the Pizza Ordering System includes three use cases: IdentifyCustomer, PaybyCredit, and PlaceOrder. The PlaceOrder use case is the focus of this question. It has a relationship with the IdentifyCustomer use case, which allows users to register and log in, and the PaybyCredit use case, which models credit card payments.
Use Case Scenario: PlaceOrder
Actor: Shopper
Preconditions: The shopper has searched for items to purchase and added them to the shopping cart.
Flow of Events:
- The shopper selects the PlaceOrder option.
- The system prompts the shopper to provide a delivery address.
- The shopper enters the delivery address.
- If not paying with cash, the system prompts the shopper to provide credit card information.
- The shopper enters the credit card information.
- The system confirms the order and provides an order number.
Postconditions: The order is placed, and the shopper receives an order number for reference.