SE Models
SE Models
SE Models
◼ Context models
◼ Behavioural models
◼ Data models
◼ Object models
System modelling
Security
sy stem
Branch
Account
accounting
da tabase
sy stem
Auto-teller
sy stem
Branch
Usage
counter
database
sy stem
Maintenance
sy stem
Process models
15
DFD Symbols (cont.)
17
Data Flow
2.1
Payment Detail
D1 Accounts
Post Invoice Detail Receivable
Payment
18
Data Store
D1 Students
19
External Entity or Source/Sink
1.0
Order
CUSTOMER Invoice
Verify
Order
YES NO
A process to another process
27
Advantages of DFDs
28
Order processing DFD
Data flow diagrams
◼ Context DFD
❑ Overview of the organizational system
◼ Level-0 DFD
❑ Representation of system’s major processes at high
level of abstraction
◼ Level-1 DFD
❑ Results from decomposition of Level 0 diagram
◼ Level-n DFD
❑ Results from decomposition of Level n-1 diagram
Context Diagram
Context diagram
shows the
system
boundaries,
external entities
that interact with
the system, and
major
information flows
between entities
and the system.
Level-0 DFD
shows the
system’s major
processes, data
flows, and data
stores at a high
level of
abstraction.
Processes are labeled 1.0, 2.0, etc. These will be decomposed into
more primitive (lower-level) DFDs.
Level-1 DFD
This is a Level-1
DFD for Process
4.0.
This is a Level-2
DFD for Process
4.3.
◼ Completeness
❑ DFD must include all components necessary for
system.
❑ Each component must be fully described in the
project dictionary or CASE repository.
◼ Consistency
❑ The extent to which information contained on one
level of a set of nested DFDs is also included on
other levels.
Guidelines for Drawing DFDs (cont.)
◼ Timing
❑ Time is not represented well on DFDs.
❑ Best to draw DFDs as if the system has never
started and will never stop.
◼ Iterative Development
❑ Analyst should expect to redraw diagram several
times before reaching the closest approximation
to the system being modeled.
Guidelines for Drawing DFDs (cont.)
◼ Primitive DFDs
❑ Lowest logical level of decomposition
❑ Decision has to be made when to stop
decomposition
Semantic data models
◼ Entity
◼ Attributes
◼ Relationships
Entity
◼ An entity can be a real-world object, that can
be identifiable.
◼ An entity is denoted as a rectangle in an ER
diagram.
◼ All these entities have some attributes or
properties that give them their identity.
◼ For example, a Student set may contain all
the students of a school; likewise, a Teacher
set may include all the teachers of a school
from all faculties.
Entity Set
◼ Binary (degree2)
◼ Ternary (degree3)
Cardinality
◼ One to One:
◼ One to many:
◼ Many to One:
◼ Many to Many: