EXP4.SE
EXP4.SE
A Use Case Diagram represents the interactions between different users (actors) and
the system. It shows what actions users can perform without detailing how the system
implements them.
Key Components:
Actors: Represent users or external systems that interact with the system.
Use Cases: Specific actions or functions the system provides.
Relationships: Connections between actors and use cases (association, include, extend).
Use Cases:
o Browsing Products
o Searching & Filtering
o Adding to Cart
o Making a Secure Payment
o Managing Orders (Admin)
o Managing Products (Admin)
A Sequence Diagram shows the step-by-step flow of interactions between users and
system components over time.
Key Components:
Purpose: Helps developers understand the flow of operations and ensure correct
implementation of order processing.
3. Activity Diagram
Definition:
An Activity Diagram visualizes the flow of activities (processes) within the system,
including decisions and loops.
Key Components:
Start & End Nodes: Represent the beginning and end of the process.
Actions: Tasks performed by the system or user.
Decisions: Conditions that determine different execution paths.
Loops: Represent repeated actions.
1. Start
2. Customer browses products
3. Search & filter products
4. View product details
5. Decision: Add to cart?
o Yes → Add to cart and continue shopping or checkout.
o No → Continue browsing.
6. Proceed to checkout
7. Enter payment & shipping details
8. Confirm Order
9. Process Payment
10. Order successfully placed
11. End
Purpose: Helps visualize the decision points and flow of activities in the system
4. Collaboration Diagram
Definition:
Key Components:
Objects: Represent system components.
Links: Connections between objects.
Messages: Arrows with numbered labels showing the sequence of communication.
Collaboration Diagram for Order Placement:
DONE By:
Anitha .A - BU22CSEN0101001
Hareesa.K - BU22CSEN0100409
Sreekar.K - BU22CSEN0101143