Professional Documents
Culture Documents
1
To be covered…
2
What are Data Flow Diagrams?
3
Purpose/Objective
The purpose of data flow diagrams is to provide a
bridge between users and systems developers.
4
Data flow diagrams have the
objective of avoiding the cost of
User/developer
misunderstanding
a system.
5
Description
6
Description
8
Description contd..
9
Description contd..
10
Constructing a DFD
| Start with Context diagram which shows only a single
process (represents the entire system), and external
entities
| Identify the functions to be performed
| Show the information flow between functions and
identify data stores and external entities
| Repeatedly elaborate on the DFD ( bottom up and
top down )
z After each elaboration is complete validate the DFD:
• Identify missing functions
• Identify functions that need more detail
• Rearrange in higher order bubbles
• Identify features that do not meet with the user's approval
11
Context Diagram
12
Context Diagram
13
Context Diagram
System as a whole
is represented as a
bubble, and the
external entities are
shown as squares
from which input
flows and to which
output is directed
14
Guidelines for designing a Context
data flow diagram
Online
Examination
System
17
Problem Statement
Online
Examination
System
20
Step - 2
21
Context Diagram
Online
Student Examination Faculty
System
22
Step - 3
| Create labeled input and output data flows between the entities
and the central system.
| In our case
(For Student)
1- Student Logins to the system
2- Student is asked questions
3- Student answers the questions
4- Student is displayed his/her result
(For Faculty)
1- Faculty enters number of questions in the system
2- Faculty is told about the result of particular students who
took the exam.
(For System)
1- Save the questions entered by faculty
2- Check and save the result.
23
Context Diagram
Login
Question Online Question
Student Answers Examination Faculty
Result
Result System
24
Diagram 0
25
Building Diagram 0 for our
problem statement
Faculty Student
Enter login
Generate Process exam
and
questions Question
Validate Q
Quest results
Process Questions
Result for Process
Results Result for
Faculty
Student
26
Some observations and hints
28
How to get started building logical
DFDs
29
DFD Rule Review Checklist
| All data flows should be labeled. (These are the most common
labeling omissions.)
| If you can’t name a data flow, re-evaluate it’s existence -- is it really
a data flow?
| External entities (or agent) are outside the system: sources or sinks
of data.
| Individuals performing functions within the system are NOT entities
-- their functions are captured as processes.
| If you find yourself naming a data flow a verb -- take another look --
it may be a process! Data flows should be noun clauses.
| All external entities shown on sub-diagrams (Level 0+) should be
on the context level diagram.
| Make certain your labels are meaningful
30
Functions of The DBA
31
Functions of The DBA
32
Functions of The DBA
33
The End
34