Chapter 5 Software Engineering
*How is generalization used to simplify models of a system with many similar objects?
Makes things easy bro
What are the 5 types of UML diagrams
1) Activity diagrams, which show the activities involved in a process or in data processing 2) Use case diagrams, which show the interactions between a system and its environment 3) Sequence diagrams, which show interactions between actors and the system between system components 4) Class diagrams, which show the object classes into the system and the associations between these classes. 5) State diagrams, which show how the system reacts to internal and external events.
Perspectives used in system modeling
1) Behavioral, where you model the dynamic behavior of the system and how it responds to events. 2) Interaction, where you model the interactions between a system and its environment or between the components of a system. 3) Structural, where you model the organization of a system or the structure of the data that is processed by the system. 4) External, where you model the context or environment of the system.
Context Model
Illustrate the operational context of a system - they show what lies outside the system boundaries.
Use case modeling
Interactions between a system and external actors (users or other systems)
Sequence diagram
Picking up bong example Object = bong Actor = person Model the interactions between the actors and the objects in a system.
What is event driven modeling?
Response to external and internal events. System has a finite number of states. Events may cause a transition from one state to another.
Components of a text based Use Case
Text based-> ADDSRC 1) Actors 2) Description 3) Data 4) Stimulus 5) Response 6) Comments
*Activity diagrams
Used to express the context of a system. Shows the activities that make up a system process Flow of control from one activity to the next