SlideShare a Scribd company logo
1 of 34
Systems Analysis and Design
CIS 2303

Learning Outcome 3:
Produce logical models that graphically describe a
system using different modeling techniques.
- Functional Decomposition Diagrams – Ch. 4
- Use Case Diagrams – Ch. 6
- Data Flow Diagrams – Ch. 5
Learning Objectives
1.

Introduction to Process Modeling



2.

Describe the difference between Logical and
Physical Models
Describe Modeling Tools and Techniques

Functional Decomposition Diagrams


3.

Use a Functional Decomposition Diagram (FDD) to
model Business Functions and Models

Use Case Diagrams


Describe the symbols used in Use Case diagrams
and explain the rules for their use
2
Learning Objectives –cont.
4.

Data Flow Diagrams:



Describe the symbols used in Data Flow diagrams and
explain the rules for their use



Draw Context Diagrams



Draw Data Flow diagrams in a sequence, from general
to specific



Explain how to level and balance a set of data flow
diagrams

3
1.

Introduction to Process Modeling

A.

Modeling Tools and Techniques

B.

Differentiate between Logical and Physical Models

4
B. Modeling Tools and Techniques

Functional Decomposition Diagrams
 Use Case Diagrams
 Data Flow Diagrams


◦ Context Diagram
◦ Diagram 0 DFD
◦ Lower Level Diagrams

5
C. Logical Versus Physical Models

Logical model shows what the system must do
 Physical model describes how the system will
be constructed
 A physical model shows how the system’s
requirements are implemented


6
2.


Functional Decomposition
Diagrams

Functional decomposition diagram
(FDD) is
◦ A top down representation of a business
process
◦ Drawn like an organization Chart
◦ Business functions or processes are
broken down to lower level processes or
functions



During application development, these
processes become program modules
7
Sample FDD
Patient Appointment
Management

Registratio
n

New Patient
Registration

Update
Registratio
n

Treatment

Update
Treatment
Records

Billing

Update
Billing
History

Generate

Reports

8
Exericse-1


Draw a FDD for the Portal System in your college.
Your FDD must consist of 3 levels. Write your
assumptions if any.

9
3.


Use Case Diagrams

Use Case Modeling
◦ Unified Modeling Language
◦ Actor

◦ Symbol for a Use Case
is an oval with a label
that describes the action
or event
◦ Use cases also can
interact with other use
cases
10
3.


Use Case Diagrams –cont.

Use Case
Diagrams
◦ Use case diagram
◦ System boundary
◦ After you identify
the system
boundary, you
place the use
cases on the
diagram, add the
actors, and show
the relationships

Figure 6-27

11
4.

Data Flow Diagrams
A.

What is a Data Flow Diagram?

B.

Describe the Different Versions of DFD Symbol Sets

C.

Describe the Process Symbol

D.

Describe the Data Flow Symbol

E.

Describe the Data Store Symbol

F.

Describe the Entity Symbol

12
4.

Data Flow Diagrams –cont.
G.

Drawing DFDs: Step 1 – Context Diagram

H.

Drawing DFDs: Step 2 – Diagram 0

I.

Drawing DFDs: Step 3 – Leveling and Balancing DFDs

J.

Guidelines for Drawing DFDs

13
A. Overview of a Data Flow Diagram (DFD)




A data flow diagram
(DFD) shows how
data moves through
an information
system but does not
show program logic
or processing steps
A set of DFDs
provides a logical
model that shows
what the system
does, not how it
does it
14
B. DFD Symbol Sets



Figure 5-3

15
C. DFD Symbols: The Process Symbol

Receives input data and produces
output that has a different
content, form, or both
 Contain the business logic, also called
business rules
 Referred to as a black box


16
D. DFD Symbols: The Data Flow Symbol

Represents one or
more data items
 The symbol for a
data flow is a line
with a single or
double arrowhead
 Spontaneous
generation
 Black hole
 Gray hole


17
Exercise-2
Study the Three INCORRECT Data Flow and
Process Combinations found on Page 203 of your
textbook
Draw one example for each of the following
processes:
 Spontaneous Generation
 Black Hole
 Gray Hole

18
E. DFD Symbols: The Data Store Symbol




Represent data
that the system
stores
The physical
characteristics of
a data store are
unimportant
because you are
concerned only
with a logical
model

19
Exercise-3
Study the INCORRECT uses of Data Store
Symbols on Page 204 of your textbook
1. Draw an example for each incorrect use of a data
store
2. Draw a corrected version for each of the incorrect
uses that you did in step 1

20
F. DFD Symbols: The Entity Symbol

Name of the
entity appears
inside the
symbol
 Terminators
 Source
 Sink


21
Exercise-4


What is the difference between a source entity
and a sink entity? Draw an example for each one

Study the INCORRECT uses of Entity Symbols
on Page 205 of your textbook.
1. Draw an example for each incorrect use of an
entity
2. Draw a corrected version for each of the incorrect
uses that you did in step 1


22
Exercise-5
provide some examples for a Process Name in a
Company
provide some examples for an Entity Name in a
Company
Give an example of a Process that receives two
inputs and produces one output

23
G. Creating a Set of DFDs: Context Diagram



Step 1: Draw a Context Diagram

24
Exericse-5
Explain in your own words the Context Diagram for
the Order System shown in Figure 5-13 on Page
208 of your textbook, taking into consideration the
Following:
 What is the Process in the Diagram and what does
it represent?
 What are the External Entities in the System?
Which entities are Sources and which are Sinks?
 Explain what happens between the Order System
and Each of the Entities

25
H. Creating a Set of DFDs: Diagram 0 DFD



Step 2: Draw a Diagram 0 DFD

26
H. Creating a Set of DFDs: Diagram 0 DFD –Cont.



Step 2: Draw a Diagram 0 DFD
◦ If same data flows in both directions, you
can use a double-headed arrow
◦ Diagram 0 is an exploded view of process
0
◦ Parent diagram
◦ Child diagram
◦ Functional primitive

27
Exericse-6
Study Diagram 0 for the Grading System shown in
Figure 5-15 on Page 210 of your textbook, taking
into consideration the following:
 What are the Main Processes that the Grading
System consists of?
 Explain what happens between each entity and the
processes that this entity interacts with
 Explain the importance of the data store(s) found in
the Diagram.

28
I.


Creating a Set of DFDs: Leveling DFDs

Step 3: Draw the
Lower-Level
Diagrams
◦ Must use leveling
and balancing
techniques
◦ Leveling examples
 Uses a series of
increasingly detailed
DFDs to describe an
information system
 Exploding, partitioning,
or decomposing
29
I.


Creating a Set of DFDs: Balancing DFDs

Step 3: Draw the
Lower-Level
Diagrams
◦ Balancing Examples
 Ensures that the input
and output data flows
of the parent DFD are
maintained on the
child DFD

30
J. Guidelines for Drawing DFDs

Draw the context diagram so that it fits
on one page
 Use the name of the information
system as the process name in the
context diagram
 Use unique names within each set of
symbols


31
J. Guidelines for Drawing DFDs –Cont.

Do not cross lines
 Provide a unique name and reference
number for each process
 Obtain as much user input and
feedback as possible


32
Review Questions








What is the main difference between logical and
physical models?
What are the names of the different process
modeling tools and techniques.
What is a functional decomposition diagram? Why is
it used? How can this diagram be used during
applications development?
Describe the main notations used in a Use Case
Diagram.
Describe the Gane and Sarson symbols used in
Data Flow Diagrams.
Give four examples of processes, data flows, data
stores, and entities relating to any business process
33
Review Questions –Cont.






What is the relationship between a context diagram
and diagram 0, and which symbol(s) is not used in a
context diagram?
What is meant by an exploded DFD?
Explain the DFD leveling technique.
What is a balanced DFD?

34

More Related Content

What's hot

DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptsures4
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemAnit Thapaliya
 
Data flow diagrams
Data flow diagramsData flow diagrams
Data flow diagramsshhajira
 
SRS for Online Medicine Ordering System
SRS for Online Medicine Ordering SystemSRS for Online Medicine Ordering System
SRS for Online Medicine Ordering SystemUmmeKalsoom11
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFDCoT
 
Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319ARVIND SARDAR
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Anowar Hossain
 
Example of dfd with answer
Example of dfd with answerExample of dfd with answer
Example of dfd with answerMahmoud Bakeer
 
Library management system
Library management systemLibrary management system
Library management systemashu6
 
Decision tree- System analysis and design
Decision tree- System analysis and designDecision tree- System analysis and design
Decision tree- System analysis and designProf.Nilesh Magar
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1rohassanie
 
Lecture 11 - distributed database
Lecture 11 - distributed databaseLecture 11 - distributed database
Lecture 11 - distributed databaseHoneySah
 
Library management system
Library management systemLibrary management system
Library management systemImdad Ul Haq
 

What's hot (20)

DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.ppt
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Data flow diagrams
Data flow diagramsData flow diagrams
Data flow diagrams
 
Srs library m s
Srs library m sSrs library m s
Srs library m s
 
SRS for Online Medicine Ordering System
SRS for Online Medicine Ordering SystemSRS for Online Medicine Ordering System
SRS for Online Medicine Ordering System
 
Data Flow Diagram_DFD
Data Flow Diagram_DFDData Flow Diagram_DFD
Data Flow Diagram_DFD
 
Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319
 
Data Flow Diagram (DFD)
Data Flow Diagram (DFD)Data Flow Diagram (DFD)
Data Flow Diagram (DFD)
 
inventory management system
 inventory management system inventory management system
inventory management system
 
Example of dfd with answer
Example of dfd with answerExample of dfd with answer
Example of dfd with answer
 
Library management system
Library management systemLibrary management system
Library management system
 
Normalization in databases
Normalization in databasesNormalization in databases
Normalization in databases
 
File organization
File organizationFile organization
File organization
 
Decision tree- System analysis and design
Decision tree- System analysis and designDecision tree- System analysis and design
Decision tree- System analysis and design
 
Use Case UML Diagram
Use Case UML DiagramUse Case UML Diagram
Use Case UML Diagram
 
Chapter 2 part 1
Chapter 2 part 1Chapter 2 part 1
Chapter 2 part 1
 
Lecture 11 - distributed database
Lecture 11 - distributed databaseLecture 11 - distributed database
Lecture 11 - distributed database
 
Library management system
Library management systemLibrary management system
Library management system
 
DFD ppt
DFD pptDFD ppt
DFD ppt
 

Viewers also liked

Context Diagram
Context DiagramContext Diagram
Context DiagramDeal Up
 
Information System Design Lab(Hotel Reservation)
Information System Design Lab(Hotel Reservation)Information System Design Lab(Hotel Reservation)
Information System Design Lab(Hotel Reservation)Nishi Haque
 
Survey report on Online Shopping
Survey report on Online ShoppingSurvey report on Online Shopping
Survey report on Online ShoppingShubham Saraf
 
HSC Context and data flow diagrams ( DFD )
HSC Context and data flow diagrams ( DFD )HSC Context and data flow diagrams ( DFD )
HSC Context and data flow diagrams ( DFD )greg robertson
 
business activities or scopes of business
business activities or scopes of businessbusiness activities or scopes of business
business activities or scopes of businessShaalvii Sharma
 
DFD for E-Commerce Website
DFD for E-Commerce WebsiteDFD for E-Commerce Website
DFD for E-Commerce WebsiteRabart Kurrey
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram ExampleKaviarasu D
 
Sample business plan (online shop)
Sample business plan (online shop)Sample business plan (online shop)
Sample business plan (online shop)Rifat Khan
 
Online shopping report-6 month project
Online shopping report-6 month projectOnline shopping report-6 month project
Online shopping report-6 month projectGinne yoffe
 
Project Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemProject Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemCharitha Gamage
 

Viewers also liked (12)

Context Diagram
Context DiagramContext Diagram
Context Diagram
 
Information System Design Lab(Hotel Reservation)
Information System Design Lab(Hotel Reservation)Information System Design Lab(Hotel Reservation)
Information System Design Lab(Hotel Reservation)
 
Survey report on Online Shopping
Survey report on Online ShoppingSurvey report on Online Shopping
Survey report on Online Shopping
 
HSC Context and data flow diagrams ( DFD )
HSC Context and data flow diagrams ( DFD )HSC Context and data flow diagrams ( DFD )
HSC Context and data flow diagrams ( DFD )
 
business activities or scopes of business
business activities or scopes of businessbusiness activities or scopes of business
business activities or scopes of business
 
DFD for E-Commerce Website
DFD for E-Commerce WebsiteDFD for E-Commerce Website
DFD for E-Commerce Website
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
 
Sample business plan (online shop)
Sample business plan (online shop)Sample business plan (online shop)
Sample business plan (online shop)
 
Onlineshopping
OnlineshoppingOnlineshopping
Onlineshopping
 
Online shopping report-6 month project
Online shopping report-6 month projectOnline shopping report-6 month project
Online shopping report-6 month project
 
Project Proposal document for Hotel Management System
Project Proposal document for Hotel Management SystemProject Proposal document for Hotel Management System
Project Proposal document for Hotel Management System
 

Similar to CIS 2303 LO3 Process Modeling

6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.ppt6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.pptHaiderAli252366
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorialAlex Ali
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docxsleeperharwell
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! EdholeEdhole.com
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! EdholeEdhole.com
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts Ashwathy Nair
 
SWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design ToolsSWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design Toolsghayour abbas
 
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptx
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptxSE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptx
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptxAmr E. Mohamed
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgmTCT
 
Online eaxmination
Online eaxminationOnline eaxmination
Online eaxminationAditi_17
 

Similar to CIS 2303 LO3 Process Modeling (20)

SAD 2nd PPT
SAD 2nd PPTSAD 2nd PPT
SAD 2nd PPT
 
6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.ppt6.SE_Requirements Modeling.ppt
6.SE_Requirements Modeling.ppt
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 
Process modeling
Process modelingProcess modeling
Process modeling
 
Using data flow diagrams
Using data flow diagramsUsing data flow diagrams
Using data flow diagrams
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 
DataFlowDiagram.ppt
DataFlowDiagram.pptDataFlowDiagram.ppt
DataFlowDiagram.ppt
 
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx75629 Topic prevention measures for vulneranbilitiesNumber of.docx
75629 Topic prevention measures for vulneranbilitiesNumber of.docx
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Ch03 (1)
Ch03 (1)Ch03 (1)
Ch03 (1)
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
 
SWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design ToolsSWE-401 - 6. Software Analysis and Design Tools
SWE-401 - 6. Software Analysis and Design Tools
 
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptx
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptxSE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptx
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptx
 
uml.pptx
uml.pptxuml.pptx
uml.pptx
 
Data flow
Data flowData flow
Data flow
 
How to Data Flow Diagram
How to Data Flow Diagram How to Data Flow Diagram
How to Data Flow Diagram
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgm
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 
Online eaxmination
Online eaxminationOnline eaxmination
Online eaxmination
 

More from Ahmad Ammari

CIS 2303 LO2 Part 3
CIS 2303 LO2 Part 3CIS 2303 LO2 Part 3
CIS 2303 LO2 Part 3Ahmad Ammari
 
CIS 2303 LO2 Part 2
CIS 2303 LO2 Part 2CIS 2303 LO2 Part 2
CIS 2303 LO2 Part 2Ahmad Ammari
 
ITEC N466: Project initialization
ITEC N466: Project initializationITEC N466: Project initialization
ITEC N466: Project initializationAhmad Ammari
 
Challenges in is development
Challenges in is developmentChallenges in is development
Challenges in is developmentAhmad Ammari
 
CIS 2303: System Planning Part 1
CIS 2303: System Planning Part 1CIS 2303: System Planning Part 1
CIS 2303: System Planning Part 1Ahmad Ammari
 
CIB 3103: Requirements Capture
CIB 3103: Requirements CaptureCIB 3103: Requirements Capture
CIB 3103: Requirements CaptureAhmad Ammari
 
CIS 2303 LO1: Introduction to System Analysis and Design
CIS 2303 LO1: Introduction to System Analysis and DesignCIS 2303 LO1: Introduction to System Analysis and Design
CIS 2303 LO1: Introduction to System Analysis and DesignAhmad Ammari
 
Itecn453 social media
Itecn453 social mediaItecn453 social media
Itecn453 social mediaAhmad Ammari
 
Itecn453 cloud computing
Itecn453 cloud computingItecn453 cloud computing
Itecn453 cloud computingAhmad Ammari
 
Itec410 e busness_case_lec
Itec410 e busness_case_lecItec410 e busness_case_lec
Itec410 e busness_case_lecAhmad Ammari
 
Itecn453 it infrastructure
Itecn453 it infrastructureItecn453 it infrastructure
Itecn453 it infrastructureAhmad Ammari
 
Itecn453 porter competitive_forces_model
Itecn453 porter competitive_forces_modelItecn453 porter competitive_forces_model
Itecn453 porter competitive_forces_modelAhmad Ammari
 
Itecn453 business strategy
Itecn453 business strategyItecn453 business strategy
Itecn453 business strategyAhmad Ammari
 
Itecn453 organizations student_ver
Itecn453 organizations student_verItecn453 organizations student_ver
Itecn453 organizations student_verAhmad Ammari
 

More from Ahmad Ammari (15)

CIS 2303 LO2 Part 3
CIS 2303 LO2 Part 3CIS 2303 LO2 Part 3
CIS 2303 LO2 Part 3
 
CIS 2303 LO2 Part 2
CIS 2303 LO2 Part 2CIS 2303 LO2 Part 2
CIS 2303 LO2 Part 2
 
ITEC N466: Project initialization
ITEC N466: Project initializationITEC N466: Project initialization
ITEC N466: Project initialization
 
Challenges in is development
Challenges in is developmentChallenges in is development
Challenges in is development
 
CIS 2303: System Planning Part 1
CIS 2303: System Planning Part 1CIS 2303: System Planning Part 1
CIS 2303: System Planning Part 1
 
CIB 3103: Requirements Capture
CIB 3103: Requirements CaptureCIB 3103: Requirements Capture
CIB 3103: Requirements Capture
 
CIS 2303 LO1: Introduction to System Analysis and Design
CIS 2303 LO1: Introduction to System Analysis and DesignCIS 2303 LO1: Introduction to System Analysis and Design
CIS 2303 LO1: Introduction to System Analysis and Design
 
Itecn453 social media
Itecn453 social mediaItecn453 social media
Itecn453 social media
 
Itecn453 cloud computing
Itecn453 cloud computingItecn453 cloud computing
Itecn453 cloud computing
 
Itec410 e busness_case_lec
Itec410 e busness_case_lecItec410 e busness_case_lec
Itec410 e busness_case_lec
 
Itecn453 it infrastructure
Itecn453 it infrastructureItecn453 it infrastructure
Itecn453 it infrastructure
 
Itecn453 porter competitive_forces_model
Itecn453 porter competitive_forces_modelItecn453 porter competitive_forces_model
Itecn453 porter competitive_forces_model
 
Itecn453 business strategy
Itecn453 business strategyItecn453 business strategy
Itecn453 business strategy
 
Itecn453 organizations student_ver
Itecn453 organizations student_verItecn453 organizations student_ver
Itecn453 organizations student_ver
 
Itec410 lec2
Itec410 lec2Itec410 lec2
Itec410 lec2
 

Recently uploaded

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

CIS 2303 LO3 Process Modeling

  • 1. Systems Analysis and Design CIS 2303 Learning Outcome 3: Produce logical models that graphically describe a system using different modeling techniques. - Functional Decomposition Diagrams – Ch. 4 - Use Case Diagrams – Ch. 6 - Data Flow Diagrams – Ch. 5
  • 2. Learning Objectives 1. Introduction to Process Modeling   2. Describe the difference between Logical and Physical Models Describe Modeling Tools and Techniques Functional Decomposition Diagrams  3. Use a Functional Decomposition Diagram (FDD) to model Business Functions and Models Use Case Diagrams  Describe the symbols used in Use Case diagrams and explain the rules for their use 2
  • 3. Learning Objectives –cont. 4. Data Flow Diagrams:  Describe the symbols used in Data Flow diagrams and explain the rules for their use  Draw Context Diagrams  Draw Data Flow diagrams in a sequence, from general to specific  Explain how to level and balance a set of data flow diagrams 3
  • 4. 1. Introduction to Process Modeling A. Modeling Tools and Techniques B. Differentiate between Logical and Physical Models 4
  • 5. B. Modeling Tools and Techniques Functional Decomposition Diagrams  Use Case Diagrams  Data Flow Diagrams  ◦ Context Diagram ◦ Diagram 0 DFD ◦ Lower Level Diagrams 5
  • 6. C. Logical Versus Physical Models Logical model shows what the system must do  Physical model describes how the system will be constructed  A physical model shows how the system’s requirements are implemented  6
  • 7. 2.  Functional Decomposition Diagrams Functional decomposition diagram (FDD) is ◦ A top down representation of a business process ◦ Drawn like an organization Chart ◦ Business functions or processes are broken down to lower level processes or functions  During application development, these processes become program modules 7
  • 8. Sample FDD Patient Appointment Management Registratio n New Patient Registration Update Registratio n Treatment Update Treatment Records Billing Update Billing History Generate Reports 8
  • 9. Exericse-1  Draw a FDD for the Portal System in your college. Your FDD must consist of 3 levels. Write your assumptions if any. 9
  • 10. 3.  Use Case Diagrams Use Case Modeling ◦ Unified Modeling Language ◦ Actor ◦ Symbol for a Use Case is an oval with a label that describes the action or event ◦ Use cases also can interact with other use cases 10
  • 11. 3.  Use Case Diagrams –cont. Use Case Diagrams ◦ Use case diagram ◦ System boundary ◦ After you identify the system boundary, you place the use cases on the diagram, add the actors, and show the relationships Figure 6-27 11
  • 12. 4. Data Flow Diagrams A. What is a Data Flow Diagram? B. Describe the Different Versions of DFD Symbol Sets C. Describe the Process Symbol D. Describe the Data Flow Symbol E. Describe the Data Store Symbol F. Describe the Entity Symbol 12
  • 13. 4. Data Flow Diagrams –cont. G. Drawing DFDs: Step 1 – Context Diagram H. Drawing DFDs: Step 2 – Diagram 0 I. Drawing DFDs: Step 3 – Leveling and Balancing DFDs J. Guidelines for Drawing DFDs 13
  • 14. A. Overview of a Data Flow Diagram (DFD)   A data flow diagram (DFD) shows how data moves through an information system but does not show program logic or processing steps A set of DFDs provides a logical model that shows what the system does, not how it does it 14
  • 15. B. DFD Symbol Sets  Figure 5-3 15
  • 16. C. DFD Symbols: The Process Symbol Receives input data and produces output that has a different content, form, or both  Contain the business logic, also called business rules  Referred to as a black box  16
  • 17. D. DFD Symbols: The Data Flow Symbol Represents one or more data items  The symbol for a data flow is a line with a single or double arrowhead  Spontaneous generation  Black hole  Gray hole  17
  • 18. Exercise-2 Study the Three INCORRECT Data Flow and Process Combinations found on Page 203 of your textbook Draw one example for each of the following processes:  Spontaneous Generation  Black Hole  Gray Hole 18
  • 19. E. DFD Symbols: The Data Store Symbol   Represent data that the system stores The physical characteristics of a data store are unimportant because you are concerned only with a logical model 19
  • 20. Exercise-3 Study the INCORRECT uses of Data Store Symbols on Page 204 of your textbook 1. Draw an example for each incorrect use of a data store 2. Draw a corrected version for each of the incorrect uses that you did in step 1 20
  • 21. F. DFD Symbols: The Entity Symbol Name of the entity appears inside the symbol  Terminators  Source  Sink  21
  • 22. Exercise-4  What is the difference between a source entity and a sink entity? Draw an example for each one Study the INCORRECT uses of Entity Symbols on Page 205 of your textbook. 1. Draw an example for each incorrect use of an entity 2. Draw a corrected version for each of the incorrect uses that you did in step 1  22
  • 23. Exercise-5 provide some examples for a Process Name in a Company provide some examples for an Entity Name in a Company Give an example of a Process that receives two inputs and produces one output 23
  • 24. G. Creating a Set of DFDs: Context Diagram  Step 1: Draw a Context Diagram 24
  • 25. Exericse-5 Explain in your own words the Context Diagram for the Order System shown in Figure 5-13 on Page 208 of your textbook, taking into consideration the Following:  What is the Process in the Diagram and what does it represent?  What are the External Entities in the System? Which entities are Sources and which are Sinks?  Explain what happens between the Order System and Each of the Entities 25
  • 26. H. Creating a Set of DFDs: Diagram 0 DFD  Step 2: Draw a Diagram 0 DFD 26
  • 27. H. Creating a Set of DFDs: Diagram 0 DFD –Cont.  Step 2: Draw a Diagram 0 DFD ◦ If same data flows in both directions, you can use a double-headed arrow ◦ Diagram 0 is an exploded view of process 0 ◦ Parent diagram ◦ Child diagram ◦ Functional primitive 27
  • 28. Exericse-6 Study Diagram 0 for the Grading System shown in Figure 5-15 on Page 210 of your textbook, taking into consideration the following:  What are the Main Processes that the Grading System consists of?  Explain what happens between each entity and the processes that this entity interacts with  Explain the importance of the data store(s) found in the Diagram. 28
  • 29. I.  Creating a Set of DFDs: Leveling DFDs Step 3: Draw the Lower-Level Diagrams ◦ Must use leveling and balancing techniques ◦ Leveling examples  Uses a series of increasingly detailed DFDs to describe an information system  Exploding, partitioning, or decomposing 29
  • 30. I.  Creating a Set of DFDs: Balancing DFDs Step 3: Draw the Lower-Level Diagrams ◦ Balancing Examples  Ensures that the input and output data flows of the parent DFD are maintained on the child DFD 30
  • 31. J. Guidelines for Drawing DFDs Draw the context diagram so that it fits on one page  Use the name of the information system as the process name in the context diagram  Use unique names within each set of symbols  31
  • 32. J. Guidelines for Drawing DFDs –Cont. Do not cross lines  Provide a unique name and reference number for each process  Obtain as much user input and feedback as possible  32
  • 33. Review Questions       What is the main difference between logical and physical models? What are the names of the different process modeling tools and techniques. What is a functional decomposition diagram? Why is it used? How can this diagram be used during applications development? Describe the main notations used in a Use Case Diagram. Describe the Gane and Sarson symbols used in Data Flow Diagrams. Give four examples of processes, data flows, data stores, and entities relating to any business process 33
  • 34. Review Questions –Cont.     What is the relationship between a context diagram and diagram 0, and which symbol(s) is not used in a context diagram? What is meant by an exploded DFD? Explain the DFD leveling technique. What is a balanced DFD? 34

Editor's Notes

  1. Models help users, managers, and IT professionals understand the design of a system.Modeling involves graphical methods and nontechnical language that represent the systemat various stages of development. During requirements modeling, you can use various toolsto describe business processes, requirements, and user interaction with the system.Modeling Tools and Techniques involve:Functional Decomposition DiagramsUse Case DiagramsData Flow DiagramsContext DiagramDiagram 0 DFDLower Level Diagrams
  2. A logical model shows whatthe system must do, regardless of how it will beimplemented physically. In the systemsdesign phase, a physical model is built thatdescribes how the system will be constructed.
  3. A business process is a specific set of transactions or events that can be documented. For example in a medical clinic/ hospital, patient appointment management, medicines inventory management, doctors schedule management are all processes.
  4. The Unified Modeling Language (UML) is a widely used method of visualizing and documenting software systems design. UML uses object-oriented design concepts, but it is independent of any specific programming language and can be used to describe business processes and requirements generally.UML provides various graphical tools, such as use case diagramsIn Use Case Modeling, use case represents the steps in a specific business function or process. An external entity, called an actor, initiates a use case by requesting the system to perform a function or process. For example, in a medical office system, a PATIENT (actor) can MAKE APPOINTMENT (use case), as shown in Figure 6-22 (Chapter 6)The UML symbol for a use case is an oval with a label that describes the action or event. The actor is shown as a stick figure, with a label that identifies the actor’s role. The line from the actor to the use case is called an association, because it links a particular actor to a use case. Use cases also can interact with other use cases.
  5. Use Case Diagrams:A use case diagram is a visual summary of several related use cases within a system or subsystem. Consider a typical auto service department, as shown in Figure 6-26. The service department involves customers, service writers who prepare work orders and invoices, and mechanics who perform the work. Figure 6-27 (Chapter 6) shows a possible use case diagram for the auto service department. When you create a use case diagram, the first step is to identify the system boundary, which is represented by a rectangle. The system boundary shows what is included in the system (inside the rectangle) and what is not included in the system (outside the rectangle). After you identify the system boundary, you place the use cases on the diagram, add the actors, and show the relationships.
  6. During the systems analysis phase, you learn how to create a visual model of the information system using a set of data flow diagrams. A data flow diagram (DFD) shows how data moves through an information system but does not show program logic or processing steps.A set of DFDs provides a logical model that shows whatthe system does, not howit does it. That distinction is important because focusing on implementation issues at this point would restrict your search for the most effective system design.
  7. DFDs use four basic symbols that represent processes, data flows, data stores, and entities.Several different versions of DFD symbols exist, but they all serve the same purpose.DFD examples in this textbook use the Gane and Sarsonsymbol set. Another popular symbol set is the Yourdon symbol set. Figure 5-3 shows examples of both versions. Symbols are referenced by using all capital letters for the symbol name
  8. A process receives input data and produces output that has a different content, form, or both. For instance, the process for calculating pay uses two inputs (pay rate and hours worked) to produce one output (total pay). Processes can be very simple or quite complex. In a typical company, processes might include calculating sales trends, filing online insurance claims, ordering inventory from a supplier’s system, orverifying e-mail addresses for Web customers. Processes contain the business logic, also called business rules, that transform the data and produce the required results.The symbol for a process is a rectangle with rounded corners. The name of the process appears inside the rectangle. The process name identifies a specific function and consists of a verb (and an adjective, if necessary) followed by a singular noun. Examples of process names are APPLY RENT PAYMENT, CALCULATE COMMISSION, ASSIGN FINAL GRADE, VERIFY ORDER, and FILL ORDER.Processing details are not shown in a DFD. For example, you might have a process named DEPOSIT PAYMENT. The process symbol does not reveal the business logic for the DEPOSIT PAYMENT process. In DFDs, a process symbol can be referred to as a black box, because the inputs, outputs, and general functions of the process are known, but the underlying details and logic of the process are hidden. By showing processes as black boxes, an analyst can create DFDs that show how the system functions, but avoid unnecessary detail and clutter. When the analyst wishes to show additional levels of detail, he or she can zoom in on a process symbol and create a more in-depth DFD that shows the process’s internal workings — which might reveal even more processes, data flows, and data stores. In this manner, the information system can be modeled as a series of increasingly detailed pictures.See Figure 5-4 in the book for an example of a black box.
  9. A data flow is a path for data to move from one part of the information system to another. A data flow in a DFD represents one or more data items. For example, a data flow could consist of a single data item (such as a student ID number) or it could include a set of data (such as a class roster with student ID numbers, names, and registration dates for a specific class).The symbol for a data flow is a line with a single or double arrowhead. The data flow name appears above, below, or alongside the line.A data flow name consists of a singular noun and an adjective, if needed.Examples of data flow names are DEPOSIT, INVOICE PAYMENT, STUDENT GRADE, ORDER, and COMMISSION. Exceptions to the singular name rule are data flow names, such as GRADING PARAMETERS, where a singular name could mislead you into thinking a single parameter or single item of data existsFigure 5-5 shows correct examples of data flow and process symbol connections.Three data flow and process combinations that you must avoid:• Spontaneous generation. The APPLY INSURANCE PREMIUM process, for instance, produces output, but has no input data flow. Because it has no input, the process is called a spontaneous generation process.• Black hole. The CALCULATE GROSS PAY is called a black hole process, which is a process that has input, but produces no output.• Gray hole. A gray hole is a process that has at least one input and one output, but the input obviously is insufficient to generate the output shown. For example, a date of birth input is not sufficient to produce a final grade output in the CALCULATE GRADE process.Spontaneous generation, black holes, and gray holes are impossible logically in a DFD because a process must act on input, shown by an incoming data flow, and produce output, represented by an outgoing data flow.
  10. A data store is used in a DFD to represent data that the system stores because one or more processes need to use the data at a later time. For instance, instructors need to store student scores on tests and assignments during the semester so they can assign final grades at the end of the term. Similarly, a company stores employee salary and deduction data during the year in order to print W-2 forms with total earnings and deductions at the end of the year.A DFD does not show the detailed contents of a data store.The physical characteristics of a data store are unimportant because you are concerned only with a logical model. Also, the length of time that the data is stored is unimportant because it can be a matter of seconds while a transaction is processed or a period of months while data is accumulated for year-end processing. What is important is that a process needs access to the data at some later time.In a DFD, the Gane and Sarson symbol for a data store is a flat rectangle that is open on the right side and closed on the left side. The name of the data store appears between the lines and identifies the data it contains.A data store name is a plural name consisting of a noun and adjectives, if needed. Examples of data store names are STUDENTS, ACCOUNTS RECEIVABLE, PRODUCTS, DAILY PAYMENTS, PURCHASE ORDERS, OUTSTANDING CHECKS, INSURANCE POLICIES, and EMPLOYEES.A data store must be connected to a process with a data flow. Figure 5-7 illustrates typical examples of data stores.In each case, the data store has at least one incoming and one outgoing data flow and is connected to a process symbol with a data flow.See Figure 5-8 in the book for two examples on violations of the rule that a data store must have at least one incoming and one outgoing data flow.
  11. The symbol for an entity is a rectangle, which may be shaded to make it look three-dimensional. The name of the entity appears inside the symbol.DFD shows only external entities that provide data to the system or receive output from the system. A DFD shows the boundaries of the system and how the system interfaces with the outside world. For example, a customer entity submits an order to an order processing system. Other examples of entities include a patient who supplies data to a medical records system, a homeowner who receives a bill from a city property tax system, or an accounts payable system that receives data from the company’s purchasing system.DFD entities also are called terminators, because they are data origins or final destinations. Systems analysts call an entity that supplies data to the system a source, and an entity that receives data from the system a sink. An entity name is the singular form of a department, outside organization, other information system, or person. An external entity can be a source or a sink or both, but each entity must be connected to a process by a data flow. Figures 5-9 and 5-10 show correct and incorrect examples of this rule. With an understanding of the proper use of DFD symbols, you are ready to construct diagrams that use these symbols. Figure 5-11 on the next page shows a summary of the rules for using DFD symbols.
  12. The first step in constructing a set of DFDs is to draw a context diagram. A context diagram is a top-level view of an information system that shows the system’s boundaries and scope. To draw a context diagram, you 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 (the numeral zero, and not the letter O). Then you place the system entities around the perimeter of the page and use data flows to connect the entities to the central process. Data stores are not shown in the context diagram because they are contained within the system and remain hidden until more detailed diagrams are created.How do you know which entities and data flows to place in the context diagram?You begin by reviewing the system requirements to identify all external data sources and destinations. During that process, you identify the entities, the name and content of the data flows, and the direction of the data flows. If you do that carefully, and you did a good job of fact-finding in the previous stage, you should have no difficulty drawing the context diagram. Review the context diagram examples in Figures 5-12 (GRADING SYSTEM) and 5-13 (ORDER SYSTEM)
  13. To show the detail inside the black box, you create DFD diagram 0. Diagram 0 (the numeral zero, and not the letter O) zooms in on the system and shows major internal processes, data flows, and data stores. FIGURE 5-15: DIAGRAM 0 DFD FOR A GRADING SYSTEM
  14. Diagram 0 also repeats the entities and data flows that appear in the context diagram. When you expand the context diagram into DFD diagram0, you must retain all the connections that flow into and out of process 0.The real-life scene in Figure 5-14 represents a complex manufacturing system with many interactive processes and data. In a large system such as this, each process in diagram 0 could represent a separate system such as inventory, production control, and scheduling. Diagram 0 provides an overview of all the components that interact to form the overall system. Now review the following diagram 0 examples.Because diagram 0 is an explodedversion of process 0, it shows considerably more detail than the context diagram. You also can refer to diagram 0 as a partitioned or decomposed view of process 0. When you explode a DFD, the higher-level diagram is called the parent diagram, and the lower-level diagram is referred to as the child diagram.When you create a set of DFDs for a system, you break the processing logic down into smaller units, called functional primitives, that programmers will use to develop code. A functional primitive is a process that consists of a single function that is not exploded further.See also Figure 5-16: EXAMPLE: DIAGRAM 0 DFD FOR AN ORDER SYSTEM
  15. This set of lower-level DFDs is based on the order system. To create lower-level diagrams, you must use leveling and balancing techniques. Leveling is the process of drawing a series of increasingly detailed diagrams, until all functional primitives are identified. Figures 5-16 and 5-17 provide an example of leveling
  16. Balancing maintains consistency among a set of DFDs by ensuring that input and output data flows align properly. Balancing ensures that the input and output data flows of the parent DFD are maintained on the child DFDFigures 5-19, 5-20 and 5-21 provide examples of Balancing.
  17. When you draw a context diagram and other DFDs, you should follow several guidelines:• Draw the context diagram so it fits on one page.• Use the name of the information system as the process name in the context diagram. For example, the process name in Figure 5-12 is GRADING SYSTEM. Notice that the process name is the same as the system name. This is because the context diagram shows the entire information system as if it were a single process. For processes in lower-level DFDs, you would use a verb followed by a descriptive noun, such as ESTABLISH GRADEBOOK, ASSIGN FINAL GRADE, or PRODUCE GRADE REPORT.• Use unique names within each set of symbols. For instance, the diagram in Figure 5-12 shows only one entity named STUDENT and only one data flow named FINAL GRADE. Whenever you see the entity STUDENT on any other DFD in the grading system, you know that you are dealing with the same entity. Whenever the FINAL GRADE data flow appears, you know that you are dealing with the same data flow. The naming convention also applies to data stores.
  18. Guidelines – Continue: • Do not cross lines. One way to achieve that goal is to restrict the number of symbols in any DFD. On lower-level diagrams with multiple processes, you should not have more than nine process symbols. Including more than nine symbols usually is a signal that your diagram is too complex and that you should reconsider your analysis. Another way to avoid crossing lines is to duplicate an entity or data store. When duplicating a symbol on a diagram, make sure to document the duplication to avoid possible confusion. A special notation, such as an asterisk, next to the symbol name and inside the duplicated symbols signifies that they are duplicated on the diagram.• Provide a unique name and reference number for each process. Because it is the highest-level DFD, the context diagram contains process 0, which represents the entire information system, but does not show the internal workings. To describe the next level of detail inside process 0, you must create a DFD named diagram 0, which will reveal additional processes that must be named and numbered. As you continue to create lower-level DFDs, you assign unique names and reference numbers to all processes, until you complete the logical model.• Obtain as much user input and feedback as possible. Your main objective is to ensure that the model is accurate, easy to understand, and meets the needs of its users.