data flow diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/dfd11.pdf · kendall &...
TRANSCRIPT
![Page 1: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/1.jpg)
Kendall & Kendall 7-1
Data Flow Diagrams
System Analysis
(1932475(
7
![Page 2: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/2.jpg)
Kendall & Kendall 7-2
Data Flow Diagrams
• A top down approach to diagramming data movement , it moves from general to specific.
• Graphically characterize data processes and flows in a business system
• Depict:
• System inputs
• Processes
• outputs
![Page 3: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/3.jpg)
Kendall & Kendall 7-3
Advantages of the Data Flow Diagram
• Freedom from committing to the technical implementation too early
• Understanding of the interrelatedness of systems and subsystems
• Communicating current system knowledge to users
• Analysis of the proposed system
![Page 4: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/4.jpg)
Kendall & Kendall 7-4
Basic Symbols for DFD
External Entity
Data Flow
Process
Data Store
Square
Arrow
Rounded Rectangle
Open ended Rectangle
![Page 5: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/5.jpg)
Kendall & Kendall 7-5
External Entities
• Represent another department, a business, a person, or a machine
• A source or destination of data, outside the boundaries of the system
• Should be named with a noun
The same entity may be used more than once on a given data flow diagram
![Page 6: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/6.jpg)
Kendall & Kendall 7-6
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
![Page 7: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/7.jpg)
Kendall & Kendall 7-7
Process
• Denotes a change in or transformation of data• Represents work being performed in the system• 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
Note :The data flow leaving a process is always labeled differently then the data flow entering the process.
![Page 8: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/8.jpg)
Kendall & Kendall 7-8
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:• Filing cabinet
• Database
• Computerized file
![Page 9: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/9.jpg)
Kendall & Kendall 7-9
Steps in developing data flow diagrams
![Page 10: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/10.jpg)
Kendall & Kendall 7-10
Creating the Context Diagram
• The highest level in a data flow diagram
• Contains only one process, representing the entire system
• The process is given the number 0
• All external entities, as well as Major data flows are shown
• The diagram does not contain any data stores.
![Page 11: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/11.jpg)
Kendall & Kendall 7-11
Context Level diagram
![Page 12: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/12.jpg)
Kendall & Kendall 7-12
Drawing Diagram 0
• The explosion of the context diagram
• May include up to nine processes
• Each process is numbered( with integer).
• Major data stores and all external entities are included
![Page 13: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/13.jpg)
Kendall & Kendall 7-13
Drawing Diagram 0 (Continued)
• Start with the data flow from an entity on the input side
• Work backwards from an output data flow
• Examine the data flow to or from a data store
• Analyze a well-defined process
![Page 14: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/14.jpg)
Kendall & Kendall 7-14
Level 0 Diagram
![Page 15: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/15.jpg)
Kendall & Kendall 7-15
Data Flow Diagram Levels
• Data flow diagrams are built in layers
• The top level is the Context level
• Each process may explode to a lower level
• The lower level diagram number is the same as the parent process number
• Processes that do not create a child diagram are called primitive
![Page 16: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/16.jpg)
Kendall & Kendall 7-16
Creating Child Diagrams
• Each process on diagram 0 may be exploded to create a child diagram
• A child diagram cannot produce output or receive input that the parent process does not also produce or receive.
• The child process is given the same number as the parent process.
Example :Suppose that we have a process at level 0 diagram that has the number 3.0Then if we explode this process to 3 processes at level 1(child diagram) , the child processes will take the numbers 3.1.1 and 3.1.2 and 3.1.3 .
![Page 17: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/17.jpg)
Kendall & Kendall 7-17
Creating Child Diagrams (Continued)
• Entities are usually not shown on the child diagrams below Diagram 0
• If the parent process has data flow connecting to a data store, the child diagram may include the data store as well
• When a process is not exploded, it is called a primitive process
![Page 18: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/18.jpg)
Kendall & Kendall 7-18
Differences between the parent diagram (above) and the child diagram (below)
Child processes numbering
Balanced explosion
![Page 19: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/19.jpg)
Kendall & Kendall 7-19
Naming in DFD
• External Entities should be named with a noun.
• Process should be named with:• a system name.
• a subsystem name.
• with a verb-adjective-noun format.
• Process should have a unique reference number.
• Data store should be named with a noun.
![Page 20: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/20.jpg)
Kendall & Kendall 7-20
Checking the Diagrams for Errors
1. Forgetting to include a data flow or pointing an arrow in the wrong direction
![Page 21: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/21.jpg)
Kendall & Kendall 7-21
A process may have no input data flow(Error)
Checking the Diagrams for Errors
A process may have no output data flow(Error)
Input no sufficient to produce output (Error)
![Page 22: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/22.jpg)
Kendall & Kendall 7-22
Checking the Diagrams for Errors
2. Connecting data stores and external entities directly to each other
![Page 23: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/23.jpg)
Kendall & Kendall 7-23
Checking the Diagrams for Errors
![Page 24: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/24.jpg)
Kendall & Kendall 7-24
Checking the Diagrams for Errors
3.Incorrectly labeling processes or data flow
4.Including more than nine processes on a data flow diagram ) we prefer not more 9).
![Page 25: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/25.jpg)
Kendall & Kendall 7-25
Checking the Diagrams for Errors
5. Omitting data flow.
6. Creating unbalanced decomposition (or explosion) in child diagrams.
![Page 26: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/26.jpg)
Kendall & Kendall 7-26
Example :unbalanced decomposition
Entity 1 Entity 2
(a) Context diagram
(b) Level-0 diagram
Entity 1
Entity 2
0
Entitiy3
1.0
2.0
A B
A
C
B
X X
Unbalanced Decomposition
D X
This DF is omitted at level 0 (Error)
![Page 27: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/27.jpg)
Kendall & Kendall 7-27
Example :Typical errors that can occur in a data flow diagram.
(payroll example)
![Page 28: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/28.jpg)
Kendall & Kendall 7-28
Example 2: DFD with common errors
![Page 29: Data Flow Diagrams - jufiles.comjufiles.com/wp-content/uploads/2016/11/DFD11.pdf · Kendall & Kendall 7-2 Data Flow Diagrams •A top down approach to diagramming data movement ,](https://reader031.vdocuments.net/reader031/viewer/2022030405/5a7a633a7f8b9a01528db6f6/html5/thumbnails/29.jpg)
Kendall & Kendall 7-29
Example :