WK 4 Data Flow Diagram (DFD)
WK 4 Data Flow Diagram (DFD)
Week-4-Lesson-1
Data Flow Diagram(DFD)
Learning Goals
What are Data Flow Diagrams (DFDs)?
Why they are useful?
How are they developed?
How to level DFDs?
Good style conventions in developing DFDs
Difference between Logical and Physical
DFDs
Tools available to draw DFDs
Flow-Oriented Modeling
Represents how data objects are transformed at they
move through the system.
Data flow diagram (DFD) is the diagrammatic
form that is used.
By drawing a Data Flow Diagram, you can tell the
information provided by and delivered to someone
who takes part in system processes, the information
needed to complete the processes and the information
needed to be stored and accessed.
3
The Flow Model
Every computer-based system is an
information transform ....
computer
input based output
system
4
Data Flow Diagrams
WHAT ARE DATA FLOW DIAGRAMS?
DFDs models the system by depicting
External entities from which the data flows and
where results terminate
Processes which transform data flows
Data stores from which the data are read or into
which data are written by the processes.
Flow Modeling Notation
External Entity
Process
Data flow
Data store
6
External Entity
A producer or consumer of data
7
Process
A data transformer (changes input
to output)
height area
9
Data Stores
Data is often stored for later use.
sensor #
sensor #, type,
look-up location, age
sensor
report required data
type,
location, age
sensor number
sensor data
10
DFD Rules and Tips
Each process should have at least one input
and an output.
Each data store should have at least one data
flow in and one data flow out.
Data stored in a system must go through a
process.
All processes in a DFD go to another process
or a data store.
DFD levels and layers:
From context diagrams to pseudocode
- Physical DFD
specifies actual
flow of physical
documentation,
while logical DFD
only focus on the
information flow
in business term.
Example-1
An advertisement is issued giving essential qualifications for the course , the last date for
receipt of application, and the fee to be enclosed with the application. A clerk in the
Registrar’s office checks the received applications to see if mark sheet and fee are
enclosed and sends valid applications to the concerned academic department. The
department checks the application in details and decides the applications to be admitted,
those to be put in the waiting list, and those rejected. Appropriate letters are sent to the
Registrar’s office which intimates the applicant.
Example-2
A magazine is published monthly and is sent by post to its subscribers. Two months
before the expiry of subscriptions, a reminder is sent to the subscribers. If subscription is
not received within a month, another reminder is send. If renewal subscription is not
received up to two weeks before the expiry of the subscriptions, the subscribers name is
removed from the mailing list and the subscriber informed.
Example-3
A list of employees with their basic pay is sent to a clerk. He calculates the gross pay
using standard allowances which are known for each pay slab. Deduction statements such
as loan payment subscription to association etc. are also sent to another clerk who
matches these slips with the slips of gross pay and calculates net pay. This slip is used by
another clerk to write out pay cheques for each employee and sent to respective
employees. The total pay bills paid are also computed.
Example-4
A list of teachers with their class schedule is sent to the concerned teachers. He calculates
the total teacher load using the practice of the department. Projects that are supervised by
the teachers are also sent to Registrar. He matches the class schedule and projects and
calculates total load per week for each teacher. This slip is used by the VC to justify total
class load for each teacher and sent to the respective teachers. The complete routines are
also generated.
References
1. System Analysis and Design, by Elias M. Awad
2. Systems Analysis and Design, Kendall and Kendall,
Fifth Edition
3. Management Information Systems: Managing the
Digital Firm (11th edition), Pearson/Prentice-Hall
4. https://www.visual-paradigm.com/tutorials/data-flow-
diagram-example-supermarket-app.jsp