Activity Diagrams

Introduction to Activity Diagrams

An activity  is an  ongoing  atomic  execution within a state machine. Activities  always  result in some action. Activity diagrams look at the  operations  that are  passed among  objects.

Activity  diagrams model the dynamic   aspects of  system. They  are essentially  flowcharts  which  shown flow  of control  from activity to activity. Some  aspects  of it  are:

  • These diagrams involve modelling the sequential steps in a computational process.
  • They are used for modelling the flow of objects as it moves from state to state at different points in the flow of control.
  • The difference between interaction diagrams and activities diagrams is that interaction diagrams emphasize the flow of control from objects to objects whereas activity diagrams emphasize the flow of control from activity to activity .

Contents of Activity Diagrams

There are some contents of activity diagrams given:

1. Activity state and action states,

2. Transitions and

3. Objects

These contents are now discussed one by one.

1. Activity   State  and Action States: The  difference between these two states are:

Action  states cant  be decomposed  whereas activity  states can be decomposed further as the  activities of the  states are depicted by  other  activity  diagrams.

Action states  are atomic  means that  events may occur and they  don't  affect the  work  of the  action state. Activity  diagrams  are not  atomic i. e. They may  be interrupted.

An action  state is represented by using  a lozenge  shape as  shown  in fig 8.32,

Inside the steps  we can  write  any expression.

On the  other  hand  activity  states may have  some additional  such as entry  and exit  actions.

2. Transition: The  flow  of control passes immediately to the next  action or activity  state  whenever the action or activity  of a state  completes. This flow  is depicted by  using  transitions  to shown  path from   one  action / activity  state to  the next action/ activity  state.

Transition  is represented by a simple  directed line, shown in fig 8.33,

3. Objects: There are many  objects and we  have  already discussed them in the objects diagrams. One more  concept to be  discussed is  branching.

Branching

A branch can be  included to model the flow  of control. The branch   specifies alternate  paths  taken based on some  Boolean expressions. So ,

Branches  are depicted as diamonds as shown  in fig 8.34,

A branch  may have one incoming transition and two  or more outgoing ones.

Iteration is also possible

Latest technology based Software Engineering Online Tutoring Assistance

Tutors, at the www.tutorsglobe.com, take pledge to provide full satisfaction and assurance in Activity Diagrams homework help via online tutoring. Students are getting 100% satisfaction by online tutors across the globe. Here you can get homework help for Activity Diagrams, project ideas and tutorials. We provide email based Activity Diagrams homework help. You can join us to ask queries 24x7 with live, experienced and qualified online tutors specialized in Activity Diagrams. Through Online Tutoring, you would be able to complete your homework or assignments at your home. Tutors at the TutorsGlobe are committed to provide the best quality online tutoring assistance for Software Engineering homework help and assignment help services. They use their experience, as they have solved thousands of the software engineering assignments, which may help you to solve your complex issues of Activity Diagrams. TutorsGlobe assure for the best quality compliance to your homework. Compromise with quality is not in our dictionary. If we feel that we are not able to provide the homework help as per the deadline or given instruction by the student, we refund the money of the student without any delay.

©TutorsGlobe All rights reserved 2022-2023.