Ex-20

1. Use case , class  , sequence ,collaboration, state chart , activity, compnent , deployment diagrams are used in UML. Describe each of eight diagrams used in UML .


Use Case diagram -Contains actors, user cases and association for capturing the functional requirements and depict behaviors of the system from an external point of views.

* Actor:- A person, organization or external system, which play a role to in the system.
* Use case: A sequence of action of measurable values to an actor.
* Association: Connecting an actor to a use case. Represent the actor involved in interaction with the use case in the system.

Class diagram -illustrate the classes and attributes of the system, the interface and inter-relationships. The class, attributes and interface would be quite straightforward.  However the relationship could be quite complicated due to multiplicity, generalization and associations.

Sequence diagram – Consists of objects and invocation messages.  Sequence diagram indicates the order of invocations in the system and the creation of different objects.

Collaboration diagram – Consists of objects and messages focusing on the communications between objects and is quite similar to sequence diagram.

State chart diagram – Consists of state, transition, events and actions and showing various state of the entity and the change of states in response to different events. State diagram is not usually required except for complicated logic.

Activity diagram – Consists of activities and decisions showing the major flowcharts and data flow diagrams to illustrate the flow of codes.

Component diagram – Consists of major system components such as classifiers and artifacts and their inter-relation.  It is a high level overview of the system.

Deployment diagram – Consists of deployment elements mainly hardware such as servers and their relationship and logic connections/configuration.  Deployment diagram can be considered as a logical topography of the system.

Reference;

Castillo, C. & Richards, K. (2007) Why model with UML?. Retrieved May 29, 2009 from http://www.netbeans.org/kb/55/uml-why-model.html.

Woo, J (n.d.). UML diagrams . Retrieved May 29, 2009 from http://www.cs.umbc.edu/courses/undergraduate/CMSC445/Fall06/UML%20Diagrams.ppt#273,28,Communication%20diagram

Advertisement

Follow

Get every new post delivered to your Inbox.