answersLogoWhite

0


Best Answer

They are not as they both have the same features it just provides a better understanding when using one diagram in conjunction with the other.

State machine diagram shows how state of some object or system could change, so transitions on the diagram are from one state to another state.

Activity diagram shows set of actions and how one action could lead to another.

In simple cases these diagrams might look like reverse of each other but in practice you need to select whether the diagram is about discrete number of states of some object or is it about organization of actions and activities possibly related to many different objects.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

State diagram shows the object undergoing a process. It gives a clear picture of the changes in the object's state in this process.

e.g: ATM withdraw

Card object state: Checking, Approving, Rejecting

Activity diagram is a fancy flow chart which shows the flow of activity of a process.

e.g: ATM withdraw

Withdraw activity: Insert Card, Enter PIN, Check balance, with draw money, get card

State chart shows the dynamic behavior of an object.

Activity diagram shows the workflow behavior of an operation as set of actions

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How state Diagram are different from the Activity Diagram?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is Activity-on-node?

Activity on node is a diagram where every node (circle) represents an activity.


Activity diagram for video rental system?

i knew how to draw the activity diagram fro video rental system but i dont know how to attach it here


What is the difference between sequence diagram and state diagram?

State diagram represents behavior without noting the classes involved whereas sequence diagram represents behavior, by describing how classes move from state to state


What is the difference between work flow and activity diagram?

hhhghg


What does seismographic mean?

A seismograph is a diagram that shows the activity of an earthquake. The longer the line on the diagram, the more violent the shaking of the ground is.


Which describes how to interpret the width of the bands in the mypyramid diagram?

Physical activity


Explain Process PCB and Proces state diagram?

explain process, pcb and process state diagram.


What state had the highest slave activity?

Vigrinia is the state that had the highest slave activity.


What is a state diagram?

A state diagram is a type of diagram used in computer science and related fields to describe the behavior of systems. State diagrams require that the system described is composed of a finite number of states; sometimes, this is indeed the case, while at other times this is a reasonable abstraction. Many forms of state diagrams exist, which differ slightly and have different semantics.


Are there a graph to see the path of execution of code?

Sequence diagram (UML), activity diagram (UML), traditional flow chart (may be more...)


What is state diagram. Draw state diagram of ATM?

Go to http://www.math-cs.gordon.edu/courses/cs320/ATM_Example/SessionStateDiagram.html


Er diagram of online railway reservation system?

try www.wikipedia.com which will help you for making ER - Diagram ....and copy past given link below in your browser for detailed description about ER - Diagram :http://www.infocom.cqu.edu.au/Courses/spr2000/95169/Extra_Examples/ERD.htm