Osceola Auto Parts

 

AssignmentTutorOnline

Osceola Auto Parts

Osceola Auto Parts is an independent auto parts dealer that sells auto parts, runs tests on customers’ cars, and delivers parts and tools to mechanic shops around town.

 

Tasks

  1. Identify possible actors and use cases involved in Osceola’s business functions.

Answers will vary; sample answers provide a model for students.

Actors might include Customer, Mechanics, and Delivery Drivers. Use cases might include Buy Parts, Manage Parts Inventory, Test Customers Cars, and Deliver Parts. Sample documentation for the Buy Parts use case is shown in the following table.

 

Name: Buy Parts
Actor: Customer/Store Associate
Description: This use case describes the process used to buy parts at the auto parts dealer.
Successful Completion: 1.    Customer requests auto part

2.    Store Associate checks on availability of part

3.    Part is available and customer pays cost

4.    Customer receives part and stock is adjusted

Alternative: 1.     Customer requests auto part

2.     Store Associate checks on availability of part

3.     Part is not available and customer selects to order part or no part

4.     Customer receives part and stock is adjusted (if alternate part ordered) or customer leaves with no part

Pre-Condition: Customer wants to purchase part
Post-Condition: None
Assumptions: None

 

 

 

 

  1. Create a use case diagram for Osceola’s operations.

A sample use case diagram for the Buy Part and Manage Part Inventory use cases follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. Select one of the use cases and create a class diagram.

A sample class diagram for the Buy Parts use case follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

                                                                                          

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. Create a sequence diagram for the use case you selected.

A sample sequence diagram for the Buy Parts use case follows: