Data Flow Diagrams (DFDS)
Data Flow Diagrams (DFDS)
Data Flow Diagrams (DFDS)
DIAGRAMS
(DFDs)
Data Flow Diagrams
A graphical tool, useful for communicating with
users, managers, and other personnel.
Useful for analyzing existing as well as proposed
systems.
Focus on the movement of data between external
entities and processes, and between processes and
data stores.
A relatively simple technique to learn and use.
Why DFD ?
Provides an overview of-
What data a system processes
What transformations are performed
What data are stored
What results are produced
Graphical nature makes it a good communication tool
between-
User and analyst
Analyst and System designer
DFD elements
Writing Reading
3 Label
A Process Store
Name
Issue
Label
Good Style in Drawing DFD
Use meaningful names for data flows, processes and
data stores.
Use top down development starting from context
diagram and successively levelling DFD
A process can only transfer input to output.
Decomposition of DFDs
A system is too complex to be shown on a single
DFD.
Decomposition is the iterative process of exploding
data flow diagrams to create more detail.
Level 0 data flow diagrams may be exploded into
successive low levels of detail. The next level of detail
would be a level 1 data flow diagram.
The DFDs become linked together in
a hierarchy, which would fully
document the system.
Why Level DFD
If a DFD is too detailed it will have too many
data flows and will be large and difficult to
understand
Start from a broad overview. Expand to details –
Idea similar to using procedures and linking
these with a main program
Each DFD must deal with one aspect of a big
system
Levels of DFD
Context diagram
Level-0 diagram (System diagram)
Level-n diagram
- Detail of one process from next
highest level
Approved Data
Application
D1 Student Data
Verified
Approved
2 Application
Maintain
Student
Information
Request for Student
Information Maintenance
Level 2 Process 1, Perform Intake Procedure
Student
Information
Admission Application
1.1 1.2
Student Receive Verify
Admission Student Name Admission
Application and ID Application
Verified
Admission
D1 Student Data
Application
Application
Request
Application Approval 1.3
or Rejection Approved Application
Review
Admission
Application
Logical and Physical DFD
DFDs considered so far are called logical DFDs
A physical DFD is similar to a document flow diagram
It specifies who does the operations specified by the
logical DFD
Physical DFD may depict physical movements of the
goods
Physical DFDs can be drawn during fact gathering
phase of a life cycle
Cash
Token
Clerk
Cheque Cashier
Verify A/C
CUSTOMER Verify Token
Signature Update Cheque with Take Signature
Balance
Token number
Token
Bad Cheque
8. Speed of recall
9. Error prevention
Graphical User Interface vs. Text-
based User Interface
In a GUI multiple windows with different information
can simultaneously be displayed on the user screen.
This is perhaps one of the biggest advantages of GUI
over text-based interfaces.
Iconic information representation and symbolic
information manipulation is possible in a GUI
A GUI usually supports command selection using an
attractive and user-friendly menu selection system.
In a GUI, a pointing device such as a mouse or a light
pen can be used for issuing commands. The use of a
pointing device increases the efficacy issue procedure.
On the other hand, a text-based user interface can be
implemented even on a cheap alphanumeric display
terminal.
Graphics terminals are usually much more expensive
than alphanumeric terminals.
Types of user interfaces
User interfaces can be classified into
the following three categories:
1. Command language based interfaces
2. Menu-based interfaces
3. Direct manipulation interfaces
Command Language-based Interface
is based on designing a command language which the user
can use to issue the commands.
The user is expected to frame the appropriate commands
in the language and type them in appropriately whenever
required.
Command language-based interfaces allow fast interaction
with the computer and simplify the input of complex
commands.
Examples
Menu-based Interface
An important advantage of a menu-based interface
over a command language-based interface is that a
menu-based interface does not require the users to
remember the exact syntax of the commands.
A menu-based interface is based on recognition of the
command names, rather than recollection.
Types of menues:
Scrolling menu
Walking Menu
Hierarchical Menu
Examples
Direct Manipulation Interfaces
Direct manipulation interfaces present the interface to the
user in the form of visual models (i.e. icons or objects).
For this reason, direct manipulation interfaces are
sometimes called as iconic interface.
In this type of interface, the user issues commands by
performing actions on the visual representations of the
objects, e.g. pull an icon representing a file into an icon
representing a trash box, for deleting the file.
Examples
Examples
Important advantages of iconic interfaces include the
fact that the icons can be recognized by the users very
easily, and that icons are language-independent.
Thanks for
your
Cooperation