Presented by - M.M. Rakibul Hasan Faculty, CSE, IUBAT University
Presented by - M.M. Rakibul Hasan Faculty, CSE, IUBAT University
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 2
Components Of DFD: Entity
• External Entities:
– They could be a person (facebook users), another
software( like facebook) or a hardware ( sensors)
which provide to or consume information from the
intended software.
– Represented by rectangle:
• Must be named
• No direct data flow between two entities ever.
User
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 3
Components Of DFD: Process
• A circle (sometimes called a bubble) represents a
process or transform that is applied to data and
changes it in some way.
• The basic rules:
– It must be properly labeled
– It must not be repeated in a diagram
Ticket School
Management
Booking System
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 4
Components Of DFD: Data Flow
• The basic rules:
– Data flows can’t be bidirectional, i.e the input data
flow and the output data flow for a process, data
store or for an entity should always be different.
– The data flows should always be labelled
– The labels should be precise and informative
– You can join two similar input data flows(join) or two
similar output data flows (fork)
Login info
User Login Login status
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 5
Components Of DFD: Data Store
• Data stores are places where data may be
stored. This information may be stored either
temporarily or permanently by the user.
• They are internal to the system.
• The basic rules:
– Never shown in context level diagram
– No direct data flows between two data sources
– Symbol:
DB university
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 6
DFD General rules
• Basic rules that apply to all DFDs:
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 7
Context Level Diagram
• A level 0 DFD, also called a fundamental system
model or a context model.
• It represents the entire software element as a single
process with input and output data.
• All the external entities should be identified and
shown.
• Rule:
– Only one process
– Data flows should be labeled.
– No data store can be shown in context diagram
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 8
Context Level Diagram for CRS
Context Diagram for Course Registration System:
Registrar
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 9
Level 1 DFD
• The level 1 DFD we construct is a more refined version
of the context diagram.
• It covers the entire system, all the main processes are
shown
• The DFD should be balanced with respect to context
diagram
– No new external entities should be there
– The data flows from context diagrams should be visible
• Rules:
– It should consists of 5-9 processes(bubbles).
– Repetition of data sources is allowed.
– Process can not be repeated.
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 10
Level 1 DFD for CRS
Level 1 DFD: Student Record
Course perquisite info DB university
Students
Semester
Courses & Individual Course Course info
Other info. Registration
Information 2
1
Compile
Enroll Information
Students
Schedules Registrar
Class Lists
Students Faculty
1.1
Obtain List of 1.2
Student Preferences
Preferences Check
Eligibility
Eligible Students
1.3
Enroll
Students in
Class Individual course registration
information
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 13
Check List
• There are many errors that may occur when
drawing data flow diagrams.
M.M. Rakibul Hasan, Faculty, IUBAT University CSC-387 [System Analysis and Design] 15
Thank You