0% found this document useful (0 votes)
34 views

Activity Diagram

This document contains an assignment submission for an activity diagram modeling course. It defines activity diagrams and their core components such as actors, initial and final nodes, rectangles for actions, diamonds for decisions, forks and joins for parallel paths. It then provides an example activity diagram for a library management system to demonstrate how the components are used to model the flow from one activity to the next. The purpose of activity diagrams is to capture the dynamic behavior and message flow between activities in a system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Activity Diagram

This document contains an assignment submission for an activity diagram modeling course. It defines activity diagrams and their core components such as actors, initial and final nodes, rectangles for actions, diamonds for decisions, forks and joins for parallel paths. It then provides an example activity diagram for a library management system to demonstrate how the components are used to model the flow from one activity to the next. The purpose of activity diagrams is to capture the dynamic behavior and message flow between activities in a system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Abbottabad University of Science & Technology

Assignment # 1

Group Members:
Ahmad Hussain Shafi
Ahmed
Anas Saif
Abdullah Shah Bukhari
Muhmmad Sharjeel

Program: BS

Discipline: SE

Semester: SE 4th Fall 2022

Submitted To: Mam Mehwish Sarwar

Date: 08-12-2022

Assignment 1
ACTIVITY DIAGRAM:
Define:

Activity diagram is another important behavioral diagram in UML diagram to


describe dynamic aspects of the system. Activity diagram is essentially an
advanced version of flow chart that modeling the flow from one activity to
another activity.
Components of Activity Diagram:

There are the following components of activity diagram.


ACTOR:
Actors are the persons or machine that performs an action in the activity diagram.

INITIAL NODE:
Initial node is also called the starting node. It is the starting point of the activity
diagram. It is denoted by a big colored dot.

DIRECTED ARROWS:
It show the flow of the process from one stage to another.

RECTANGULAR BOX:
It is a rectangular box with round corners. It show the action and activity
performed in the diagram.

DIAMOND BOX:
A diamond box is also called the decision box the decision is made according to
condition. In decision box two flows are take place on (YES) and other is (NO)
only one can run from both of them according to condition given in the process.

FORK & JOIN:


Fork and join are two parallel thick solid lines in the activity diagrams in some
cases it is considered as compulsory. (Question is that how we can differ fork and
join?) And the answer is there is only one incoming flow on the fork and fork split
it into the multiple flows but in case of join as according to name they join multiple
flows into a single flow and give us a result.

MERGE:
Merge is also represented by a diamond shape. But it is different from decision box
because there is one incoming and two out going in a decision box but in merge
there is two in coming and one out going.

Dot with Circle:


It is also called the ending point or ending node of the activity diagram.

Purpose of Activity Diagrams


The basic purposes of activity diagrams is similar to other four diagrams. It
captures the dynamic behavior of the system. Other four diagrams are used to show
the message flow from one object to another but activity diagram is used to show
message flow from one activity to another

ACTIVITY DIAGRAM FOR LIBRARY


MANAGEMENT SYSTEM:

You might also like