Presentation is loading. Please wait.

Presentation is loading. Please wait.

DFD Symbology DeMarco-Yourdon Symbology Gane-Sarson Symbology Examples Process Data Store Entity Data Flow 6.1 Create Employee Payroll Check Customer New.

Similar presentations


Presentation on theme: "DFD Symbology DeMarco-Yourdon Symbology Gane-Sarson Symbology Examples Process Data Store Entity Data Flow 6.1 Create Employee Payroll Check Customer New."— Presentation transcript:

1 DFD Symbology DeMarco-Yourdon Symbology Gane-Sarson Symbology Examples Process Data Store Entity Data Flow 6.1 Create Employee Payroll Check Customer New Customer Information Inventory File D7

2 DFD for Peeling an Apple 1.0 Get Apple Storage S1 Peeling Device Storage S2 2.0 Get Peeling Device 4.0 Hold Apple 3.0 Wash Apple 6.0 Discard Peel 5.0 Peel Apple With Peeling Device 7.0 Send Peeled Apple To Processor Peel Disposal S2 Processed Apple System Unwashed Apple Washed Apple Peeling Device Apple Peel Peeled Apple

3 Context-Level Diagram 0 Employee Payroll System Employee Tax Form Payroll Report Time Sheet Employee Payroll Check Employee Accounting Department

4 Level-0 DFD 1.0 Create Weekly Payroll Record Employee Data File S1 Employee Payroll Data File S2 2.0 Compute Weekly Paycheck 3.0 Prepare Weekly Payroll Summary 4.0 Prepare Employee Tax Form Accounting Department Employee RecordPaycheck Data Payroll Record Payroll Report Employee Paycheck Employee Tax Form Time Sheet Hours Worked Employee Payroll Record

5 Level-1 DFD 1.0 Create Weekly Payroll Record Employee Data File S1 Employee Tax Form Payroll Data File S2 2.1 Compute Gross Pay 2.3 Create Payroll Check 2.2 Compute Net Pay 3.2 Print Weekly Payroll Summary 3.1 Sort Payroll Records by Employee 4.2 Print Employee Tax Form 4.1 Calculate Payroll Deductions Employee Paycheck Payroll Deductions Employee Payroll Record Time Sheet Employee Record Gross Pay Data Net Pay Data Hours Worked Payroll Record Sorted Records Payroll Report Employee Accounting Department

6 Partial Level-n DFD Calculate Non-tax Deductions Calculate Retirement Allowance Calculate Employee Vacation Pay Calculate Payroll Tax Deductions Print Employee Tax Form Employee Data Employee Data Employee Data Employee Tax Form Employee Payroll Record Employee Data

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 Program Library Program Manual Oper. Punch Card Source Document Multiple Documents Tape File Disk File Database Sor t Extrac t Merg e Decisio n Termination

9 System Flowchart Order- Entry Dept. Member Orders Input Member Orders Member Orders Member Order Edit Program Valid Orders Sort by # Sorted Member Orders Member Order Error Report Correc t Order Errors

10 Functional Primitive Calculate Non-tax Deductions Calculate Retirement Allowance Calculate Employee Vacation Pay Calculate Payroll Tax Deductions Print Employee Tax Form Employee Data Employee Data Employee Data Employee Tax Form Employee Payroll Record Employee Data

11 Non-Probabilistic Decision Tree Process Name Condition 1 (true) Condition 2 (false) Condition 1 (false) Condition 2 (true) Condition 2 (false) Condition 2 (true) Action 1 Action 2 Action 3 Action 4

12 Decision Tree Example Surcharge Rating < 25 yrs. No 25 yrs. + Yes % 20% 7% 0% Yes F M 15% 12% 10% 7% No Yes No Yes < Driver Age Accident Free Driver Gender Driver’s Educ. College Educ. H.S. GPA Surcharge

13 State-Transition Diagram State Transition Error State 2. Operating State 1. Idle State S5. Major Error Cleared S1. ON button Pushed S3. Error Condition Detected S2. OFF button pushed S4. Minor Error Cleared

14 Problem 1 DFD Insurance Claimant Claims Manager Home Office Claims File Verify Claim Review Client History Issue Claim Payment Insurance Claim Insurance Claim Claim Payment Amount Paid Monthly Claims Analysis Claims Report

15 Structured English for Process 4.x Process ID Structured English Multiply GROSS_PAY by FED_TAX_RATE and store in EMP_TAX_DEDUCT IF EMP_NONTAX_DEDUCT > 0 THEN append EMP_NONTAX_DEDUCT to employee data Multiply GROSS_PAY by.01 and store in EMP_RETIRE Multiply CURR_EMP_VACATION by EMP_DAY_RATE and store in EMP_VACATION_PAY.


Download ppt "DFD Symbology DeMarco-Yourdon Symbology Gane-Sarson Symbology Examples Process Data Store Entity Data Flow 6.1 Create Employee Payroll Check Customer New."

Similar presentations


Ads by Google