Professional Documents
Culture Documents
Design Tools: Picture Is Worth A Thousand Words
Design Tools: Picture Is Worth A Thousand Words
To be covered
Data flow diagrams illustrate how data is processed by a system in terms of inputs and outputs. i.e. They show flow of data through the organization
3
Purpose/Objective
The purpose of data flow diagrams is to provide a bridge between users and systems developers. The diagram Features are: Graphical: Eliminating need of thousands of words. Logical Representations: Modeling WHAT a system does, rather than physical model showing HOW it does it. Hierarchical: Showing systems at any level of detail.
4
Description
Data Flow Diagrams are composed of the four basic symbols.
Description
The External Entity symbol represents sources of data to the system, or destinations of data from the system.
i.e. A Person, A System, or an organization that sends or receives data
7
Description
contd..
Description
contd..
The Data Store symbol represents data that is saved on some file or in a table. Student File, Faculty File, Result File.
Description
contd..
The Process symbol represents an activity that transforms or manipulates the data (A process transforms incoming data flow into outgoing data flow).
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 ) After each elaboration is complete validate the DFD:
11
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
Context Diagram
A context diagram provides the most general view of an information system
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
16
Problem Statement
Consider the following problem. There is an online examination system in which faculty enters the questions that are stored in the system. This system requires the student to logon to website. The system then asks student the questions. At the end of the examination results are send to both student and faculty. At the same time the result is saved for future reference.
18
Step - 1
Start by placing a single process symbol in the center of the page. The symbol represents the entire information system, and you identify it as process 0 In our case System is ONLINE EXAMINATION SYSTEM
19
Context Diagram
20
Step - 2
Then place the external entities around the perimeter of the page. There are two entities involved in the whole process
1- STUDENT (Taking Exam) 2- FACULTY (Creating Exam)
21
Context Diagram
Student
Faculty
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
Student
Result
Question Result
Faculty
24
Diagram 0
Diagram 0 is a diagram showing the system itself It pictures all the major processes along with the external entities, data stores and data flow. Single top level diagram of the system and does not describe each process in detail.
25
Faculty
Student
Generate Question
Process exam
login
Quest
Process Result for Faculty
26
31
32
DBA Staff
33
The End
34