PPT09
PPT09
Major Topics
Process specifications Business rules Structured English Decision tables Decision trees Horizontal balancing
Kendall & Kendall
2005 Pearson Prentice Hall
9-2
Process Specifications
Process specifications are created for
primitive processes and some higher level processes on a data flow diagram. They are also called minispecs.
9-3
accomplished. Validate the system design, including data flow diagrams and the data dictionary.
9-4
Process Specifications
Process specifications are not created for:
Physical input and/or output processes. Processes that represent simple data
validation. Processes for which prewritten code already exists.
9-5
9-6
the process ID on the data flow diagram. This allows an analyst to work or review any process and easily locate the data flow diagram containing the process.
Kendall & Kendall
2005 Pearson Prentice Hall
9-7
9-8
9-9
9-10
Business Rules
Business rules include the following:
Definitions of business terms Business conditions and actions Data integrity constraints Mathematical and functional derivations Logical inferences Processing sequences Relationships among facts about the business
9-11
Description Key and add the Customer Order. The order should be edited for correct information. Customer and Item master files are updated. Input Data Flow Customer Order Form from the Customer Customer Record from data store D1, Customer Master File Item Record from data store D2, Item Master File
Kendall & Kendall
2005 Pearson Prentice Hall
9-12
9-13
Structured English
Structured English is based on
structured logic and Simple English statements such as add, multiply, move, and so on. It is an appropriate technique for analyzing the system when structured decisions are not complex.
Kendall & Kendall 9-14
structures, decision structures, case structures, or iterations. Use and capitalize accepted keywords such as IF, THEN, ELSE, DO, and PERFORM. Indent blocks of statements to show their hierarchy (nesting) clearly.
Kendall & Kendall
2005 Pearson Prentice Hall
9-15
9-16
Structured English
9-17
9-18
Sequenced
data dictionary entries become simple structured English statements. Selection [] entries become IF..THEN...ELSE statements. Iteration { } entries become DO WHILE, DO UNTIL, or PERFORM UNTIL structured English statements.
Kendall & Kendall
2005 Pearson Prentice Hall
9-19
Decision Tables
Decision tables provide a way to examine, describe, and document decisions using a table. They are used to:
Describe the conditions. Identify possible decision alternatives. Indicate actions should be performed. Describe actions.
9-20
9-21
9-22
9-23
9-24
Decision Trees
Decision trees are used when complex
branching occurs in a structured decision process. Trees are also useful when it is essential to keep a string of decisions in a particular sequence.
9-25
9-26
9-27
actions is immediately noticeable. Second, conditions and actions of decision trees are found on some branches but not on others. Third, compared to decision tables, decision trees are more readily understood by others in the organization.
9-28
repetitious actions or when communication to end users is important. Use decision tables when complex combination of conditions, actions, and rules are found or you require a method that effectively avoids impossible situations, redundancies, and contradictions.
9-29
9-30
9-32
Horizontal Balancing
Horizontal balancing means that all
output data flow must be either on input data flow or described in the process logic. It is used to verify that each process has the required data dictionary entries defined and the formulas and logic necessary to produce the output.
Kendall & Kendall
2005 Pearson Prentice Hall
9-33
9-34