URGENT Explain in detail using Oop example Atleast 300 to 40
Solution
The Dynamic view of a system is nothing but the changes or dynamics of the parts of system. this is used to represent and expain what parts of the system interacts with each other in and over a particular period of time within that specified system.
Dynamic modelling is nothing but the representation of the time dependent concept of the system. It is about the concern of the chnages in the states of the object in a system which may be temporal. Some of the concepts of the model are;
The state: this is the situation of an object at an particular time and condition
The transition: this is the change in state
The event: this is cause the triggers the transition
The Action: this is the computation that happens due to the event
lastly the concurrency of the transition
Taking the above example of a person riding a horse:
the differnt states
here are waiting(for horse), riding(horse), reached (the goal).
the event here is
getting the horse and reaching the goal
The entry action is one that is described while the action performed when the object is entering the state. similary the exit action is that performed when the object is exiting the state
the different diagrams used to represent the dynamic modelling are
interaction diagram: sequence diagram,collabration diagram
state transtition diagram: this describes the dynamic behaviour of the object individually.
Data flow diagram and conttrol flow diagram
Relation between object, dynamic and functional models is:
All the above three are complimenting to each other for the complete Object Oriented Analysis.
Obeject modelling develops the static structure of the system.
Dynamic modelling develops the behavior of the object that are temporal in response to the external events
Functional modelling gives the over all view of the system actions like what it should do.
Object model and the Dynamic model
The dynamic model gives the status of an object and details about its operation that is performed on an occurance of an event and the subsequent change in the state. This change in the state is deplicted in object model.
