Documente Academic
Documente Profesional
Documente Cultură
Customer Order
Information System Analysis and Design
Manufacturing
Company
Lecture 6 Supplier Purchase Order
10/6/2002
Raw Materials Products
3 3
Completion Completion
MFG Notice MFG Notice
Floor
5 Delivery Floor
5 Delivery
Notice & Notice &
Packing & Invoice Packing & Invoice
Raw Materials Raw Materials Shipment Raw Materials Raw Materials Shipment
Customer Customer
Supply Inventory Supply Inventory
Information Update Information Update
Raw Materials 3 3
Arrival Notice Completion Completion
Raw Materials
MFG Notice MFG Notice
6 Supply
Floor
5 Delivery Raw Materials
Floor
5 Delivery
Information Notice & Notice &
Receiving Packing & Invoice Products Packing & Invoice
Raw Materials Shipment Raw Materials Raw Materials Shipment
Customer Customer
Inventory Supply Inventory
Update Information Update Products
Packaged
Raw Materials
Inventory Update
D1 raw mat inventory D1 raw mat inventory
1
Assignment 4 - Diagram 1: Sales Assignment 4 - Diagram 2: Planning
Product Inventory Info
1.1 Customer 2.1
Order Inventory
Order Negotiation Negotiate Check
with Price Quote Update D3 product inventory
with Product
Customer Inventory TO: Package & Shipment
Notice to shipment from products inventory
D2 production schedule
TO: Planning
2
Entity-Relationship Modeling Data Flow Analysis
Analyze and Design of processes in the business
Analyze and Design of information structure
• Primarily an analysis technique, focusing on the
• Primarily an analysis technique, focused on business processes and the information flow between
the information structure which supports the these processes.
way business is done in the application • Build a model – to understand how business is done
domain. Also extends into a design technique. in the application domain. (logical DFD)
• Fundamentally, we have covered the basic • Also extends into a design tool: to reason about how
steps of the database design process. the business processes may be re-organized.
• Physical DFD: a tool to organize the software system
(cf. Chapter 17 – K and K)
to be implemented, to automate the business.
2 key techniques for Information System Data Flow Diagram Data Dictionary
Analysis and Design:
Data Flow Data Data
Description Structure Element
• Entity-Relationship Model – analysis and Form
design of information structure in a system. Data Flow xxx
xxx xxx
• Data Flow Diagram – analysis and design
of the information flow (actually more of the Data Store Data Data
Description Structure Element
business processes) in a system. Form
Data Store
xxx
xxx xxx
ü Data Structures
Comment:
ü Data Elements
3
Describe the Data Structure Data Element Description
Customer Order = ID:
Customer Number + Customer Name + Name:
Aliases:
Address + Telephone + Description:
Catalog Number + { Available Order Items } +
Merchandise Total + ( Tax ) +
Element Characteristics
Shipping and Handling + Order Total +
Length Alphabetic
Method of Payment + Input Format Alphanumeric
( Credit Card Type + Credit Card Number + Expiration Date ) Output Format Date
Default Value Numeric
Continuous or Discrete Base or Derived
Customer Name =
First Name + (Middle Initial) + Last Name Validation Criteria
Continuous (range) Discrete (list of values)
... Upper Limit Value: Meaning:
Method of Payment = Lower Limit Value: Meaning:
[ Check | Charge | Money Order ]
Comment:
Topics
Reading
• Data Flow Analysis in ISAD
• Process Specification Textbook
• Structured Decisions • Kendall and Kendall
– Structured English Chapter 11
– Decision Table “Process Specification and Structured Decisions”
– Decision Tree Chapter 12
• Horizontal Balancing “Semi-Structured Decision Support Systems”
• Semi-Structured Decisions
• Decision Support Systems
4
Process Specification Process Specification
Given the DFD… Structured Approach to ISAD (TQM in action)
How to specify each of the processes in the system?
• Top-Down Design
TQM - Total Quality Management …maintaining the big picture so that design work of each
component will not lose sight of the system goal.
The primary elements of TQM are meaningful only
• Modular Development
when occurring in an organizational context that
supports a comprehensive quality effort. …breaking down the programming task into logical,
manageable modules, with strong emphasis on the interface
-Dean and Evans (1994) between modules.
• Bottom-Up Integration
• Early commitment to quality …beginning with the bottom level, integrate modules after
• Organizational support (from the top, and the team…) unit testing and move up the functional hierarchy, so that
system integration works from the bottom up.
• Disciplined structured approach
• Bottom-Up: identifying the processes that meet • Top-Down: identifying the overall goal first and
current needs; solving these problems first in our decomposing into sub-goals; specify the smaller
process specification. When these processes are sub-systems to solve sub-goals when the
working, move on to solve higher level problems objective is clear; and then integrate the
by integration… processes into the overall system.
– apparently easier – overall organizational objectives maintained
– duplication of effort in low level components throughout the analysis and design effort; compatible
with our DFD analysis and design approach.
– multiple versions of data with consistency problems
– modular development and bottom-up integration can
– overall organizational objectives not considered until then afford parallel effort on different parts.
integration (often too late and too costly).
Process Specification
Process Specification
• Process Number.
The goals are… • Process Name.
• Reduce complexity of the process – reveals • A brief description of what it accomplishes.
vague areas for further clarification • List of input data flows.
• Validate the system design. • List of output data flows.
• Generate precise description – such as • Type of process: manual, on-line, or batch.
specification for programmers, or manuals • Process Logic: policy and business rules…
for operation.
• Unresolved issues… (for further investigation)
5
Number:
Process Specification
Type of Process
Name:
Description:
G Manual…
Input Data Flows:
Process Logic description should enable a person to perform
the required tasks.
Output Data Flows:
G On-Line…
Type of Process: Manual On-Line Batch
Process Logic:
Include also screen designs and how to operate the user
interfaces involved.
G Batch…
How often does this process run? What (or who) initiates
its execution? What if anything goes wrong? How to verify
Unresolved issues: the results? (usually there is a log).
*Note: base – refers to the original premium based on amount the house is insured for as well as the
location of the home.
6
Topics
Structured Decisions
• Data Flow Analysis in ISAD
• Process Specification • Structured decision means that both the
• Structured Decisions information required and the decision
– Structured English criteria are deterministic.
– Decision Table • Therefore, it is possible to completely
– Decision Tree specify what information is needed and how
• Horizontal Balancing to make the decisions.
• Semi-Structured Decisions • Furthermore, the decisions are to be carried
out with all the necessary information.
• Decision Support Systems
Topics
Process Logic for Structured Decisions
• Data Flow Analysis in ISAD
There are 3 recommended formats: • Process Specification
• Structured English • Structured Decisions
– Structured English
• Decision Table
– Decision Table
• Decision Tree – Decision Tree
• Horizontal Balancing
• Semi-Structured Decisions
• Decision Support Systems
7
Structured English Using the Data Dictionary…
Structured English Type Example
Sequential Structure Action #1 In structured English process logic specification,
A block of instructions where no
branching occurs
Action #2 we can refer to data structures and data items defined in the
Action #3
data dictionary, using key action words such as MOVE,
Decision Structure IF condition A is true
Only IF a condition is true, complete THEN take Action #1 COPY, ADD, SUBTRACT…
the following statements; otherwise,
jump to the ELSE
ELSE take Action #2 Examples:
ENDIF
Case Structure IF condition A THEN take Action #1 • MOVE total TO customer order.
A special type of decision structure ELSE IF condition B THEN take Action #2
where the cases are mutually exclusive. ELSE IF condition C THEN take Action #3 • COPY customer id TO order log.
…
ELSE note error situation • ADD sales line item TO current sales record.
ENDIF
Iteration DO WHILE condition • SUBTRACT discount amount FROM sales total
Block of statements that are repeated
until done.
take Action ON sales record.
END DO
8
Topics
Decision Table: more…
• Data Flow Analysis in ISAD
• How big is a decision table? • Process Specification
Combinatorial explosion may occur in the
quadrant for “Alternatives”…
• Structured Decisions
– Structured English
• Use of “don’t-cares” may reduce the table.
– Decision Table
(by a little bit)
– Decision Tree
• Decision table helps to sort out irrelevant
conditions: they don’t matter. • Horizontal Balancing
• Decision table helps to identify contradictions: • Semi-Structured Decisions
when same set of condition alternatives lead to • Decision Support Systems
different actions to take.
9
Topics Horizontal Balancing
• Data Flow Analysis in ISAD Using process specification to verify our analysis
• Process Specification in the Data Flow Diagrams:
• Structured Decisions • All output data flow elements must be obtained
– Structured English
from the input elements and process logic.
– Decision Table
– Decision Tree • Base elements on an output data flow must be
• Horizontal Balancing present also in the input flow.
• Semi-Structured Decisions • Derived elements on an output data flow must
• Decision Support Systems be either present on an input data flow or
created using the process logic.
Horizontal Balancing
Assignment 5
We also use the process specification to verify
the Data Dictionary use in our analysis: • Due next Monday, before mid-term.
• The data flow diagram and data dictionary need • Groups up to 4 people.
to be updated and remain consistent. • One child DFD (Diagram 2).
• Unresolved issues are to be resolved by further • Process Specification for Process 2, and
analysis and/or follow-up interview. each of the processes in Diagram 2.
Topics
Semi-Structured Decisions
• Data Flow Analysis in ISAD
• Process Specification • Structured: routine and require little human
judgment when the variables are programmed; can
• Structured Decisions be systematically automated.
– Structured English
• Unstructured: depend primarily on intuition;
– Decision Table currently resistant to automation.
– Decision Tree
• Semi-Structured: partially programmable but still
• Horizontal Balancing require human judgment, preferably with the help
• Semi-Structured Decisions of appropriate computerized tools.
• Decision Support Systems But is there still a structure (albeit deep) anyway?
10
Semi-Structured Decisions Semi-Structured Decisions
Unstructured
Three dimension of decision structure…
• Problem complexity
• Number of decision criteria
Skill level
• Skill level of decision making Number of decision
of making
decision
criteria
Structured
Problem complexity
11
Decision Support System Multi-Criteria Decision Support
• Choice Phase: • Weighted score
– choose a solution to the problem identified in • Ranking attributes
the intelligent phase (or action to take to
• Ranking by conjunctive constraints
capture the opportunity).
• Goal programming
• Analytic hierarchical processing
12