SlideShare une entreprise Scribd logo
1  sur  31
Software Engineering System Models Slide 1
Software Engineering
System Models
Software Engineering System Models Slide 2
System models
are abstract descriptions of systems
whose requirements are being analysed
Software Engineering System Models Slide 3
System modelling
 System modelling helps the analyst to
understand the functionality of the system and
models are used to communicate with customers
 Different models present the system from
different perspectives
• External perspective showing the system’s context or
environment
• Behavioural perspective showing the behaviour of the system
• Structural perspective showing the system or data architecture
Software Engineering System Models Slide 4
System models weaknesses
 They do not model non-functional system
requirements
 They do not usually include information
about whether a method is appropriate for a
given problem
 They may produce too much documentation
 The system models are sometimes too
detailed and difficult for users to understand
Software Engineering System Models Slide 5
Model types
 Data processing model showing how the data is
processed at different stages
 Composition model showing how entities are composed
of other entities
 Architectural model showing principal sub-systems
 Classification model showing how entities have common
characteristics
 Stimulus/response model showing the system’s reaction
to events
Software Engineering System Models Slide 6
Context models
 Context models are used to illustrate the
boundaries of a system
 Social and organisational concerns may affect
the decision on where to position system
boundaries
 Architectural models show the a system and
its relationship with other systems
Software Engineering System Models Slide 7
The context of an ATM system
Auto-teller
system
Security
system
Maintenance
system
Account
database
Usage
database
Branch
accounting
system
Branch
counter
system
Software Engineering System Models Slide 8
Process models
 Process models show the overall process and
the processes that are supported by the system
 Data flow models may be used to show the
processes and the flow of information from one
process to another
Software Engineering System Models Slide 9
Equipment procurement process
Get cost
estimates
Accept
delivery of
equipment
Check
delivered
items
Validate
specification
Specify
equipment
required
Choose
supplier
Place
equipment
order
Install
equipment
Find
suppliers
Supplier
database
Accept
delivered
equipment
Equipment
database
Equipment
spec.
Checked
spec.
Delivery
note
Delivery
note
Order
notification
Installation
instructions
Installation
acceptance
Equipment
details
Checked and
signed order form
Order
details +
Blank order
form
Spec. +
supplier +
estimate
Supplier list
Equipment
spec.
Software Engineering System Models Slide 10
Behavioural models
 Behavioural models are used to describe the
overall behaviour of a system
 Two types of behavioural model
• 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
 Both of these models are required for a
description of the system’s behaviour
Software Engineering System Models Slide 11
Data-processing models
 Data flow diagrams are used to model the
system’s data processing
 These show the processing steps as data flows
through a system
 IMPORTANT part of many analysis methods
 Simple and intuitive notation that customers
can understand
 Show end-to-end processing of data
Software Engineering System Models Slide 12
Order processing DFD
Complete
order form
Order
details +
blank
order form
Validate
order
Record
order
Send to
supplier
Adjust
available
budget
Budget
file
Orders
file
Completed
order form
Signed
order form
Signed
order form
Checked and
signed order
+ order
notification
Order
amount
+ account
details
Signed
order form
Order
details
Software Engineering System Models Slide 13
Data flow diagrams
 DFDs model the system from a functional
perspective
 Tracking and documenting how the data
associated with a process is helpful to develop
an overall understanding of the system
 Data flow diagrams may also be used in
showing the data exchange between a system
and other systems in its environment
Software Engineering System Models Slide 14
2.2 State machine models
 State Machine models the behaviour of the
system in response to external and internal
events
 They show the system’s responses to stimuli so
are often used for modelling 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
 Statecharts are an integral part of the UML
Software Engineering System Models Slide 15
Microwave oven model
Full power
Enabled
do: operate
oven
Full
power
Half
power
Half
power
Full
power
Number
Timer
Door
open
Door
closed
Door
closed
Door
open
Start
do: set power
= 600
Half power
do: set power
= 300
Set time
do: get number
exit: set time
Disabled
Operation
Timer
Cancel
Waiting
do: display
time
Waiting
do: display
time
do: display
'Ready'
do: display
'Waiting'
State machine model
does not show flow of
data within the system
Software Engineering System Models Slide 16
Microwave oven stimuli
Stimulus Description
Half power The user has pressed the half power button
Full power The user has pressed the full power button
Timer The user has pressed one of the timer buttons
Number The user has pressed a numeric key
Door open The oven door switch is not closed
Door closed The oven door switch is closed
Start The user has pressed the start button
Cancel The user has pressed the cancel button
Software Engineering System Models Slide 17
Finite state machines
Finite State Machines (FSM), also known as
Finite State Automata (FSA)
are models of the behaviours of a system or a
complex object, with a limited number of defined
conditions or modes, where mode transitions
change with circumstance.
Software Engineering System Models Slide 18
Finite state machines - Definition
A model of computation consisting of
• a set of states,
• a start state,
• an input alphabet, and
• a transition function that maps input symbols and current states
to a next state
 Computation begins in the start state with an input string.
It changes to new states depending on the transition
function.
• states define behaviour and may produce actions
• state transitions are movement from one state to another
• rules or conditions must be met to allow a state transition
• input events are either externally or internally generated, which
may possibly trigger rules and lead to state transitions
Software Engineering System Models Slide 19
Statecharts
 Allow the decomposition of a model into sub-models (see a figure)
 A brief description of the actions is included following the ‘do’ in each
state
 Can be complemented by tables describing the states and the
stimuli
Cook
do: run
generator
Done
do: buzzer on
for 5 secs.
Waiting
Alarm
do: display
event
do: check
status
Checking
Turntable
fault
Emitter
fault
Disabled
OK
Timeout
Time
Operation
Door
open
Cancel
Software Engineering System Models Slide 20
Petri Nets Model
 Petri Nets were developed originally by
Carl Adam Petri, and were the subject of his
dissertation in 1962.
 Since then, Petri Nets and their concepts have
been extended, developed, and applied in a
variety of areas.
 While the mathematical properties of Petri Nets
are interesting and useful, the beginner will find
that a good approach is to learn to model
systems by constructing them graphically.
Software Engineering System Models Slide 21
The Basics
 A Petri Net is a collection of
directed arcs connecting places
and transitions.
 Places may hold tokens.
 The state or marking of a net is
its assignment of tokens to
places.
Place with
token
P1
P2
T1
Arc with capacity 1
Transition
Place
Software Engineering System Models Slide 22
Capacity
 Arcs have capacity 1 by default; if other than
1, the capacity is marked on the arc.
 Places have infinite capacity by default.
 Transitions have no capacity, and cannot store
tokens at all.
 Arcs can only connect places to transitions
and vice versa.
 A few other features and considerations will be
added as we need them.
Software Engineering System Models Slide 23
Enabled transitions and firing
 A transition is enabled when the number of tokens in
each of its input places is at least equal to the arc weight
going from the place to the transition.
 An enabled transition may fire at any time.
Software Engineering System Models Slide 24
When arcs have different weights…
 When fired, the tokens in the input places are moved to
output places, according to arc weights and place
capacities.
 This results in a new marking of the net, a state
description of all places.
Software Engineering System Models Slide 25
A collection of primitive structures that
occur in real systems
Software Engineering System Models Slide 26
Semantic data models
 Used to describe the logical structure of data
processed by the system
 Entity-relation-attribute model sets out the
entities in the system, the relationships between
these entities and the entity attributes
 Widely used in database design. Can readily
be implemented using relational databases
 No specific notation provided in the UML but
objects and associations can be used
Software Engineering System Models Slide 27
Software design semantic model
Design
name
description
C-date
M-date
Link
name
type
Node
name
type
links
has-links
12
1 n
Label
name
text
icon
has-labelshas-labels
1
n
1
n
has-linkshas-nodes is-a
1
n
1
n
1
1
Software Engineering System Models Slide 28
Data dictionary entries
Name Description Type Date
has-labels
1:N relation between entities of type Node or
Link and entities of type Label. Relation 5.10.1998
Label
Holds structured or unstructured information
about nodes or links. Labels are represented by
an icon (which can be a transparent box) and
associated text.
Entity 8.12.1998
Link
A 1:1 relation between design entities
represented as nodes. Links are typed and may
be named.
Relation 8.12.1998
name (label)
Each label has a name which identifies the type
of label. The name must be unique within the
set of label types used in a design.
Attribute 8.12.1998
name (node)
Each node has a name which must be unique
within a design. The name may be up to 64
characters long.
Attribute 15.11.1998
Data dictionaries are lists of all of the names used
in the system models.
Descriptions of the entities, relationships and
attributes are also included
Software Engineering System Models Slide 29
Object models
 Object models describe the system in terms
of object classes
 An object class is an abstraction over a set of
objects with common attributes and the services
(operations) provided by each object
 Various object models may be produced
• Inheritance models
• Aggregation models
• Interaction models
Software Engineering System Models Slide 30
Object models
 Natural ways of reflecting the real-world entities
manipulated by the system
 More abstract entities are more difficult to model
using this approach
 Object class identification is recognised as a
difficult process requiring a deep understanding
of the application domain
 Object classes reflecting domain entities are
reusable across systems
Software Engineering System Models Slide 31
The Unified Modeling Language
 Devised by the developers of widely used object-oriented
analysis and design methods
 Has become an effective standard for object-oriented
modelling
 Notation
• Object classes are rectangles with the name at the top, attributes in
the middle section and operations in the bottom section
• Relationships between object classes (known as associations) are
shown as lines linking objects
• Inheritance is referred to as generalisation and is shown ‘upwards’
rather than ‘downwards’ in a hierarchy

Contenu connexe

Tendances

UML - activity diagram tutorial
UML - activity diagram tutorialUML - activity diagram tutorial
UML - activity diagram tutorialEliza Wright
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML6020 peaks
 
Importance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningImportance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningABHISHEK KUMAR
 
System Analysis & Design AND Software Engineering Topics
System Analysis & Design AND Software Engineering TopicsSystem Analysis & Design AND Software Engineering Topics
System Analysis & Design AND Software Engineering TopicsDabhi Tribhovan M.
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramKumar
 
Unit 3 system models
Unit 3 system modelsUnit 3 system models
Unit 3 system modelsAzhar Shaik
 
Activity Diagram
Activity DiagramActivity Diagram
Activity DiagramAshesh R
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsHusnain Safdar
 
SAD09 - Activity Diagrams
SAD09 - Activity DiagramsSAD09 - Activity Diagrams
SAD09 - Activity DiagramsMichael Heron
 

Tendances (20)

UML - activity diagram tutorial
UML - activity diagram tutorialUML - activity diagram tutorial
UML - activity diagram tutorial
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Ooad 3
Ooad 3Ooad 3
Ooad 3
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
Functional modeling
Functional modelingFunctional modeling
Functional modeling
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
Dynamic modeling
Dynamic modelingDynamic modeling
Dynamic modeling
 
Importance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningImportance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML Designing
 
System Analysis & Design AND Software Engineering Topics
System Analysis & Design AND Software Engineering TopicsSystem Analysis & Design AND Software Engineering Topics
System Analysis & Design AND Software Engineering Topics
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Unit 3 system models
Unit 3 system modelsUnit 3 system models
Unit 3 system models
 
Interaction overview & Timing diagram
Interaction overview & Timing diagramInteraction overview & Timing diagram
Interaction overview & Timing diagram
 
Uml sequence diagrams
Uml sequence diagramsUml sequence diagrams
Uml sequence diagrams
 
Component diagram
Component diagramComponent diagram
Component diagram
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
Interaction overview and Profile UML Diagrams
Interaction overview and Profile UML DiagramsInteraction overview and Profile UML Diagrams
Interaction overview and Profile UML Diagrams
 
SAD09 - Activity Diagrams
SAD09 - Activity DiagramsSAD09 - Activity Diagrams
SAD09 - Activity Diagrams
 
modeling concepts
modeling conceptsmodeling concepts
modeling concepts
 

En vedette

7. sequence and collaboration diagrams
7. sequence and collaboration diagrams7. sequence and collaboration diagrams
7. sequence and collaboration diagramsAPU
 
Software Engineering - Ch8
Software Engineering - Ch8Software Engineering - Ch8
Software Engineering - Ch8Siddharth Ayer
 
Ian Sommerville, Software Engineering, 9th Edition Ch 4
Ian Sommerville,  Software Engineering, 9th Edition Ch 4Ian Sommerville,  Software Engineering, 9th Edition Ch 4
Ian Sommerville, Software Engineering, 9th Edition Ch 4Mohammed Romi
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7koolkampus
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9Ian Sommerville
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation systemPIYUSH Dubey
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation SystemPriyanka Sharma
 

En vedette (7)

7. sequence and collaboration diagrams
7. sequence and collaboration diagrams7. sequence and collaboration diagrams
7. sequence and collaboration diagrams
 
Software Engineering - Ch8
Software Engineering - Ch8Software Engineering - Ch8
Software Engineering - Ch8
 
Ian Sommerville, Software Engineering, 9th Edition Ch 4
Ian Sommerville,  Software Engineering, 9th Edition Ch 4Ian Sommerville,  Software Engineering, 9th Edition Ch 4
Ian Sommerville, Software Engineering, 9th Edition Ch 4
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation System
 

Similaire à SEO Optimized Title for Software Engineering System Models Slideshow

System Modelling
System ModellingSystem Modelling
System ModellingIanBriton
 
Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7mohammad hossein Jalili
 
Systemprocessing 160107234141
Systemprocessing 160107234141Systemprocessing 160107234141
Systemprocessing 160107234141AbuulHassan2
 
Software engineering ,system modeing >>Abu ul hassan sahadvi
Software engineering ,system modeing >>Abu ul hassan sahadviSoftware engineering ,system modeing >>Abu ul hassan sahadvi
Software engineering ,system modeing >>Abu ul hassan sahadviAbuulHassan2
 
Introduction to System, Simulation and Model
Introduction to System, Simulation and ModelIntroduction to System, Simulation and Model
Introduction to System, Simulation and ModelMd. Hasan Imam Bijoy
 
Systemmodels
SystemmodelsSystemmodels
Systemmodelssietk
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introductionraksharao
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modelingantim19
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8Dhairya Joshi
 
The embedded systems Model
The embedded systems ModelThe embedded systems Model
The embedded systems ModelAJAL A J
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docxsleeperharwell
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Dr Sukhpal Singh Gill
 
Data Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case DiagramData Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case DiagramKumar
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfProf. Dr. K. Adisesha
 

Similaire à SEO Optimized Title for Software Engineering System Models Slideshow (20)

ch07.ppt
ch07.pptch07.ppt
ch07.ppt
 
System Modelling
System ModellingSystem Modelling
System Modelling
 
Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7Software engineering rogers pressman chapter 7
Software engineering rogers pressman chapter 7
 
Systemprocessing 160107234141
Systemprocessing 160107234141Systemprocessing 160107234141
Systemprocessing 160107234141
 
Software engineering ,system modeing >>Abu ul hassan sahadvi
Software engineering ,system modeing >>Abu ul hassan sahadviSoftware engineering ,system modeing >>Abu ul hassan sahadvi
Software engineering ,system modeing >>Abu ul hassan sahadvi
 
Introduction to System, Simulation and Model
Introduction to System, Simulation and ModelIntroduction to System, Simulation and Model
Introduction to System, Simulation and Model
 
Systemmodels
SystemmodelsSystemmodels
Systemmodels
 
Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
 
MODELING & SIMULATION.docx
MODELING & SIMULATION.docxMODELING & SIMULATION.docx
MODELING & SIMULATION.docx
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
 
Jar chapter 4_part_ii
Jar chapter 4_part_iiJar chapter 4_part_ii
Jar chapter 4_part_ii
 
Ch7
Ch7Ch7
Ch7
 
Ch7
Ch7Ch7
Ch7
 
SECh78
SECh78SECh78
SECh78
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8
 
The embedded systems Model
The embedded systems ModelThe embedded systems Model
The embedded systems Model
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
 
Data Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case DiagramData Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case Diagram
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
 

Dernier

"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfisabel213075
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书rnrncn29
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTSneha Padhiar
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsapna80328
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSneha Padhiar
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 

Dernier (20)

"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
List of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdfList of Accredited Concrete Batching Plant.pdf
List of Accredited Concrete Batching Plant.pdf
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
『澳洲文凭』买麦考瑞大学毕业证书成绩单办理澳洲Macquarie文凭学位证书
 
Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptxDesigning pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveying
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 

SEO Optimized Title for Software Engineering System Models Slideshow

  • 1. Software Engineering System Models Slide 1 Software Engineering System Models
  • 2. Software Engineering System Models Slide 2 System models are abstract descriptions of systems whose requirements are being analysed
  • 3. Software Engineering System Models Slide 3 System modelling  System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers  Different models present the system from different perspectives • External perspective showing the system’s context or environment • Behavioural perspective showing the behaviour of the system • Structural perspective showing the system or data architecture
  • 4. Software Engineering System Models Slide 4 System models weaknesses  They do not model non-functional system requirements  They do not usually include information about whether a method is appropriate for a given problem  They may produce too much documentation  The system models are sometimes too detailed and difficult for users to understand
  • 5. Software Engineering System Models Slide 5 Model types  Data processing model showing how the data is processed at different stages  Composition model showing how entities are composed of other entities  Architectural model showing principal sub-systems  Classification model showing how entities have common characteristics  Stimulus/response model showing the system’s reaction to events
  • 6. Software Engineering System Models Slide 6 Context models  Context models are used to illustrate the boundaries of a system  Social and organisational concerns may affect the decision on where to position system boundaries  Architectural models show the a system and its relationship with other systems
  • 7. Software Engineering System Models Slide 7 The context of an ATM system Auto-teller system Security system Maintenance system Account database Usage database Branch accounting system Branch counter system
  • 8. Software Engineering System Models Slide 8 Process models  Process models show the overall process and the processes that are supported by the system  Data flow models may be used to show the processes and the flow of information from one process to another
  • 9. Software Engineering System Models Slide 9 Equipment procurement process Get cost estimates Accept delivery of equipment Check delivered items Validate specification Specify equipment required Choose supplier Place equipment order Install equipment Find suppliers Supplier database Accept delivered equipment Equipment database Equipment spec. Checked spec. Delivery note Delivery note Order notification Installation instructions Installation acceptance Equipment details Checked and signed order form Order details + Blank order form Spec. + supplier + estimate Supplier list Equipment spec.
  • 10. Software Engineering System Models Slide 10 Behavioural models  Behavioural models are used to describe the overall behaviour of a system  Two types of behavioural model • 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  Both of these models are required for a description of the system’s behaviour
  • 11. Software Engineering System Models Slide 11 Data-processing models  Data flow diagrams are used to model the system’s data processing  These show the processing steps as data flows through a system  IMPORTANT part of many analysis methods  Simple and intuitive notation that customers can understand  Show end-to-end processing of data
  • 12. Software Engineering System Models Slide 12 Order processing DFD Complete order form Order details + blank order form Validate order Record order Send to supplier Adjust available budget Budget file Orders file Completed order form Signed order form Signed order form Checked and signed order + order notification Order amount + account details Signed order form Order details
  • 13. Software Engineering System Models Slide 13 Data flow diagrams  DFDs model the system from a functional perspective  Tracking and documenting how the data associated with a process is helpful to develop an overall understanding of the system  Data flow diagrams may also be used in showing the data exchange between a system and other systems in its environment
  • 14. Software Engineering System Models Slide 14 2.2 State machine models  State Machine models the behaviour of the system in response to external and internal events  They show the system’s responses to stimuli so are often used for modelling 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  Statecharts are an integral part of the UML
  • 15. Software Engineering System Models Slide 15 Microwave oven model Full power Enabled do: operate oven Full power Half power Half power Full power Number Timer Door open Door closed Door closed Door open Start do: set power = 600 Half power do: set power = 300 Set time do: get number exit: set time Disabled Operation Timer Cancel Waiting do: display time Waiting do: display time do: display 'Ready' do: display 'Waiting' State machine model does not show flow of data within the system
  • 16. Software Engineering System Models Slide 16 Microwave oven stimuli Stimulus Description Half power The user has pressed the half power button Full power The user has pressed the full power button Timer The user has pressed one of the timer buttons Number The user has pressed a numeric key Door open The oven door switch is not closed Door closed The oven door switch is closed Start The user has pressed the start button Cancel The user has pressed the cancel button
  • 17. Software Engineering System Models Slide 17 Finite state machines Finite State Machines (FSM), also known as Finite State Automata (FSA) are models of the behaviours of a system or a complex object, with a limited number of defined conditions or modes, where mode transitions change with circumstance.
  • 18. Software Engineering System Models Slide 18 Finite state machines - Definition A model of computation consisting of • a set of states, • a start state, • an input alphabet, and • a transition function that maps input symbols and current states to a next state  Computation begins in the start state with an input string. It changes to new states depending on the transition function. • states define behaviour and may produce actions • state transitions are movement from one state to another • rules or conditions must be met to allow a state transition • input events are either externally or internally generated, which may possibly trigger rules and lead to state transitions
  • 19. Software Engineering System Models Slide 19 Statecharts  Allow the decomposition of a model into sub-models (see a figure)  A brief description of the actions is included following the ‘do’ in each state  Can be complemented by tables describing the states and the stimuli Cook do: run generator Done do: buzzer on for 5 secs. Waiting Alarm do: display event do: check status Checking Turntable fault Emitter fault Disabled OK Timeout Time Operation Door open Cancel
  • 20. Software Engineering System Models Slide 20 Petri Nets Model  Petri Nets were developed originally by Carl Adam Petri, and were the subject of his dissertation in 1962.  Since then, Petri Nets and their concepts have been extended, developed, and applied in a variety of areas.  While the mathematical properties of Petri Nets are interesting and useful, the beginner will find that a good approach is to learn to model systems by constructing them graphically.
  • 21. Software Engineering System Models Slide 21 The Basics  A Petri Net is a collection of directed arcs connecting places and transitions.  Places may hold tokens.  The state or marking of a net is its assignment of tokens to places. Place with token P1 P2 T1 Arc with capacity 1 Transition Place
  • 22. Software Engineering System Models Slide 22 Capacity  Arcs have capacity 1 by default; if other than 1, the capacity is marked on the arc.  Places have infinite capacity by default.  Transitions have no capacity, and cannot store tokens at all.  Arcs can only connect places to transitions and vice versa.  A few other features and considerations will be added as we need them.
  • 23. Software Engineering System Models Slide 23 Enabled transitions and firing  A transition is enabled when the number of tokens in each of its input places is at least equal to the arc weight going from the place to the transition.  An enabled transition may fire at any time.
  • 24. Software Engineering System Models Slide 24 When arcs have different weights…  When fired, the tokens in the input places are moved to output places, according to arc weights and place capacities.  This results in a new marking of the net, a state description of all places.
  • 25. Software Engineering System Models Slide 25 A collection of primitive structures that occur in real systems
  • 26. Software Engineering System Models Slide 26 Semantic data models  Used to describe the logical structure of data processed by the system  Entity-relation-attribute model sets out the entities in the system, the relationships between these entities and the entity attributes  Widely used in database design. Can readily be implemented using relational databases  No specific notation provided in the UML but objects and associations can be used
  • 27. Software Engineering System Models Slide 27 Software design semantic model Design name description C-date M-date Link name type Node name type links has-links 12 1 n Label name text icon has-labelshas-labels 1 n 1 n has-linkshas-nodes is-a 1 n 1 n 1 1
  • 28. Software Engineering System Models Slide 28 Data dictionary entries Name Description Type Date has-labels 1:N relation between entities of type Node or Link and entities of type Label. Relation 5.10.1998 Label Holds structured or unstructured information about nodes or links. Labels are represented by an icon (which can be a transparent box) and associated text. Entity 8.12.1998 Link A 1:1 relation between design entities represented as nodes. Links are typed and may be named. Relation 8.12.1998 name (label) Each label has a name which identifies the type of label. The name must be unique within the set of label types used in a design. Attribute 8.12.1998 name (node) Each node has a name which must be unique within a design. The name may be up to 64 characters long. Attribute 15.11.1998 Data dictionaries are lists of all of the names used in the system models. Descriptions of the entities, relationships and attributes are also included
  • 29. Software Engineering System Models Slide 29 Object models  Object models describe the system in terms of object classes  An object class is an abstraction over a set of objects with common attributes and the services (operations) provided by each object  Various object models may be produced • Inheritance models • Aggregation models • Interaction models
  • 30. Software Engineering System Models Slide 30 Object models  Natural ways of reflecting the real-world entities manipulated by the system  More abstract entities are more difficult to model using this approach  Object class identification is recognised as a difficult process requiring a deep understanding of the application domain  Object classes reflecting domain entities are reusable across systems
  • 31. Software Engineering System Models Slide 31 The Unified Modeling Language  Devised by the developers of widely used object-oriented analysis and design methods  Has become an effective standard for object-oriented modelling  Notation • Object classes are rectangles with the name at the top, attributes in the middle section and operations in the bottom section • Relationships between object classes (known as associations) are shown as lines linking objects • Inheritance is referred to as generalisation and is shown ‘upwards’ rather than ‘downwards’ in a hierarchy