CH7 Rev
CH7 Rev
Basic Symbols
§ A double square for an external entity
§ An arrow for movement of data from one point to another
§ A rectangle with rounded corners for the occurrence of a
transforming process
§ An open-ended rectangle for a data store
Basic Rules
External Entities § The data flow diagram must have one process
§ Represent another department, a business, a person, or a § Must not be any freestanding objects
machine § A process must have both an input and output data flow
§ A source or destination of data, outside the boundaries of the § A data store must be connected to at least one process
system § External entities should not be connected to one another
§ Should be named with a noun
Context 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
Process
§ Denotes a change in or transformation of data
§ Represents work being performed in the system Drawing Diagram 0
§ Naming convention: § The explosion of the context diagram
o Assign the name of the whole system when naming § May include up to nine processes
a high level process § Each process is numbered
o To name a major subsystem attach the word § Major data stores and all external entities are included
subsystem to the name § Start with the data flow from an entity on the input side
o Use the form verb adjective noun for detailed § Work backward from an output data flow
processes § Examine the data flow to or from a data store
§ Analyze a well-defined process
§ Take note of any fuzzy areas
Note Greater Detail in Diagram 0 Checking the Diagrams for Errors
§ Forgetting to include a data flow or pointing an arrow in the
wrong direction
Developing Logical Data Flow Diagrams An Event Response Table for an Internet Storefront
• Better communication with users
• More stable systems
• Better understanding of the business by analysts
• Flexibility and maintenance
• Elimination of redundancy and easier creation of the
physical model
Partitioning Websites
• Improves the way humans use the site
• Improves speed of processing
• Ease of maintaining the site
• Keep the transaction secure
Summary
§ Data flow diagrams
o Structured analysis and design tools that allow the
analyst to comprehend the system and subsystems
visually as a set of interrelated data flows
§ DFD symbols
o Rounded rectangle
o Double square
o An arrow
o Open ended rectangle
§ Creating the logical DFD
o Context level data flow diagram
o Level 0 logical data flow diagram
o Child diagrams
§ Creating the physical DFD
o Create from the logical data flow diagram
o Partitioned to facilitate programming
§ Partitioning data flow diagrams
o Whether processes are performed by diXerent user
groups
o Processes execute at the same time
o Processes perform similar tasks
o Batch processes can be combined for eXiciency of
data
o Processes may be partitioned into diXerent
programs for security reasons