Chapter 5 Data and Process Modeling
Chapter 5 Data and Process Modeling
MODELING
LEARNING OUTCOMES
Four-Model Approach:
1.Physical model of current system - How tasks are currently
executed
2.Logical model of current system - What the system currently
does
3.Logical model of new system - What the new system should do
4.Physical model of new system - How the new system will be
implemented
Benefits:
• Detailed understanding of current operations
• Prevents costly early-stage errors
• Easier adaptation when requirements are similar
3
• Clear transition from concept to implementation
DATA FLOW DIAGRAMS (DFDS)
5
FOUR BASIC DFD SYMBOLS
12
DATA ELEMENT DOCUMENTATION
Key Attributes:
• Name/Label: Standard, meaningful identifier
• Aliases: Alternative names used by different departments
• Data Type/Length: Numeric, alphabetic, alphanumeric
specifications
• Default Value: Predefined value when none specified
• Acceptable Values: Domain of permissible values
• Source: Origin of data element
• Security: Access and modification restrictions
• Responsible Users: Who maintains the data
• Description: Additional explanatory notes
13
DATA ELEMENT DOCUMENTATION
Example:
• Name: CURRENT_BALANCE
• Aliases: OUTSTANDING_BALANCE, CUSTOMER_BALANCE
• Type: Numeric, 2 decimal places
• Default: $0.00
• Domain: $0.00 to $50,000.00
14
PROCESS DESCRIPTION TOOLS
Modular Design Principles:
Three basic logical structures (control structures):
1. Sequence
• Steps executed in linear, ordered fashion
• Each step depends on completion of previous one
2. Selection
• Choose between alternatives based on condition
• If-then-else decision making
• Example: Calculate overtime if hours > 40
3. Iteration
• Repeat steps until condition changes
• Looping mechanism
• Example: Print paychecks for all employees
15
STRUCTURED ENGLISH
16
DECISION TABLES
Purpose: Document every possible combination of conditions
and outcomes.
Structure:
• Conditions: Yes/No questions about the process
• Rules: All possible combinations of condition outcomes
• Actions: What happens for each rule combination
Types:
• Single Condition: 2 rules (2¹)
• Two Conditions: 4 rules (2²)
• Three Conditions: 8 rules (2³)
Simplification:
• Mark irrelevant conditions with dashes (-)
• Combine rules with identical outcomes
17
• Eliminate redundant or impossible combinations
DECISION TREES
Purpose: Graphical representation of conditions, actions, and
rules.
Characteristics:
• Read from left to right
• Root at left, branches extend right
• Conditions on branches, actions at endpoints
• Alternative to decision tables
Use Cases:
• Decision Tables: Better for complex condition combinations
• Decision Trees: Better for simple processes and visual clarity
• Management Presentations: Trees provide clearer visual
18communication
THANK YOU
than