Structured Analysis and Structured Design (SA/SD) : J.Govindarajan, Asst - Prof., CSE
Structured Analysis and Structured Design (SA/SD) : J.Govindarajan, Asst - Prof., CSE
The data flow diagram enables the software engineer to develop models of the information domain and functional domain at the same time.
The basic form of a data flow diagram, also known as a data flow graph or a bubble chart.
J.Govindarajan, Asst.Prof., CSE
It provides a description based on modeling the flow of information around a network of operational elements, with each element making use of or modifying the information flowing into that element.
J.Govindarajan, Asst.Prof., CSE
Elements of DFD
Entity Process Data flow Data store
J.Govindarajan, Asst.Prof., CSE
DFD: Abstraction
DFD may be used to represent a system or software at any level of abstraction.
DFDs may be partitioned into levels that represent increasing information flow and functional detail.
DFD provides a mechanism for functional modeling as well as information flow modeling.
J.Govindarajan, Asst.Prof., CSE
Process
Purpose:
The process shows a part of the system that transforms inputs into outputs.i.e.,it shows how one or more inputs are changed into outputs.
Flow
Purpose:
Used to describe the movement of chunks, or packets of information from one part of the system to another part. Shows data in motion
Represenation:
arrow into or out of a process
Flow Name:
The name represents the meaning of the information that moves along the flow good name: noun Eg: Phone number, User name, Password . etc. J.Govindarajan, Asst.Prof., CSE
Data flow
Same content may have a different meaning in different parts of the system
Dialog flow
Converging flow:
several elementary packets of data are joining together to form more complex, aggregate packets of data.
J.Govindarajan, Asst.Prof., CSE
Does process Q require exactly one packet from input flows A, B, and C in order to produce exactly one output packet for output flows X, Y, and Z? Or are there two As for every three Bs?
J.Govindarajan, Asst.Prof., CSE
Store
Purpose:
used to model a collection of data packets at rest. stores represent data at rest
Representation:
Two parallel lines
Alternative Represenations:
Store Name:
Chosen to identify the store is the plural of the name of the packets that are carried by flows into and out of the store.
J.Govindarajan, Asst.Prof., CSE
for
variety
of
Data store
User requirement:
The store exists as a necessary time-delayed storage area between two processes that occur at different times.
Implementation requirement
The systems analyst or the systems designer thought that the user might eventually want to access the information for some other purpose.
J.Govindarajan, Asst.Prof., CSE
Use of numbering: Convenient way of referring to the process J.Govindarajan, Asst.Prof., CSE
Guideline: Ensure that DFD Is Logically Consistent Beware of unlabeled flows and unlabeled processes
LEVELED DFDs
Show a store at the highest level where it first serves as an interface between two or more bubbles Then show it again in EVERY lower-level diagram that further describes (or partitions) those interface bubbles.
1. Constructing child diagrams (Level 1 Diagrams) will be drawn for each process illustrated by Level 0 diagrams.
J.Govindarajan, Asst.Prof., CSE
Examples
kitchen,
inventory,
monitors
and
the
goods
sold
and
for
generates
reports
management.
Functions
takes customer orders, sends the order to the kitchen Stores the goods sold generates management reports for manger and receipts for customer. .
Functions
takes customer orders, sends the order to the kitchen Stores the goods sold generates management reports for manger
takes customer orders, sends the order to the kitchen Stores the goods sold generates management reports for manger generates receipts for customer.
Customer
Kitchen Manager
Customer
Food Order Customer receipt
Kitchen
Management report
Manager
J.Govindarajan, Asst.Prof., CSE
Major Functions
takes customer orders
Major Functions
takes customer orders
management
reports
for
Customer
Goods Sold
Customer receipt
Food Order
Manager Report
Kitchen
J.Govindarajan, Asst.Prof., CSE
Manager
Customer Order
Customer Order
Customer Order 1. 3. Transform customer order Food Order 1.4. Stores goods sold Goods Sold
Kitchen
J.Govindarajan, Asst.Prof., CSE
Goods sold
Manager Report
Manager
J.Govindarajan, Asst.Prof., CSE