Activity Diagram for the Amazon Online Shopping System

Create some activity diagrams for the Amazon online shopping system.

Activities diagrams are a great way to visualize the flow of messages from one activity to the other in the system. There can be different activity diagrams that we can create for our Amazon online shopping system. In this lesson, we will create activity diagrams for the following two activities:

  • A customer buying a product

  • Activity challenge: The customer receives their order.

A customer buying a product

The following are the states and actions that will be involved in this activity diagram.

States

Initial state: The customer opens Amazon.

Final state: The customer proceeds with checkout.

Actions

The customer opens the website. They either search or browse the website, select a product, and proceed to buy it.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.