8.a Structuring System Process Requirements
8.a Structuring System Process Requirements
SYSTEM
PROCESS
REQUIREMENTS
COMSCI 2201
Learning Objectives
Understand the logical modeling of processes by studying
examples of data flow diagrams;
Draw data flow diagrams following specific rules and
guidelines that lead to accurate and well-structured process
models;
Decompose data flow diagrams into lower-level diagrams;
Balance higher-level and lower-level data flow diagrams;
Use data flow diagrams as a tool to support the analysis of
information systems; and
Discuss use case modeling.
Process Modeling
Process Modeling (cont…)
Graphically represent the processes that:
– capture,
– manipulate,
– store,
– distribute data between a system and its environment and
among system components.
Utilize
information gathered during requirements
determination.
Processes and data structures are modeled.
Definitions and Symbols
entity
Definitions and Symbols (cont…)
Process:
– work or actions performed on data (inside the
system)
Data store:
– data at rest (inside the system)
Entity:
– external entity that is origin or destination of data
(outside the system)
Data flow:
– arrows depicting movement of data
Context-Level Data Flow Diagrams
A context-level data
flow diagram
for an airline
reservation system
Context Diagram: Example
Data Flow Diagram
Data Flow Diagram (DFD) is a picture of the
movement of data between external entities and the
processes and data stores within a system.
A graphical system model that shows all of the main
requirements for an information system: inputs, outputs,
processes, and data storage
They are primarily used in the systems development
process.
Data Flow Diagram (cont…)
Level-0 diagram
– a data flow diagram that represents a system’s
major processes, data flows, and data stores at a
high level of detail.
– Processes are labeled 1.0, 2.0, etc. These will be
decomposed into more primitive (lower-level)
DFDs.
Level-0 Diagram
FIGURE 7-5
Level-0 DFD of Hoosier Burger’s
food-ordering system
Data Flow Diagram: Basic Symbols
Data Flow Diagram: External Entities
Represent another department, a business, a person, or a
machine.
A source or destination of data, outside the boundaries of the
system.
Labels should be noun phrases.
Data Flow Diagram: Data Flow
Shows movement of data from one point to another.
Described with a noun.
Arrowhead indicates the flow direction.
Represents data about a person, place, or thing.
Can represent flow between process and data store by two
separate arrows.
Data Flow Diagram: Process
Denotes a change in or transformation of data.
Represents work being performed in the system.
Can connect to any other symbol (including another process
symbol).
Naming convention:
– Assign the name of the whole system when naming a high-level process.
– To name a major subsystem attach the word subsystem to the name.
– Use the form verb-adjective-noun for detailed processes.
Data Flow Diagram: Data Store
A depository for data that allows examination, addition, and
retrieval of data.
Named with a noun, describing the data.
Data stores are usually given a unique reference number, such
as D1, D2, D3
Represents a:
Database
Computerized file
Filing cabinet
Data Flow Diagram: Naming Guidelines
This is a Level-2
DFD for Process
4.3.
(a) CEO:
– company sales report
(b) STORE MANAGER:
– store sales report
– modify employee information
(c) SUPPLIER:
– modify product information
– modify supplier information
(2) Construct Context Level DFD
(3) Construct
Level 0 DFD
(4) Construct
Level 1 DFD
Data
(4) Construct
Level 1 DFD
Data
2.3 2.4
2.1 2.2
2.5
Data
Data
(4) Construct
Level 1 DFD Data
Data