System Models Flashcards
System Models
Abstract descriptions of system whose requirements are being analysed. System modelling helps the analyst to understand the functionality of the system.
Model Perspectives
External perspective
Behavioural perspective
Structural perspective
External Perspective
Shows the system’s content or environment
Behavioural Perspective
Shows the behaviour of the system
Structural Perspective
Shows the system/data architecture
System Model Advantages
- Easier to understand than using natural language description
- Simplifies the attributes (abstraction) compared to a system representation.
System Model Disadvantages
- Do not model non-functional system requirements
- Do not include information of whether a method is appropriate for a given problem
- Too much documentation
- System models are often too detailed and difficult to understand for users
Model Types
- Data processing model
- Compositional model
- Architectural model
- Classification model
- Stimulus/response model
Context Model
Used to show boundaries of the model. Affected by social and organisational concerns.
Data Processing Model
Shows how data is processed at different stages
Composition Model
Shows how entities are composed of other entities.
Architectural Model
Shows principal sub-systems.
Classification Model
Shows how entities have common characteristics.
Stimulus/Response Model
Shows how system’s react to events.
Process Model
Shows overall process and the processes that are supported by the system.
Data Flow Model
May be used to show how the processes and the flow of information from one process to another.
Behavioural Model
Describes the overall behaviour of the system.
Types of Behavioural Models
- Data processing models
- State machine models
Data Processing Model example
Data flow Diagram, which shows the processing steps as data flows through a system.
Tracks and documents how data is associated with a process.
Top-down processes.
Data Flow Context Diagram
Dotted lines -> control
Solid lines -> data
Statechart Diagram
Shows the behaviour of the system in response to internal and external events.
Statechart Diagram Context
Initial state -> solid circle
Final state -> two circles
Rounded rectangles -> used for states
Does not show flow of data, and contains a key to understand the diagram better.
Labels
Statechart diagram feature.
Denote the methods called to move between two states.
Guard
Statechart diagram feature.
Allow movement between states after a certain condition has been fulfilled.
Finite State Machines/ Finite State Automata
Models the behaviour of the system or a complex object, with a limited number of defined conditions or modes, where mode transitions change with circumstance.
Finite State Machines Context
- set of states
- start state
- input alphabet
- transition function which maps input symbols and current states to a next state
State Transitions
Term for moving from one state to another.