DFD (Data Flow Diagram)
DFD (Data Flow Diagram)
Introduction
• A picture is worth a thousand words. A Data Flow Diagram (DFD) is a
traditional way to visualize the information flows within a system.
• The flow of data of a system or a process is represented by DFD. It
also gives insight into the inputs and outputs of each entity and the
process itself.
• DFD does not have control flow and no loops or decision rules are
present. Specific operations depending on the type of data can be
explained by a flowchart.
Introduction
• It is a graphical tool, useful for communicating with users ,managers
and other personnel. it is useful for analyzing existing as well as
proposed system.
• A neat and clear DFD can depict a good amount of the system
requirements graphically. It can be manual, automated, or a
combination of both.
Introduction
• It should be pointed out that a DFD is not a flowchart. In drawing the
DFD, the designer has to specify the major transforms in the path of
the data flowing from the input to the output. DFDs can be
hierarchically organized, which helps in progressively partitioning and
analyzing large systems.
• It provides an overview of
• What data is system processes.
• What transformation are performed.
• What data are stored.
• What results are produced , etc.
Introduction
• Data Flow Diagram can be represented in several ways. The DFD
belongs to structured-analysis modeling tools.
• Data Flow diagrams are very popular because they help us to visualize
the major steps and data involved in software-system processes.
Types of DFDs
• There are two types of DFDs — logical and physical.
• The most common and intuitive DFDs are level 0 DFDs, also called
context diagrams. They’re digestible, high-level overviews of the flow
of information through a system or process, so almost anyone can
understand it.
Level 0: Context Diagram
• This DFD level focuses on high-level system processes or functions
and the data sources that flow to or from them. Level 0 diagrams are
designed to be simple, straightforward overviews of a process or
system.
Level 1: Process Decomposition
• While level 1 DFDs are still
broad overviews of a system or
process, they’re also more
detailed — they break down
the system’s single process
node into subprocesses.
Level 2: Deeper Dives
• The next level of DFDs dives even deeper into detail by breaking down
each level 1 process into granular subprocesses.
Level 3: Increasing Complexity
• Level 3 and higher-numbered DFDs are uncommon.
• This is largely due to the amount of detail required, which defeats its
original purpose of being easy to understand.
Class Task
The university administration wants to develop a student registration
system to streamline the process of enrolling students in courses each
semester. The system should allow students to register for courses online,
track their academic progress, and generate reports for academic advisors
and department heads.
3. Process: Reporting
- Subprocesses may include generating student transcripts, enrollment
reports, and course evaluation summaries.