Question

In: Computer Science

Explain all the available types of diagrams that can be used to represent object interactions. Your...

Explain all the available types of diagrams that can be used to represent object interactions. Your explanation should include the characteristics of these diagrams and its main purpose

Subject : Object Oriented Analaysis and Design

Solutions

Expert Solution

The Booch Method is a well documented proven method for Object Oriented Analysis and Design. It focus on development of  four fundamental models such as logical model, physical model, static model and dynamic model.In the Booch method, an engineer can document the models with several different diagrams. Some diagram can contain information from sveral models , and some models can include information that ends up in several diagram. Commonly there are six diagrams. They are explained below.

(1) Class Diagram

It shows the existence of classes and their relationships in the logical view of the system. The purpose of class diagram is to model the static view of an application. It is the only diagrams which can be directly mapped with object-oriented languages. Notations used in it are:

  • Classes : Classes represent an abstraction of entities with common characteristics.
  • Composition and Aggregation : Composition is a special type of aggregation that denotes a strong ownership between Class A and class B
  • Association : It is the link betweem two classes to communicate.
  • Key : An attribute whose value uniquely identify single object.
  • Constraint : Condition
  • Cardinality : It indicates the number of instances of one class linked to one instance of the other class.
  • Role : How the object see each other.

(2) Object Diagram

An object diagram, or for our purpose here an object-scenario diagram shows the existence of objects, their relationships in the logical view of the system, and how they execute a particular scenario or use-case. It means the object diagram is closer to the actual system behavior. The purpose is to capture the static view of a system at a particular moment. It includes,

  • Object Names : Every object is actually symbolized like a rectangle, that offers the name from the object and its class underlined as well as divided with a colon.
  • Object attributes : Unlike classes, object attributes should have values assigned for them.
  • Links : Links tend to be instances associated with associations. You can draw a link while using the lines utilized in class diagrams.

(3) Module Diagram

A module diagram shows the allocation of classes and objects to modules in the physical view of a system, that is module diagrams indicate the partitioning of the system architecture. Through these diagrams it is possible to understand the general physical architecture of a system. The two essential elements of a module diagram are modules and their dependencies. It includes,

  • Specification and body
  • Main program : There may be no cycles within a set of compilation dependencies. In C++ this is indicated by #include directives.
  • Subsystems : We can place the modules in different subsystems.

(4) State Transition Diagram

It shows the state space of a given context, the events that cause a transition from one state to another, and the actions that result. These are used to model objects which have a finite number of possible states and whose interaction with the outside world can be described by its state changes in response to a finite number of events. It includes,

  • State icon
  • History : The state remembers his last state, when you enter it.
  • Nesting : Nesting states within a composite mean that events that should be processed for all nested states can be shown using a single transition

(5) Interaction Diagram

It illustrate how objects interact via messages. They are used for dynamic object modeling. It is recommended to use interaction diagrams, if you are working in a real-time environment. The purpose of interaction diagrams is to visualize the interactive behavior of the system. Visualizing the interaction is a difficult task.

We have two types of interaction diagrams in UML. One is the sequence diagram and the other is the collaboration diagram. The sequence diagram shows the time sequence of the message flow from one object to another and the collaboration diagram shows the organization of objects in a system taking part in the message flow.

(6) Process Diagram

It is used to show allocation of processes to processors in the physical design. It’s used to document a process, improve a process or model a new one. It has many puposes such as

  • To document a process for better understanding, quality control and training of employees.
  • To standardize a process for optimal efficiency and repeatability. etc.

It includes the elements such as major equipment, process piping, process flow direction, operational data etc.

* If you satisfied with the answer, Please give me a like.


Related Solutions

Consider an object in uniform motion. Does this object have no interactions with its surroundings? Explain...
Consider an object in uniform motion. Does this object have no interactions with its surroundings? Explain and show your detailed work, using only words without any calculations or numbers. Use your own words. (Your answer should not be less than 4 lines)
Consider an object in uniform motion. Does this object have no interactions with its surroundings? Explain...
Consider an object in uniform motion. Does this object have no interactions with its surroundings? Explain and show your detailed work, using only words without any calculations or numbers. Use your own words. (Your answer should not be less than 4 lines). please make sure it's correct 100%
Describe all types of associations (hydrophobic interactions, ionic interactions, etc.) that lead to stabilization of tertiary...
Describe all types of associations (hydrophobic interactions, ionic interactions, etc.) that lead to stabilization of tertiary structure. Be detailedin your descriptions. Indicate how eachof these associations can be lost due to denaturation. Give an example of a denaturation cause (high temperature, change in pH, salt, or chemical) that results in the loss of eachtype of association.
With the aid of diagrams, explain how fiscal and monetary policies can be used to deal...
With the aid of diagrams, explain how fiscal and monetary policies can be used to deal with the problem of unemployment.
Which of the following number formats can be used to represent all integers in the range...
Which of the following number formats can be used to represent all integers in the range 0 to 4,294,967,295? A) unsigned integer (32 bits) B) sign magnitude (32 bits) C) two's complement (32 bits) D) floating point format (IEEE754 single precision)
In your own words, describe UML. Identify at least two types of UML diagrams that can...
In your own words, describe UML. Identify at least two types of UML diagrams that can be used in software development; describe when these diagrams are used. You are describing the registration process to a group of first time students at Ivy Tech. Realizing that a visual representation would be helpful in your explanation, you decide to use a UML diagram. What diagram do you choose to use? Why?
With different types of computer systems available, how can these be used to sustain competitive organizational...
With different types of computer systems available, how can these be used to sustain competitive organizational advantage?
The list and dictionary object types are two of the most important and often used types...
The list and dictionary object types are two of the most important and often used types in a Python program. Compare the functionalities of those two objects. What are some ways to insert, update, and remove elements from lists and dictionaries? Why would you choose one data type over another? Provide code examples demonstrating the usages of both data types. Actively participate in this discussion by providing constructive feedback on the criteria, rationales, and examples posted by your peers. Provide...
Explain and write an analysis of the interactions of each of the three types of psychoactive...
Explain and write an analysis of the interactions of each of the three types of psychoactive drugs (depressants, stimulants, hallucinogens) and the effects they have on the brain and nervous system in your own words. 150 words
What are the object oriented concepts and which all object oriented concepts are used in the...
What are the object oriented concepts and which all object oriented concepts are used in the given program? Consider the following code and explain how each of the object oriented concepts are applied in the given program. (CO1) class Vehicle { string brand; public: void honk(); void honk(int); }; void Vehicle::honk() { cout << "Tuut, tuut! \n" ; } void Vehicle::honk(int x) { for(int i=0;i<x;i++) cout << "Tuut, tuut! \n" ; } int main() { Vehicle V1; V1.honk(); V1.honk(3); }
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT