Behavioral Models and its types


Behavioral Models

Behavioral models are the models that are used to describe the overall behavior of a system.

Behavioral Models

  • Two types of behavioral model are:
    • Data processing models that show how data is processed as it moves through the system.
    • State machine models that show the systems response to events.
  • These models show different perspectives so both of them are required to describe the system’s behavior.

1. Data Processing Model

Data processing models is the modeling diagram that uses the data flow diagrams to model the system’s data processing.

  • It shows the processing steps as data flows through a system.
  • Simple and intuitive notation that customers can understand.
  • Show end-to-end processing of data.

An example of the order processing DPM can be shown as:

Behavioral Models


2. State Machine Model

State machine model is the modeling technique that models the behavior of the system in response to external and internal events.

  • They show the system’s responses to stimuli so are often used for modeling real-time systems.
  • State machine models show system states as nodes and events as arcs between these nodes. When an event occurs, the system moves from one state to another.
  • State charts are an integral part of the UML and are used to represent state machine models.
  • State charts allow the decomposition of a model into sub-models.

 

An example of state machine model can be shown by drawing the state chart of Microwave oven model as shown below:

Behavioral Models

Fig: Microwave oven model


 

144 total views, 1 views today

A Soon-to-be Computer Engineer by profession, he has profound devotion to add Data Scientist as a prefix to his name. He’s been to the nooks of the web (at least of the surface web) and planning to add some real figures in his pocket!

Leave a Reply