SlideShare uma empresa Scribd logo
1 de 15
DFD Symbology
                                                       6.1
                                                     Create
                   Process                          Employee
                                                     Payroll
                                                     Check


                                                    Inventory
                  Data Store                  D7
                                                       File



                    Entity                          Customer




                  Data Flow                  New Customer Information


DeMarco-Yourdon                Gane-Sarson
                                                   Examples
  Symbology                    Symbology
DFD for Peeling an Apple
       Apple                      Peeling Device                                              Peel
S1                           S2                                                      S2
      Storage                        Storage                                                Disposal


Unwashed Apple                    Peeling Device                                          Apple Peel



        1.0                            2.0                                                   6.0
                                                   Peeling Device     Apple Peel

       Get                            Get                                                  Discard
      Apple                          Peeling                                                Peel
                                     Device
                                                                5.0

                                                           Peel Apple
 Unwashed Apple                                               With                                              Processed
                                                         Peeling Device                                           Apple
                                                                                                                 System
        3.0                            4.0                                                    7.0

      Wash                            Hold                                                Send Peeled
      Apple                           Apple                                                  Apple
                  Washed Apple                     Washed Apple       Peeled Apple            To
                                                                                           Processor    Peeled Apple
Context-Level Diagram

                   Employee Tax Form

Employee

                                   0
                                         Payroll Report


             Time Sheet       Employee
                               Payroll
                               System
  Employee Payroll Check

                                                      Accounting
                                                      Department
Level-0 DFD
                                                                   2.0
                                            Employee Record                  Paycheck Data
                               Employee                        Compute                                Payroll
Employee                S1                                                                   S2
                                Data File                       Weekly                                Data File
                                                               Paycheck
                                                                                                    Payroll Record
                             Hours Worked


                                  1.0                                                                    3.0
                                                                          Employee Payroll Record
           Time Sheet          Create                                                                 Prepare
                               Weekly                                                                 Weekly
                               Payroll             Employee Paycheck                                  Payroll
                               Record                                                                Summary
                                                                                                    Payroll Report
                                                                   4.0

                                                                Prepare
                    Employee Tax Form                          Employee
                                                                  Tax                               Accounting
                                                                 Form                               Department
Level-1 DFD
                                           Employee Record
                  S1 Employee Data File                                                                  S2   Payroll Data File
Employee
                                                                                                              Payroll Record
                                                  2.1                    2.2                     2.3
                        Hours Worked                     Gross Pay                 Net Pay
                                               Compute                Compute                  Create                3.1
                                                           Data                     Data
                                                Gross                   Net                    Payroll             Sort
                            1.0
                                                 Pay                    Pay                    Check              Payroll
                          Create                                                                                Records by
                          Weekly                                                                                 Employee
           Time Sheet     Payroll
                          Record                                                                              Sorted Records


                                          Employee Paycheck                                                          3.2
                                                                                                                   Print
                                                                                                                  Weekly
                                                              4.2                    4.1                          Payroll
                                                                                                                 Summary
                                                           Print                   Calculate
                                                         Employee                   Payroll  Employee Payroll Payroll Report
               Employee Tax Form                                       Payroll
                                                           Tax                    Deductions     Record
                                                                     Deductions
                                                          Form

                                                                                                               Accounting
                                                                                                               Department
Partial Level-n DFD
                                                                                   4.1.1
                                                                                              Employee
                                                                                               Payroll
                                                                                 Calculate     Record

                                                                                  Payroll
                                                                                   Tax
Employee Tax Form
                                                                                Deductions

                                                                              Employee Data



     4.2.2                       4.2.1                   4.1.3                     4.1.2
                    Employee               Employee                Employee
                      Data                   Data                    Data
    Print                      Calculate               Calculate                 Calculate
  Employee                     Employee               Retirement                 Non-tax
  Tax Form                     Vacation               Allowance                 Deductions
                                 Pay
Rules Governing DFD Construction
•   A process cannot have only outputs – “Miracle.”
•   A process cannot have only inputs – “Black Hole.”
•   The inputs to a process must be sufficient to produce the outputs from the
    process - (Gray Hole).
•   All data stores must be connected to at least one process.
•   A data store cannot be connected to a source or sink.
•   A data flow can have only one direction of flow. Multiple data flows to and/or
    from the same process and data store must be shown by separate arrows.
•   If the exact same data flows to two separate processes, it should be
    represented by a forked arrow.
•   Data cannot flow directly back into the process it has just left.
•   All data flows must be named using a noun phrase.
ANSI Flowchart Symbology

              Punch Card    Tape        Sor
 Program
                            File         t

                Source
  Library      Document
 Program
                           Disk File


  Manual       Multiple
              Documents                Extrac
   Oper.                                 t


                                       Merg
                Decisio    Database     e
Termination
                  n
System Flowchart
 Order-
 Entry
 Dept.


              Correc
Member           t
Orders        Order
              Errors

             Member
 Input      Order Error
Member        Report
Orders


           Member Order                   Sorted
               Edit        Valid   Sort   Member
Member
             Program      Orders   by #   Orders
 Orders
Functional Primitive
                                                                                   4.1.1
                                                                                              Employee
                                                                                               Payroll
                                                                                 Calculate     Record

                                                                                  Payroll
                                                                                   Tax
Employee Tax Form
                                                                                Deductions

                                                                              Employee Data



     4.2.2                       4.2.1                   4.1.3                     4.1.2
                    Employee               Employee                Employee
                      Data                   Data                    Data
    Print                      Calculate               Calculate                 Calculate
  Employee                     Employee               Retirement                 Non-tax
  Tax Form                     Vacation               Allowance                 Deductions
                                 Pay
Non-Probabilistic Decision Tree

                                       Condition 2 (true)    Action 1
              Condition 1 (true)   2
                                       Condition 2 (false)   Action 2
Process
 Name     1

                                       Condition 2 (true)    Action 3
              Condition 1 (false) 2

                                       Condition 2 (false)   Action 4
Decision Tree Example
        Driver     Accident   Driver   Driver’s   College    H.S.    Surcharge
         Age         Free     Gender    Educ.      Educ.     GPA

                                                            3.25+       7%
                                                              6
                                                  Yes                  10%
                                                            < 3.25
                                                   5
                                       Yes        No                   12%
                                        4
                                                                       15%
                                M       No
                               3                                       10%
                     Yes
       < 25 yrs.                F
                     2                                                 20%
Surcharge 1
                     No
 Rating                                                                 7%
                      2
       25 yrs. +
                     Yes                                                0%
State-Transition Diagram
                             S1. ON button
                                Pushed


                             S2. OFF button
   State           1. Idle       pushed         2. Operating
                   State                            State


                                    S4. Minor
                                      Error
             S5. Major                                 S3. Error
                                     Cleared
               Error                                   Condition
              Cleared                                  Detected
                                 Error
Transition                       State
Problem 1 DFD

             Insurance      1.0    Insurance       2.0

Insurance
 Insurance
               Claim
                          Verify     Claim      Review
 Claimant
  Claimant                Claim                 Client
                                                History


                                                   3.0                                  Home
                                                                                        Home
                                                 Issue                                  Office
                                                                                        Office
                   Claim Payment                 Claim
                                                Payment                             Claims
                                                                                    Report
                                                     Amount Paid

                                                                                        Claims
                                                                                        Claims
                                               Claims File                             Manager
                                                                   Monthly Claims      Manager
                                                                     Analysis
Structured English for Process 4.x
Process                              Structured English
   ID

    
 4.1.1    Multiply GROSS_PAY by FED_TAX_RATE and store in EMP_TAX_DEDUCT.
    
    
 4.1.2    IF EMP_NONTAX_DEDUCT > 0
             THEN append EMP_NONTAX_DEDUCT to employee data.
           
    
 4.1.3    Multiply GROSS_PAY by .01 and store in EMP_RETIRE.
    
    
 4.1.4    Multiply CURR_EMP_VACATION by EMP_DAY_RATE and store in
          EMP_VACATION_PAY.
           

Mais conteúdo relacionado

Mais procurados

final presentation on payroll management system FOR HCL TECHNOLOGIES
final presentation on payroll management system FOR HCL TECHNOLOGIESfinal presentation on payroll management system FOR HCL TECHNOLOGIES
final presentation on payroll management system FOR HCL TECHNOLOGIES
Neha Wadhawan
 
Leave Management System Documentation
Leave Management System DocumentationLeave Management System Documentation
Leave Management System Documentation
muzammil siddiq
 
Synopsis on inventory_management_system
Synopsis on inventory_management_systemSynopsis on inventory_management_system
Synopsis on inventory_management_system
Divya Baghel
 

Mais procurados (20)

Leave management ppt made by krishna ballabh gupta
Leave management ppt made by krishna ballabh gupta Leave management ppt made by krishna ballabh gupta
Leave management ppt made by krishna ballabh gupta
 
Payroll process flowchart
Payroll process flowchartPayroll process flowchart
Payroll process flowchart
 
final presentation on payroll management system FOR HCL TECHNOLOGIES
final presentation on payroll management system FOR HCL TECHNOLOGIESfinal presentation on payroll management system FOR HCL TECHNOLOGIES
final presentation on payroll management system FOR HCL TECHNOLOGIES
 
Payroll management presentation
Payroll management presentationPayroll management presentation
Payroll management presentation
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Feasibility Study Report Personal Information & Leave Management System
Feasibility Study Report Personal Information & Leave Management SystemFeasibility Study Report Personal Information & Leave Management System
Feasibility Study Report Personal Information & Leave Management System
 
Leave Management System Documentation
Leave Management System DocumentationLeave Management System Documentation
Leave Management System Documentation
 
Synopsis on inventory_management_system
Synopsis on inventory_management_systemSynopsis on inventory_management_system
Synopsis on inventory_management_system
 
Payroll management Ppt
Payroll management PptPayroll management Ppt
Payroll management Ppt
 
Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS)
 
Project report college information management system on Advanced Java
Project report college information management system on Advanced JavaProject report college information management system on Advanced Java
Project report college information management system on Advanced Java
 
Payroll management
Payroll   managementPayroll   management
Payroll management
 
DFD level-0 to 1
DFD level-0 to 1DFD level-0 to 1
DFD level-0 to 1
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Project abstract demo
Project  abstract demoProject  abstract demo
Project abstract demo
 
Leave management system
Leave management systemLeave management system
Leave management system
 
Scope of work for payroll & compliance
Scope of work for payroll & complianceScope of work for payroll & compliance
Scope of work for payroll & compliance
 
Leave management System
Leave management SystemLeave management System
Leave management System
 
Leave management system
Leave management systemLeave management system
Leave management system
 
Employee management system1
Employee management system1Employee management system1
Employee management system1
 

Destaque

Dfd examples
Dfd examplesDfd examples
Dfd examples
Mohit
 
Computerized payroll system
Computerized payroll systemComputerized payroll system
Computerized payroll system
Francis Genavia
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
Kaviarasu D
 
Employee Profile Management System
Employee Profile Management SystemEmployee Profile Management System
Employee Profile Management System
ncct
 
Thesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, DitaThesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, Dita
Acel Carl David O, Dolindo
 
Ch15ed12romney
Ch15ed12romneyCh15ed12romney
Ch15ed12romney
woyaoni
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
Nidhi Sharma
 
Data flow diagrams (2)
Data flow diagrams (2)Data flow diagrams (2)
Data flow diagrams (2)
Ujjwal 'Shanu'
 

Destaque (20)

Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Payroll Management System SRS
Payroll Management System SRSPayroll Management System SRS
Payroll Management System SRS
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Computerized payroll system
Computerized payroll systemComputerized payroll system
Computerized payroll system
 
Employee Management System UML Diagrams Use Case Diagram, Activity Diagram, S...
Employee Management System UML Diagrams Use Case Diagram, Activity Diagram, S...Employee Management System UML Diagrams Use Case Diagram, Activity Diagram, S...
Employee Management System UML Diagrams Use Case Diagram, Activity Diagram, S...
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
 
Payroll system
Payroll systemPayroll system
Payroll system
 
Dfd Case1
Dfd Case1Dfd Case1
Dfd Case1
 
Employee Profile Management System
Employee Profile Management SystemEmployee Profile Management System
Employee Profile Management System
 
Payroll Sytem
Payroll SytemPayroll Sytem
Payroll Sytem
 
Thesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, DitaThesis about Computerized Payroll System for Barangay Hall, Dita
Thesis about Computerized Payroll System for Barangay Hall, Dita
 
Employee Management System in C++
Employee Management System in C++Employee Management System in C++
Employee Management System in C++
 
Data Flow Diagram
Data Flow DiagramData Flow Diagram
Data Flow Diagram
 
Ch15ed12romney
Ch15ed12romneyCh15ed12romney
Ch15ed12romney
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Employee Management System By AZ DATAMALL
Employee Management System By AZ DATAMALLEmployee Management System By AZ DATAMALL
Employee Management System By AZ DATAMALL
 
Payroll presentation 01
Payroll presentation 01Payroll presentation 01
Payroll presentation 01
 
Dfd final
Dfd finalDfd final
Dfd final
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Data flow diagrams (2)
Data flow diagrams (2)Data flow diagrams (2)
Data flow diagrams (2)
 

Semelhante a Dfd and flowchart (6)

July 7 Demo Deck
July 7 Demo DeckJuly 7 Demo Deck
July 7 Demo Deck
 
Test Data Management for healthcare
Test Data Management for healthcareTest Data Management for healthcare
Test Data Management for healthcare
 
TPM BPN F2F3_Sandoz BR_Increasing OEE throughout Manufacturing Operations
TPM BPN F2F3_Sandoz BR_Increasing OEE throughout Manufacturing OperationsTPM BPN F2F3_Sandoz BR_Increasing OEE throughout Manufacturing Operations
TPM BPN F2F3_Sandoz BR_Increasing OEE throughout Manufacturing Operations
 
Lean Six Sigma Training & Consulting_Vative
Lean Six Sigma Training & Consulting_VativeLean Six Sigma Training & Consulting_Vative
Lean Six Sigma Training & Consulting_Vative
 
Staff measurements 250
Staff measurements 250Staff measurements 250
Staff measurements 250
 
The Red Queen Race
The Red Queen RaceThe Red Queen Race
The Red Queen Race
 

Mais de Mir Majid

Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
Mir Majid
 
.Net framework interview questions
.Net framework interview questions.Net framework interview questions
.Net framework interview questions
Mir Majid
 
My sql technical reference manual
My sql technical reference manualMy sql technical reference manual
My sql technical reference manual
Mir Majid
 
Holographic memory
Holographic memoryHolographic memory
Holographic memory
Mir Majid
 
Simulation programs
Simulation programsSimulation programs
Simulation programs
Mir Majid
 
8086 assembly language
8086 assembly language8086 assembly language
8086 assembly language
Mir Majid
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
Mir Majid
 
Lessons from life_2
Lessons from life_2Lessons from life_2
Lessons from life_2
Mir Majid
 
Time management
Time managementTime management
Time management
Mir Majid
 
Lest weforget
Lest weforget Lest weforget
Lest weforget
Mir Majid
 
E hospital manager
E hospital managerE hospital manager
E hospital manager
Mir Majid
 

Mais de Mir Majid (20)

Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
.Net framework interview questions
.Net framework interview questions.Net framework interview questions
.Net framework interview questions
 
My sql technical reference manual
My sql technical reference manualMy sql technical reference manual
My sql technical reference manual
 
Dotnet basics
Dotnet basicsDotnet basics
Dotnet basics
 
Holographic memory
Holographic memoryHolographic memory
Holographic memory
 
Data recovery
Data recoveryData recovery
Data recovery
 
Simulation programs
Simulation programsSimulation programs
Simulation programs
 
8086 assembly language
8086 assembly language8086 assembly language
8086 assembly language
 
Router bridge
Router bridgeRouter bridge
Router bridge
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
 
Assembler
AssemblerAssembler
Assembler
 
Lessons from life_2
Lessons from life_2Lessons from life_2
Lessons from life_2
 
Child faces 2
Child faces 2Child faces 2
Child faces 2
 
Time management
Time managementTime management
Time management
 
Lest weforget
Lest weforget Lest weforget
Lest weforget
 
E hospital manager
E hospital managerE hospital manager
E hospital manager
 
Crypt
CryptCrypt
Crypt
 
Smart cards
Smart cardsSmart cards
Smart cards
 
Rfid
RfidRfid
Rfid
 
Rfid seminar
Rfid seminarRfid seminar
Rfid seminar
 

Dfd and flowchart

  • 1. DFD Symbology 6.1 Create Process Employee Payroll Check Inventory Data Store D7 File Entity Customer Data Flow New Customer Information DeMarco-Yourdon Gane-Sarson Examples Symbology Symbology
  • 2. DFD for Peeling an Apple Apple Peeling Device Peel S1 S2 S2 Storage Storage Disposal Unwashed Apple Peeling Device Apple Peel 1.0 2.0 6.0 Peeling Device Apple Peel Get Get Discard Apple Peeling Peel Device 5.0 Peel Apple Unwashed Apple With Processed Peeling Device Apple System 3.0 4.0 7.0 Wash Hold Send Peeled Apple Apple Apple Washed Apple Washed Apple Peeled Apple To Processor Peeled Apple
  • 3. Context-Level Diagram Employee Tax Form Employee 0 Payroll Report Time Sheet Employee Payroll System Employee Payroll Check Accounting Department
  • 4. Level-0 DFD 2.0 Employee Record Paycheck Data Employee Compute Payroll Employee S1 S2 Data File Weekly Data File Paycheck Payroll Record Hours Worked 1.0 3.0 Employee Payroll Record Time Sheet Create Prepare Weekly Weekly Payroll Employee Paycheck Payroll Record Summary Payroll Report 4.0 Prepare Employee Tax Form Employee Tax Accounting Form Department
  • 5. Level-1 DFD Employee Record S1 Employee Data File S2 Payroll Data File Employee Payroll Record 2.1 2.2 2.3 Hours Worked Gross Pay Net Pay Compute Compute Create 3.1 Data Data Gross Net Payroll Sort 1.0 Pay Pay Check Payroll Create Records by Weekly Employee Time Sheet Payroll Record Sorted Records Employee Paycheck 3.2 Print Weekly 4.2 4.1 Payroll Summary Print Calculate Employee Payroll Employee Payroll Payroll Report Employee Tax Form Payroll Tax Deductions Record Deductions Form Accounting Department
  • 6. Partial Level-n DFD 4.1.1 Employee Payroll Calculate Record Payroll Tax Employee Tax Form Deductions Employee Data 4.2.2 4.2.1 4.1.3 4.1.2 Employee Employee Employee Data Data Data Print Calculate Calculate Calculate Employee Employee Retirement Non-tax Tax Form Vacation Allowance Deductions Pay
  • 7. Rules Governing DFD Construction • A process cannot have only outputs – “Miracle.” • A process cannot have only inputs – “Black Hole.” • The inputs to a process must be sufficient to produce the outputs from the process - (Gray Hole). • All data stores must be connected to at least one process. • A data store cannot be connected to a source or sink. • A data flow can have only one direction of flow. Multiple data flows to and/or from the same process and data store must be shown by separate arrows. • If the exact same data flows to two separate processes, it should be represented by a forked arrow. • Data cannot flow directly back into the process it has just left. • All data flows must be named using a noun phrase.
  • 8. ANSI Flowchart Symbology Punch Card Tape Sor Program File t Source Library Document Program Disk File Manual Multiple Documents Extrac Oper. t Merg Decisio Database e Termination n
  • 9. System Flowchart Order- Entry Dept. Correc Member t Orders Order Errors Member Input Order Error Member Report Orders Member Order Sorted Edit Valid Sort Member Member Program Orders by # Orders Orders
  • 10. Functional Primitive 4.1.1 Employee Payroll Calculate Record Payroll Tax Employee Tax Form Deductions Employee Data 4.2.2 4.2.1 4.1.3 4.1.2 Employee Employee Employee Data Data Data Print Calculate Calculate Calculate Employee Employee Retirement Non-tax Tax Form Vacation Allowance Deductions Pay
  • 11. Non-Probabilistic Decision Tree Condition 2 (true) Action 1 Condition 1 (true) 2 Condition 2 (false) Action 2 Process Name 1 Condition 2 (true) Action 3 Condition 1 (false) 2 Condition 2 (false) Action 4
  • 12. Decision Tree Example Driver Accident Driver Driver’s College H.S. Surcharge Age Free Gender Educ. Educ. GPA 3.25+ 7% 6 Yes 10% < 3.25 5 Yes No 12% 4 15% M No 3 10% Yes < 25 yrs. F 2 20% Surcharge 1 No Rating 7% 2 25 yrs. + Yes 0%
  • 13. State-Transition Diagram S1. ON button Pushed S2. OFF button State 1. Idle pushed 2. Operating State State S4. Minor Error S5. Major S3. Error Cleared Error Condition Cleared Detected Error Transition State
  • 14. Problem 1 DFD Insurance 1.0 Insurance 2.0 Insurance Insurance Claim Verify Claim Review Claimant Claimant Claim Client History 3.0 Home Home Issue Office Office Claim Payment Claim Payment Claims Report Amount Paid Claims Claims Claims File Manager Monthly Claims Manager Analysis
  • 15. Structured English for Process 4.x Process Structured English ID   4.1.1 Multiply GROSS_PAY by FED_TAX_RATE and store in EMP_TAX_DEDUCT.     4.1.2 IF EMP_NONTAX_DEDUCT > 0   THEN append EMP_NONTAX_DEDUCT to employee data.     4.1.3 Multiply GROSS_PAY by .01 and store in EMP_RETIRE.     4.1.4 Multiply CURR_EMP_VACATION by EMP_DAY_RATE and store in   EMP_VACATION_PAY.