Beruflich Dokumente
Kultur Dokumente
Behavioural Modeling
Lecture Objectives
Context Diagram
Customer
Customer Order
Kitchen
Food
Ordering
System
Receipt
Food Order
Management
Reports
Restaurant
Manager
2
Functional Modeling
Level-1 DFD
Customer Order
Customer
Receipt
Goods Sold
1. Process
Customer
Order
2. Update
Goods Sold
Goods Sold
Record
Goods Sold
3
Daily Goods
Sold Amounts
Kitchen
Food Order
Inventory
Data
3. Update
Inventory
4. Produce
Management
Reports
Management
Reports
Inventory
Record
Restaurant
Manager
External Entity
Data Store
Supplier
Management
Process
2. Student
Registration
10
Process
No process can have only outputs.
No process can have only inputs.
A process has a verb label.
2.1 Accept
Registration
Details
Data Flow
11
DFD Rules
Data Store
Data cannot move directly from one data
store to another data store.
Data cannot move directly from an outside
source to a data store.
Data cannot move directly to an outside sink
from a data store.
A data store has a noun phrase label.
student record
Courses
DFD Rules
Inventory
12
DFD Rules
DFD Characteristics
Source/Sink
Data cannot move directly from a source to a
sink. It must be moved by a process if the
data are of any concern to our system.
A source/sink has a noun phrase label.
13
DFD Rules
Behavioural Modeling
Data Flow
events
Outside
world
14
DFD Rules
behavior
Application
17
Behavioural Modeling
16
15
18
State Transition
Diagram (STD) Notation
State
Event causing transition
Action that occurs
New state
References
19
22
State Transition
Diagram (STD)
announce
complete
Idle
hangup
incoming call
button
pressed
initiate answer
Connected
Ringing
20
State Transition
Diagram Elements
State - any observable mode of behaviour
represented as a node in STD
21