Data Flow Diagram (DFD) is a graphical representation of data flow in any system. It is capable of illustrating incoming data flow, outgoing data flow and store data. Data flow diagram describes anything about how data flows through the system.
Sometimes people get confused between data flow diagram and flowchart. There is a major difference between data flow diagram and flowchart. The flowchart illustrates flow of control in program modules. Data flow diagrams illustrate flow of data in the system at various levels. Data flow diagram does not have any control or branch elements.
Types of DFD :
DFD is of two types:
- Logical DFD:
Logical data flow diagram mainly focuses on the system process. It illustrates how data flows in the system. Logical DFD is used in various organizations for the smooth running of system. Like in a Banking software system, it is used to describe how data is moved from one entity to another.
- Physical DFD:
Physical data flow diagram shows how the data flow is actually implemented in the system. Physical DFD is more specific and close to implementation.
Components of Data Flow Diagram:
Following are the components of the data flow diagram that are used to represent source, destination, storage and flow of data.
Entities include source and destination of the data. Entities are represented by rectangle with their corresponding names.
The tasks performed on the data is known as process. Process is represented by circle. Somewhere round edge rectangles are also used to represent process.
- Data Storage:
Data storage includes the database of the system. It is represented by rectangle with both smaller sides missing or in other words within two parallel lines.
- Data Flow:
The movement of data in the system is known as data flow. It is represented with the help of arrow. The tail of the arrow is source and the head of the arrow is destination.
Importance of Data Flow Diagram:
Data flow diagram is a simple formalism to represent the flow of data in the system. It allows a simple set of intuitive concepts and rules. It is an elegant technique that is useful to represent the results of structured analysis of software problem as well as to represent the flow of documents in an organization.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- What is DFD(Data Flow Diagram)?
- Levels in Data Flow Diagrams (DFD)
- Rules for Data Flow Diagram
- Difference between DFD and ERD
- DFD for Spell Checking and Correcting in Word Processor
- DFD for ATM system
- DFD for Library Management System
- DFD for Food Ordering System
- Data Flow Testing
- Short Note on Activity and Swimlane Diagram
- Difference between Structure chart and Flow chart
- Functional modeling and Information Flow modeling
- Use Case Diagram for Library Management System
- Use Case Diagram for Bank ATM System
- Component Based Diagram
- Class Diagram for Library Management System
- State Transition Diagram for an ATM System
- Software Engineering | Cash Flow Forecasting
- Software Engineering | Control Flow Graph (CFG)
- Control Flow Software Testing