SlideShare a Scribd company logo
1 of 46
Process Modeling
Chapter 6

 (with additions by Yale Braunstein)




Slide 1               PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design
                                         Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
Key Definitions
 A process model is a formal way
 of representing how a business
 operates
 Data flow diagramming shows
 business processes and the data
 that flows between them

 Slide 2
Key Definitions
 Logical process models describe
 processes without suggesting
 how they are conducted
 Physical models include
 information about how the
 processes are implemented

 Slide 3
Data Flow Diagrams




Slide 4   PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design
                             Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
Reading a DFD




 Slide 5
DFD Elements




 Slide 6
DFD Shapes from Visio
                               Visio 5.x                                         Visio 2000

                                          F r o m S o ftw a r e D ia g r a m /   From Flow Chart /
 F r o m F lo w C h a r t /               G a n e -S a rs o n D F D              Data Flow Diagram
 D a ta F lo w D ia g r a m
                                                         ID #

                                                                                    Process
          P ro c e s s                                P ro c e s s




                                                                                   Data Store
        D a ta S to re                1           D a ta S to re


                                                 ID
                                                  #                                 External
     E x te r n a l E n tity                      E x te rn a l                      Entity
                                                    E n tity
 Slide 7
DFD – Practical Example
 Launched Dec. 11, 1998, the Climate Orbiter plunged too steeply
 into the Martian atmosphere Sept. 23, 1999, and either burned up
 or crashed. In an initial failure report released Oct. 15, 2000 the
 review board blamed the navigation error on a communications
 foul-up between NASA's Jet Propulsion Laboratory and prime
 contractor Lockheed Martin.

    Who was             Transfer of Flight Control Data
   responsible                                                     This process
  for this task?                                                   was missing


            JPL-1                ?                ?                   LM-1
         Collect,           Transfer data    Convert data            Control
        analyze,                            from Metric to         spaceflight
      generate flight                          English
       control data


          Metric data                                              English data


     J1    JPL store                                         LM1      LM store
 Slide 8
Structured English
 Common Statements   Example

 Action Statement    Profits = Revenues - Expenses
                     Generate Inventory - Report
                     Add Product record to Product Data Store

 If Statement        IF Customer Not in Customer Data Store
                     THEN Add Customer record to Customer Data Store
                     ELSE Add Current-Sale to Customer’s Total-Sales
                        Update Customer record in Customer Data Store

 For Statement       FOR all Customers in Customer Data Store
                       Generate a new line in the Customer-Report
                       Add Customer’s Total-Sales to Report-Total

 Case Statement      CASE
                         If Income < 10,000: Marginal-tax-rate   =   10%
                         If Income < 20,000: Marginal-tax-rate   =   20%
                         If Income < 30,000: Marginal-tax-rate   =   31%
                         If Income < 40,000: Marginal-tax-rate   =   35%
                         ELSE Marginal-tax-rate = 38%
 Slide 9             ENDCASE
Key Definition
 Decomposition is the process of
 modeling the system and its
 components in increasing levels
 of detail.
 Balancing involves insuring that
 information presented at one
 level of a DFD is accurately
 represented in the next level DFD.
  Slide 10
Context Diagram
 Shows the context into which the
 business process fits
 Shows the overall business process as
 just one process
 Shows all the outside entities that
 receive information from or
 contribute information to the system

 Slide 11
Relationship Among DFD levels




 Slide 12
Decomposition Diagram




 Slide 13
Level 0 Diagram
 Shows all the processes that comprise
 the overall system
 Shows how information moves from
 and to each process
 Adds data stores



 Slide 14
Level 1 Diagrams
 Shows all the processes that comprise a
 single process on the level 0 diagram
 Shows how information moves from and to
 each of these processes
 Shows in more detail the content of higher
 level process
 Level 1 diagrams may not be needed for
 all level 0 processes

 Slide 15
Level 2 Diagrams
 Shows all processes that comprise a single
 process on the level 1 diagram
 Shows how information moves from and to
 each of these processes
 Level 2 diagrams may not be needed for
 all level 1 processes
 Correctly numbering each process helps
 the user understand where the process fits
 into the overall system
 Slide 16
Data Flow Splits and Joins
 A data flow split shows where a flow is broken into
 its component parts for use in separate processes
 Data flow splits need not be mutually exclusive nor
 use all the data from the parent flow
 As we move to lower levels we become more
 precise about the data flows
 A data flow join shows where components are
 merged to describe a more comprehensive flow



 Slide 17
Alternative Data Flows
 Where a process can produce different
 data given different conditions
 We show both data flows and use the
 process description to explain why they are
 alternatives
 Tip -- alternative data flows often
 accompany processes with IF statements


 Slide 18
Your Turn
 At this point in the process it is easy to lose
 track of the “big picture”.
 Describe the difference between data
 flows, data stores, and processes.
 Describe in your own words the relationship
 between the DFD and the ultimate new
 application being developed.


 Slide 19
Creating Use Cases




Slide 20   PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design
                              Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
Elements of a Use Case
 Trigger -- event that causes the
 scenario to begin
   External trigger
   Temporal trigger
 All possible inputs and outputs
 Individual steps
   Show sequential order
   Show conditional steps

 Slide 21
Scenario Template (Use Case)
                                                 Scenario Description

            Scenario Name:                                                             ID Number: _ __
            Short Description:

            Trigger: _______________________________________________________________
            Type: External / Temporal
            Major Inputs:                                   Major Outputs:
            Description                      Source         Description                     Destination

            ________________________    ___________         _______________________    ____________
            ________________________    ___________         _______________________    ____________
            ________________________    ___________         _______________________    ____________
            ________________________    ___________         _______________________    ____________
            ________________________    ___________         _______________________    ____________
            ________________________    ___________

            Major Steps Performed                                                Information for Steps




     This template can be downloaded from the course download page.

 Slide 22
Creating Data Flow
Diagrams




Slide 23   PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design
                              Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
Integrating Scenario
Descriptions
 DFDs generally integrate scenario
 descriptions
 Names of use cases become
 processes
 Names of inputs and outputs
 become data flows
 Combining “small” data inputs and
 outputs into a single flow
 Slide 24
Steps in Building DFDs
 Build the context diagram
 Create DFD fragments for each
 scenario
 Organize DFD fragments into level 0
 Decompose level 0 DFDs as needed
 Validate DFDs with user


 Slide 25
DFD Fragment Tips
 All process names must be verb phrases
 Maintain organization’s viewpoint in
 naming processes
 Layouts often place
    processes in the center
    inputs from the left
    outputs to the right
    stores beneath the processes
 Slide 26
A DFD Fragment Example




 Slide 27
DFD – Common Errors

           Black Hole
                        Gray Hole




 Slide 28 Miracle
DFD – Packet Concept

                                                                         Correct use
                Telephone Service                  Itemized calls
                                                                        of the packet
                         Provider                      & invoice
                                                                              concept




Incorrect use
of the packet
     concept
                                                                    1
                                  Itemized calls

                                                    Pay phone
                        Invoice                            bill


     Slide 29
A Second DFD Fragment
Example




 Slide 30
Level 0 Tips
 Generally move from top to
 bottom, left to right
 Minimize crossed lines
 Iterate as needed
   The DFD is often drawn many times
   before it is finished, even with very
   experienced systems analysts
 Slide 31
Composite & Elementary Flows




 Slide 32
Tips for Level 1 and Below
 Sources for inputs and outputs listed at
 higher level
 List source and destination of data flows to
 processes and stores within each DFD
 Depth of DFD depends on overall system
 complexity
    Two processes generally don’t need
    lower level
    More than seven processes become
 Slide 33 complex and difficult to read
    overly
Flows to & from Data Stores




 Slide 34
Illegal Data Flows




 Slide 35
Validating the DFD
 Syntax errors
    Assure correct DFD structure
 Semantics errors
    Assure accuracy of DFD relative to
    actual/desired business processes
 User walkthroughs
 Role-play processes
 Examine lowest level DFDs
 Examine names carefully
 Slide 36
More on Use Cases,
    Requirements, Projects




Slide 37
How should we gather
requirements? Use cases?
1. Use cases hold functional requirements
   in an easy-to-read text format
2. They make a good framework for non-
   functional requirements & project
   details.
3. Use cases show only the Functional
   req’ts.
4. Design is not done only in use case
   units.
  Slide 38
A use case collects related scenarios
of a user’s goal succeeding or failing
UC 4: Place an order
Main scenario:
  1. User identifies the customer, item and
  quantity.
  2. System accepts and queues the order.

 Extensions:
  1a. Low credit: Customer is ‘Preferred’...
  1b. Low credit & not Preferred customer: ...
  2a. Low on stock: Customer accepts
  reduced...
   Slide 39
What sort of a use case fits your project:
Fully Dressed, ...?

Use Case 12. Buy stocks over the web
   Primary Actor: Purchaser (user) Scope: PAF
   Level: user goal Precondition: User already has PAF open.
   Guarantees: sufficient log information exists that PAF can detect what went wrong.
   Success Guarantees: remote web site acknowledged purchase, user's portfolio updated.
   Main success scenario:
   1. User selects to buy stocks over the web.
   2. PAF gets name of web site to use (E*Trade, Schwabb, etc.)
   3. PAF opens web connection to the site, retaining control.
   4. User browses and buys stock from the web site.
   5. PAF intercepts responses from the web site, and updates the user's portfolio.
   6. PAF shows the user the new portfolio standing.
   Extensions:
   2a. User wants a web site PAF does not support:
      2a1. System gets new suggestion from user, with option to cancel use case.
   Slide 40
   3a. ...
What sort of a use case fits your project:
..., Casual, ...?

  Use Case: Buy something
     The Requestor initiates a request and sends
    it to her or his Approver, who completes the
    request for submission and sends it to the
    Buyer. The Buyer finds the best vendor,
    initiates PO with Vendor.
     At any time prior to receiving goods,
    Requestor can change or cancel the
    request. Canceling it removes it from any
    active processing.
  Slide 41
What sort of a use case fits your project:
..., or Brief?
   Actor          Goal                 Brief Description
  Production    Prepare digital Convert external digital data to
     Staff       cartographic     standard format, validate &
                    source        correct in preparation for
                                  merging with operational
                                  database.
     ...              ...                        ...

           Answer is, of course...
            What are your project’s
                Priorities and Communication Channels?
  Slide 42
Use cases do not collect formulae, state,
cardinality, performance, uptime, ...
 Examples:
     1. Order cost = order item costs * 1.06 tax
     2. Promotions may not run longer than 6 months.
     3. Customers only become Preferred after ...
     4. A customer has one and only one sales contact.
     5. Response time is ...
     6. Uptime requirement is ...
     7. Number of simultaneous users will be ...

           Capture those in any form available
  Slide 43       (“just a tool problem”)
Goals make a good structure on which to
hang requirements & project details.
  Project planning capitalizes on goal structure:
     Useable Releases.
     Priorities,
     Schedule, staffing

Name                  P. Actor       Pr.     Diff.   Rel   Tm
Update customer       Customer       high    med     1     ..
Generate invoice      Finance        high    high    3     ..
Funds transfer        Finance        med     high    4     ..
Scan products         Customer       high    high    1     ..
   Slide 44
Use the scenarios directly
to Design and Test the system.
                         What if...?
            Scenarios


                                 “Knows how to...”




     “Knows how to...” “Knows how to...”



 Slide 45
Summary
 The Data Flow Diagram (DFD) is an essential
 tool for creating formal descriptions of business
 processes and data flows.
 Use cases record the input, transformation,
 and output of business processes.
 Eliciting scenario descriptions and modeling
 business processes are critically important skills
 for the systems analyst to master.


 Slide 46

More Related Content

Similar to 208 dataflowdgm

208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgmTCT
 
208-dataflowdgm_5.ppt
208-dataflowdgm_5.ppt208-dataflowdgm_5.ppt
208-dataflowdgm_5.pptTalhaNazeer5
 
208-dataflowdgm.ppt
208-dataflowdgm.ppt208-dataflowdgm.ppt
208-dataflowdgm.pptRAJA RAY
 
data flow diagram power point presentation
data flow diagram power point presentationdata flow diagram power point presentation
data flow diagram power point presentationSUBHASHREEBASU5
 
Hi600 ch05_text_slides
Hi600 ch05_text_slidesHi600 ch05_text_slides
Hi600 ch05_text_slidesljmcneill33
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts Ashwathy Nair
 
DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptsures4
 
DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptsures4
 
BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...
BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...
BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...BA and Beyond
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram Nidhi Sharma
 
Data warehouse : Order Management
Data warehouse : Order ManagementData warehouse : Order Management
Data warehouse : Order ManagementKritiya Sangnitidaj
 
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
 
CIS 2303 LO3 Process Modeling
CIS 2303 LO3 Process ModelingCIS 2303 LO3 Process Modeling
CIS 2303 LO3 Process ModelingAhmad Ammari
 
F073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital Goods
F073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital GoodsF073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital Goods
F073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital GoodsFIROZ KHAN
 

Similar to 208 dataflowdgm (20)

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
 
208-dataflowdgm_5.ppt
208-dataflowdgm_5.ppt208-dataflowdgm_5.ppt
208-dataflowdgm_5.ppt
 
208-dataflowdgm.ppt
208-dataflowdgm.ppt208-dataflowdgm.ppt
208-dataflowdgm.ppt
 
data flow diagram power point presentation
data flow diagram power point presentationdata flow diagram power point presentation
data flow diagram power point presentation
 
DataFlowDiagram.ppt
DataFlowDiagram.pptDataFlowDiagram.ppt
DataFlowDiagram.ppt
 
Module 2 Unit 3
Module 2 Unit 3Module 2 Unit 3
Module 2 Unit 3
 
Hi600 ch05_text_slides
Hi600 ch05_text_slidesHi600 ch05_text_slides
Hi600 ch05_text_slides
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
 
DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.ppt
 
DATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.pptDATA FLOW DIAGRAMS Yamini devi.ppt
DATA FLOW DIAGRAMS Yamini devi.ppt
 
BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...
BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...
BA and Beyond 20 - Geert Haerens - Evolvable Architecture — Are you hoping fo...
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Data warehouse : Order Management
Data warehouse : Order ManagementData warehouse : Order Management
Data warehouse : Order Management
 
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
 
CIS 2303 LO3 Process Modeling
CIS 2303 LO3 Process ModelingCIS 2303 LO3 Process Modeling
CIS 2303 LO3 Process Modeling
 
DFD Slides
DFD SlidesDFD Slides
DFD Slides
 
F073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital Goods
F073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital GoodsF073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital Goods
F073 – Transfer of CENVAT on hold to CENVAT Credit – for Capital Goods
 

Recently uploaded

Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightDelhi Call girls
 
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...Pooja Nehwal
 
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiVIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...kumaririma588
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...babafaisel
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CANestorGamez6
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...Suhani Kapoor
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiSuhani Kapoor
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Delhi Call girls
 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightDelhi Call girls
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130Suhani Kapoor
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Call Girls in Nagpur High Profile
 
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...Suhani Kapoor
 

Recently uploaded (20)

Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 nightCheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
Cheap Rate Call girls Malviya Nagar 9205541914 shot 1500 night
 
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...Kurla Call Girls Pooja Nehwal📞 9892124323 ✅  Vashi Call Service Available Nea...
Kurla Call Girls Pooja Nehwal📞 9892124323 ✅ Vashi Call Service Available Nea...
 
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiVIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
 
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
 
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
young call girls in Vivek Vihar🔝 9953056974 🔝 Delhi escort Service
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
 
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Saharanpur Deepika 8250192130 Independent Escort Se...
 

208 dataflowdgm

  • 1. Process Modeling Chapter 6 (with additions by Yale Braunstein) Slide 1 PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
  • 2. Key Definitions A process model is a formal way of representing how a business operates Data flow diagramming shows business processes and the data that flows between them Slide 2
  • 3. Key Definitions Logical process models describe processes without suggesting how they are conducted Physical models include information about how the processes are implemented Slide 3
  • 4. Data Flow Diagrams Slide 4 PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
  • 5. Reading a DFD Slide 5
  • 7. DFD Shapes from Visio Visio 5.x Visio 2000 F r o m S o ftw a r e D ia g r a m / From Flow Chart / F r o m F lo w C h a r t / G a n e -S a rs o n D F D Data Flow Diagram D a ta F lo w D ia g r a m ID # Process P ro c e s s P ro c e s s Data Store D a ta S to re 1 D a ta S to re ID # External E x te r n a l E n tity E x te rn a l Entity E n tity Slide 7
  • 8. DFD – Practical Example Launched Dec. 11, 1998, the Climate Orbiter plunged too steeply into the Martian atmosphere Sept. 23, 1999, and either burned up or crashed. In an initial failure report released Oct. 15, 2000 the review board blamed the navigation error on a communications foul-up between NASA's Jet Propulsion Laboratory and prime contractor Lockheed Martin. Who was Transfer of Flight Control Data responsible This process for this task? was missing JPL-1 ? ? LM-1 Collect, Transfer data Convert data Control analyze, from Metric to spaceflight generate flight English control data Metric data English data J1 JPL store LM1 LM store Slide 8
  • 9. Structured English Common Statements Example Action Statement Profits = Revenues - Expenses Generate Inventory - Report Add Product record to Product Data Store If Statement IF Customer Not in Customer Data Store THEN Add Customer record to Customer Data Store ELSE Add Current-Sale to Customer’s Total-Sales Update Customer record in Customer Data Store For Statement FOR all Customers in Customer Data Store Generate a new line in the Customer-Report Add Customer’s Total-Sales to Report-Total Case Statement CASE If Income < 10,000: Marginal-tax-rate = 10% If Income < 20,000: Marginal-tax-rate = 20% If Income < 30,000: Marginal-tax-rate = 31% If Income < 40,000: Marginal-tax-rate = 35% ELSE Marginal-tax-rate = 38% Slide 9 ENDCASE
  • 10. Key Definition Decomposition is the process of modeling the system and its components in increasing levels of detail. Balancing involves insuring that information presented at one level of a DFD is accurately represented in the next level DFD. Slide 10
  • 11. Context Diagram Shows the context into which the business process fits Shows the overall business process as just one process Shows all the outside entities that receive information from or contribute information to the system Slide 11
  • 12. Relationship Among DFD levels Slide 12
  • 14. Level 0 Diagram Shows all the processes that comprise the overall system Shows how information moves from and to each process Adds data stores Slide 14
  • 15. Level 1 Diagrams Shows all the processes that comprise a single process on the level 0 diagram Shows how information moves from and to each of these processes Shows in more detail the content of higher level process Level 1 diagrams may not be needed for all level 0 processes Slide 15
  • 16. Level 2 Diagrams Shows all processes that comprise a single process on the level 1 diagram Shows how information moves from and to each of these processes Level 2 diagrams may not be needed for all level 1 processes Correctly numbering each process helps the user understand where the process fits into the overall system Slide 16
  • 17. Data Flow Splits and Joins A data flow split shows where a flow is broken into its component parts for use in separate processes Data flow splits need not be mutually exclusive nor use all the data from the parent flow As we move to lower levels we become more precise about the data flows A data flow join shows where components are merged to describe a more comprehensive flow Slide 17
  • 18. Alternative Data Flows Where a process can produce different data given different conditions We show both data flows and use the process description to explain why they are alternatives Tip -- alternative data flows often accompany processes with IF statements Slide 18
  • 19. Your Turn At this point in the process it is easy to lose track of the “big picture”. Describe the difference between data flows, data stores, and processes. Describe in your own words the relationship between the DFD and the ultimate new application being developed. Slide 19
  • 20. Creating Use Cases Slide 20 PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
  • 21. Elements of a Use Case Trigger -- event that causes the scenario to begin External trigger Temporal trigger All possible inputs and outputs Individual steps Show sequential order Show conditional steps Slide 21
  • 22. Scenario Template (Use Case) Scenario Description Scenario Name: ID Number: _ __ Short Description: Trigger: _______________________________________________________________ Type: External / Temporal Major Inputs: Major Outputs: Description Source Description Destination ________________________ ___________ _______________________ ____________ ________________________ ___________ _______________________ ____________ ________________________ ___________ _______________________ ____________ ________________________ ___________ _______________________ ____________ ________________________ ___________ _______________________ ____________ ________________________ ___________ Major Steps Performed Information for Steps This template can be downloaded from the course download page. Slide 22
  • 23. Creating Data Flow Diagrams Slide 23 PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved.
  • 24. Integrating Scenario Descriptions DFDs generally integrate scenario descriptions Names of use cases become processes Names of inputs and outputs become data flows Combining “small” data inputs and outputs into a single flow Slide 24
  • 25. Steps in Building DFDs Build the context diagram Create DFD fragments for each scenario Organize DFD fragments into level 0 Decompose level 0 DFDs as needed Validate DFDs with user Slide 25
  • 26. DFD Fragment Tips All process names must be verb phrases Maintain organization’s viewpoint in naming processes Layouts often place processes in the center inputs from the left outputs to the right stores beneath the processes Slide 26
  • 27. A DFD Fragment Example Slide 27
  • 28. DFD – Common Errors Black Hole Gray Hole Slide 28 Miracle
  • 29. DFD – Packet Concept Correct use Telephone Service Itemized calls of the packet Provider & invoice concept Incorrect use of the packet concept 1 Itemized calls Pay phone Invoice bill Slide 29
  • 30. A Second DFD Fragment Example Slide 30
  • 31. Level 0 Tips Generally move from top to bottom, left to right Minimize crossed lines Iterate as needed The DFD is often drawn many times before it is finished, even with very experienced systems analysts Slide 31
  • 32. Composite & Elementary Flows Slide 32
  • 33. Tips for Level 1 and Below Sources for inputs and outputs listed at higher level List source and destination of data flows to processes and stores within each DFD Depth of DFD depends on overall system complexity Two processes generally don’t need lower level More than seven processes become Slide 33 complex and difficult to read overly
  • 34. Flows to & from Data Stores Slide 34
  • 35. Illegal Data Flows Slide 35
  • 36. Validating the DFD Syntax errors Assure correct DFD structure Semantics errors Assure accuracy of DFD relative to actual/desired business processes User walkthroughs Role-play processes Examine lowest level DFDs Examine names carefully Slide 36
  • 37. More on Use Cases, Requirements, Projects Slide 37
  • 38. How should we gather requirements? Use cases? 1. Use cases hold functional requirements in an easy-to-read text format 2. They make a good framework for non- functional requirements & project details. 3. Use cases show only the Functional req’ts. 4. Design is not done only in use case units. Slide 38
  • 39. A use case collects related scenarios of a user’s goal succeeding or failing UC 4: Place an order Main scenario: 1. User identifies the customer, item and quantity. 2. System accepts and queues the order. Extensions: 1a. Low credit: Customer is ‘Preferred’... 1b. Low credit & not Preferred customer: ... 2a. Low on stock: Customer accepts reduced... Slide 39
  • 40. What sort of a use case fits your project: Fully Dressed, ...? Use Case 12. Buy stocks over the web Primary Actor: Purchaser (user) Scope: PAF Level: user goal Precondition: User already has PAF open. Guarantees: sufficient log information exists that PAF can detect what went wrong. Success Guarantees: remote web site acknowledged purchase, user's portfolio updated. Main success scenario: 1. User selects to buy stocks over the web. 2. PAF gets name of web site to use (E*Trade, Schwabb, etc.) 3. PAF opens web connection to the site, retaining control. 4. User browses and buys stock from the web site. 5. PAF intercepts responses from the web site, and updates the user's portfolio. 6. PAF shows the user the new portfolio standing. Extensions: 2a. User wants a web site PAF does not support: 2a1. System gets new suggestion from user, with option to cancel use case. Slide 40 3a. ...
  • 41. What sort of a use case fits your project: ..., Casual, ...? Use Case: Buy something The Requestor initiates a request and sends it to her or his Approver, who completes the request for submission and sends it to the Buyer. The Buyer finds the best vendor, initiates PO with Vendor. At any time prior to receiving goods, Requestor can change or cancel the request. Canceling it removes it from any active processing. Slide 41
  • 42. What sort of a use case fits your project: ..., or Brief? Actor Goal Brief Description Production Prepare digital Convert external digital data to Staff cartographic standard format, validate & source correct in preparation for merging with operational database. ... ... ... Answer is, of course... What are your project’s Priorities and Communication Channels? Slide 42
  • 43. Use cases do not collect formulae, state, cardinality, performance, uptime, ... Examples: 1. Order cost = order item costs * 1.06 tax 2. Promotions may not run longer than 6 months. 3. Customers only become Preferred after ... 4. A customer has one and only one sales contact. 5. Response time is ... 6. Uptime requirement is ... 7. Number of simultaneous users will be ... Capture those in any form available Slide 43 (“just a tool problem”)
  • 44. Goals make a good structure on which to hang requirements & project details. Project planning capitalizes on goal structure: Useable Releases. Priorities, Schedule, staffing Name P. Actor Pr. Diff. Rel Tm Update customer Customer high med 1 .. Generate invoice Finance high high 3 .. Funds transfer Finance med high 4 .. Scan products Customer high high 1 .. Slide 44
  • 45. Use the scenarios directly to Design and Test the system. What if...? Scenarios “Knows how to...” “Knows how to...” “Knows how to...” Slide 45
  • 46. Summary The Data Flow Diagram (DFD) is an essential tool for creating formal descriptions of business processes and data flows. Use cases record the input, transformation, and output of business processes. Eliciting scenario descriptions and modeling business processes are critically important skills for the systems analyst to master. Slide 46

Editor's Notes

  1. November 3, 2012 Why was this important? It clarified our vocabulary and It included all the parts we needed to function Discuss other ways to write use cases narrative formal scripts