System Modeling
System Modeling
SYSTEM MODELING
SYSTEM MODELING
▪ System modeling is the process of developing abstract models (simplified
representations) of a system, with each model presenting a different view or
perspective of that system.
2. Interaction perspective, where you model the interactions between a system and its
environment or between the components of a system.
3. Structural perspective, where you model the physical or organizational layout in terms of
the components that makeup the system and their relationships.
4. Behavioral perspective, where you model the dynamic behavior of the system and how it
responds to events over time.
SYSTEM MODELING
▪ The analyst to understand the functionality of the system and models are used to
communicate with customers.
▪ The developer and the customer to assess quality, once the software is built.
UML
▪ UML stands for Unified Modeling Language
▪ UML provides a standard way to visualize the design of a system using kind of graphical
notations.
2. Sequence Diagrams - show interactions between actors and the system and
between system components.
▪ To represent Interaction Perspective
4. Class Diagrams - show the object classes in the system and the associations
between these classes.
▪ To represent Structural Perspective
SYSTEM MODEL TYPES
1. Interaction Models - focus on the communication and data exchange between
different parts of the system or between the system and external entities.
Sequence Diagrams:
▪ Lifelines - rectangles on dotted lines
drawn vertically from objects and
actors.
▪ Interactions - annotated arrows
between lifelines.
▪ Sequence of Interactions: Read from
top to bottom.
▪ Annotations on Arrows - provide more
information about the interactions.
SYSTEM MODEL TYPES
3. Behavioral Models - focus on how the system behaves in response to stimulus
from its environment.
▪ Crucial for understanding the logic and flow of processes within the system.
▪ Example - a system controlling valve may move from a state 'Valve open' to a
state 'Valve closed' when an operator command (the stimulus) is received.
Class Diagrams:
▪ Show the static structure of an object-oriented system including classes and
attributes, and relationships (associations, generalizations, dependencies).
▪ In class diagrams:
▪ Entities as object classes
▪ Attributes as object class attributes
▪ Relations as named associations between object classes
▪ 1:1 relationship - each patient has exactly one record and each record maintains information about exactly one patient.
▪ * means that there are an indefinite number of objects involved in the association.
SYSTEM MODEL TYPES
Class Diagrams:
▪ Generalization helps in organizing classes into a hierarchy, making the system
easier to understand and manage.