CH09 PPT Modified
CH09 PPT Modified
Tenth Edition
Chapter 9
Process
Specifications
and Structured
Decisions
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Logic of Decisions
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Process Specifications
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Goals of Producing Process
Specifications
•Reduce process ambiguity
•Obtain a precise description of what is
accomplished
•Validate the system design
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Process Specifications Are Not
Created for
•Processes that represent physical input and/or
output
•Processes that represent simple data validation
•Processes that use prewritten code
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 9.1 How Process Specifications
Relate to the Data Flow Diagram
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
The Process Number
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Structured English
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 9.3 Examples of Structured
English Types
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Advantages of Structured English
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Tables
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Checking for Completeness and
Accuracy
•Four main problems:
–Incompleteness
–Impossible situations
–Contradictions
–Redundancy
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Table Advantages
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Trees
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Drawing Decision Trees
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Figure 9.14 Drawing a Decision Tree to
Show the Noncash Purchase Approval
Actions for a Department Store
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Decision Tree Advantages
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved
Selecting a Structured Decision
Analysis Technique
• Use structured English when there are many repetitious
actions or when communication to end users is important
• Use decision tables when a complex combination of
conditions, actions, and rules are found or you require a
method that effectively avoids impossible situations,
redundancies, and contradictions
• Use decision trees when the sequence of conditions and
actions is critical or when not every condition is relevant
to every action (the branches are different)
Copyright © 2019, 2014, 2011 Pearson Education, Inc. All Rights Reserved