Download Process Modeling Part 1-System Analysis and Design-Lecture Slides and more Slides System Analysis and Design in PDF only on Docsity!
C H A P T E R
PROCESS
MODELING
Chapter Nine Process Modeling
- Define systems modeling and differentiate between logical and physical system models.
- Define process modeling and explain its benefits.
- Recognize and understand the basic concepts and constructs of a process model.
- Read and interpret a data flow diagram.
- Explain when to construct process models and where to store them.
- Construct a context diagram to illustrate a system’s interfaces with its work environment.
- Identify use cases, external and temporal business events for a system.
- Perform event partitioning and organize events in a functional decomposition diagram.
- Draw event diagrams and merge those events into a system diagram.
- Draw primitive data flow diagrams and describe the elementary data flows and processes in terms of data structures and procedural logic (Structured English and decision tables), respectively.
- Document the distribution of processes to locations.
- Synchronize data and process models using a CRUD matrix.
Models: Logical and Physical
Logical model – a nontechnical pictorial representation that depicts what a system is or does. Synonyms or essential model , conceptual model , and business model.
Physical model – a technical pictorial representation that depicts what a system is or does and how the system is implemented. Synonyms are implementation model and technical model.
Model – a pictorial representation of reality.
Just as a picture is worth a thousand words, most models are pictorial representations of reality.
Why Logical System Models
- Logical models remove biases that are the result of the
way the system is currently implemented, or the way
that any one person thinks the system might be
implemented.
- Logical models reduce the risk of missing business
requirements because we are too preoccupied with
technical results.
- Logical models allow us to communicate with end-
users in nontechnical or less technical languages.
Simple Data Flow Diagram
Differences Between DFDs and Flowcharts
- Processes on DFDs can operate in parallel (at-the-
same-time)
- Processes on flowcharts execute one at a time
- DFDs show the flow of data through a system
- Flowcharts show the flow of control (sequence and transfer of control)
- Processes on a DFD can have dramatically different
timing (daily, weekly, on demand)
- Processes on flowcharts are part of a single program with consistent timing
Process Concepts
Process – work
performed by a
system in response
to incoming data
flows or conditions.
A synonym is
transform.
Process Decomposition
Decomposition – the act of breaking a system into sub-
components. Each level of abstraction reveals more or
less detail.
Types of Logical Processes
Function – a set of related and ongoing activities of a business.
- A function has no start or end.
Event – a logical unit of work that must be completed as a whole. Sometimes called a transaction.
- An event is triggered by a discrete input and is completed when the process has responded with appropriate outputs.
- Functions consist of processes that respond to events.
Elementary process – a discrete, detailed activity or task required to complete the response to an event. Also called a primitive process.
- The lowest level of detail depicted in a process model.
- Should be names with a strong action verb followed by an object clause that describes what the work is perform on (or for).
Common Process Errors on DFDs
Source: Adapted from Matthies, Leslie, The New Playscript Procedure,
Problems with Natural English
- Many of us do not write well, and we also tend not to question our writing abilities.
- Many of us are too educated to communicate with an audience that may not have had the same educational opportunities.
- Some of us write everything like it was a program. If business procedures required such precision, we’d write everything in a programming language.
- Too often, we allow the jargon and acronyms of computing to dominate our language.
- English statements frequently have an excessive or confusing scope.
- We overuse compound sentences
- Too many words have multiple definitions.
- Too many statements use imprecise adjectives.
- Conditional instructions can be imprecise.
- Compound conditions tend to show up in natural English. docsity.com
1. For each CUSTOMER NUMBER in the data store CUSTOMERS: a. For each LOAN in the data store LOANS that matches the above CUSTOMER NUMBER: 1) Keep a running total of NUMBER OF LOANS for the CUSTOMER NUMBER. 2) Keep a running total of the ORIGINAL LOAN PRINCIPAL for the CUSTOMER NUMBER. 3) Keep a running total of CURRENT LOAN BALANCE for the CUSTOMER NUMBER. 4) Keep a running total of AMOUNTS PAST DUE for the CUSTOMER NUMBER. b. If the TOTAL AMOUNTS PAST DUE for the CUSTOMER NUMBER is greater than $100.00 then: 1) Write the CUSTOMER NUMBER and all their data attributes as described in the data flow LOANS AT RISK. Else 1) Exclude the CUSTOMER NUMBER and data from the data flow LOANS AT RISK.
Structured English
Structured English – a language syntax for specifying
the logic of a process.
- Based on the relative strengths of structured programming and natural English.
Structured English Constructs (Part 2)
Policies and Decision Tables
Policy – a set of rules that govern show a process is to be
completed.
Decision table – a tabular form of presentation that
specifies a set of conditions and their corresponding
actions.
- As required to implement a policy.