You are on page 1of 15

Example of DFD

Vijay L. Vora
(Assist. Professor, MCA Department)
Murlidhar College,
Bhavnagar Road, Rajkot

Symbols which are use to


Create DFD

Things keep in mind while


creating DFD

How To create DFD


1.
2.
3.
4.

Find out all possible entities.


Find out activity/process of system
Find out additional activity/process
Construct Context-Level DFD , Level-1, and Level-2 DFD
OR
Construct Context-Level, Level-0 and Level-1 DFD
OR
Construct Context-Level, Diagram 0, and Child
Diagram

Context-Level :
Representation of Overview of
Desired system

Level-1 :
Representation of Main Processes
of System

Level-2 :
Detailed Representation of Main
Process (Representation of subprocesses)

Example : 1

The University runs various diploma, graduation


and post-graduation courses such as DE, DPharm,
BE, MBA, MCA, ME, MPharm, etc. The courses follow
semester pattern and under each course various
subjects are taught. Students seek admission to
these courses and if found eligible, the student is
enrolled for the requested course. There are
several faculty members in the University who teach
the various subjects of these courses. The subject
teacher conducts semester examinations for the
concerned subject at the end of the semester
and the students performance is recorded. Even
if a student is unable to pass a subject, he is
promoted to the next semester but has to
reappear for that subject examination again and
clear his backlog.
Draw Context-Level, Level-1 and Level-2 DFDs

Possible Entity and


Processes
Entity
Student
Faculty

Activity/Process
Student Registration
Examination
Result

DFD Example

Context Level

Student

Student
Registration
Enroll Detail
Resu
lt

DFD Example

0
Student
Enrollment
and
Examinatio
n System

Examinatio
n

Faculty

Level - 1
Registration
Detail

Student

1
Registratio
n

Enrollment
No.

Student

2
AnswringQues
tions

Examinatio
n

Examinati
on

Faculty

3
Enroll no

DFD Example

Result

Result
Detail

Student

Level - 2
Registration
Detail

Process
:1

1.1

Get Data
Student
Detail for
Registratio
n

Registration
Data
D1
Studen
t
Registration
Data
1.2
Check for
Eligibility

Valid Student
D1
Data

Studen
t
1.3

Get
Enrollment
Number

DFD Example

Enrollment
No.

Process
:2

(Level 2 Continue )
2.1
Conduct
Examinati
on

Exam
Detail

Exam
Data
D2
Exam
Exam
Data

Appeared
Student
2.4
Get
student
performan
ce

Result

2.2
Answering
question

DFD Example

Take
Examinati
on

Student Unable
to Pass.

Answer
D3
s
Exam
Data

ExamRes
ult
Result
2.3
Generate
Result

Process
:3

(Level 2 Continue )

3.2

3.1
Enrollment
number

Check
Avilability

Enrollment
No.
D3
ExamRes
ult

DFD Example

Data Available

Get
Student
Result

Result
D3

ExamRes
ult

Result
Detail

Example : 2

ABC project co. is a firm which hires approximately 350 engineers


of different expertise. The company keep record of all employees,
their skills, project assigned and their departments. New
engineers are hired by the HR manager based on the data in the
application form and evaluations collected from other managers
who interview the job candidates. Employees may apply at any
time of the year. Engineering managers notify the HR manager
when a job opens and list the characteristics necessary for the
candidate to be eligible for the job. The HR manager compares the
qualifications of the available applicants with the qualifications
specified by the engineering managers and the schedule the
interviews between the managers and three best candidate from
the pool. After receiving evaluations of each interview from the
manager the HR manager makes the hiring decision based upon
the evaluation and application of the candidate and the
characteristic of the job and then notifies the interviewees and the
manager about the decision. Applicants with rejected application
are retained applications are retained for one year. When hired the
new employee completes a nondisclosure agreement which is
filled with other information of employee.
Draw Context-Level, Level-1 and Level-2 DFDs.

You might also like