chapter 4 documenting information systems yong choi bpa csub 1
TRANSCRIPT
![Page 1: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/1.jpg)
Chapter 4Documenting Information
Systems
Yong ChoiBPA
CSUB
1
![Page 2: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/2.jpg)
Learning Objectives
• Read and evaluate data flow diagrams.• Read and evaluate systems flowcharts.• Prepare data flow diagrams from a narrative.• Prepare systems flowcharts from a narrative.
![Page 3: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/3.jpg)
Process Documentation
• Preparing and using process documentation is a important skill for an accountant.
• Data flow diagrams portray a business process activities, stores of data, and flows of data among those elements.
• System flowcharts present a comprehensive picture of the management, operations, information systems, and process controls embodied in business processes.
![Page 4: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/4.jpg)
System Concept
• A system exits by taking input from the environment , transforming (processing) input, and release an output
• A system may be decomposed (exploded) into subsystems
• Output of one subsystem may become the input of other subsystems
4
![Page 5: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/5.jpg)
System Concept (con’dt)
5
TheSystem
is aProcess
input output
input
input output
output
Feedack andControl Loop
The System's Environment(constantly changing)
![Page 6: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/6.jpg)
System Decomposition (General)
6
![Page 7: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/7.jpg)
Decomposition Diagram (Hierarchy Chart)
7
![Page 8: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/8.jpg)
Example of Decomposition Diagram
8
ABC Online Entertainment Company
![Page 9: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/9.jpg)
Data Flow Diagrams
• Data flow diagram: is a graphical modeling tool to depict the flow of data through a system and the work or processing performed by that system.– What’s the system doing?
• Use a limited number of symbols.• Do not depict management or operational elements
of a system.
![Page 10: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/10.jpg)
Notations of DFD
10
External Entity
Data Flow
Process
Data Store
DE MARCO & YOURDON NOTATIONS (Textbook)
![Page 11: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/11.jpg)
Notations of DFD
11
External Entity
Data Flow
Process
Data Store
GANE & SARSON NOTATIONS (more universal)
![Page 12: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/12.jpg)
Data Flow Diagram (DFD)
• Key points for modeling– How data moves through the organization– Relationships between various data flows– Storage of data
• There are no FIXED rules about how a DFD should be developed…
• There is no such a DFD call “CORRECT DFD”…– Yours can be different than mine but both are correct.– It is ambiguous development process (each one’s view and
opinion can be different).
12
![Page 13: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/13.jpg)
Simple Data Flow Diagram for Banking
13
![Page 14: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/14.jpg)
Process Logic• DFDs are effective tools for identifying
processes, but are not good at showing all the detail logic inside those processes.– Not always easy to know what the lowest logical
level is (see next slide)
• However, it is better than:– Flowcharts and Pseudocode (difficult for users to
understand).
14
![Page 15: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/15.jpg)
15
Decomposition of Context DiagramM
N
P
M
N
P
Context Diagram
Level-0 Diagram
Level-1 Diagram
1 2
3
0
D1
![Page 16: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/16.jpg)
Flowchart
16
![Page 17: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/17.jpg)
17
Example of
complex flow chart:representing whole
system at once
Source: http://www.tpainc.ws/services/price%20samples/complexflowchart03.htm
![Page 18: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/18.jpg)
Flow Charting: one at a time..
18Source: http://www.rff.com/flowchart_samples.htm
![Page 19: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/19.jpg)
Flow Charting: one at a time..
19Source: http://www.rff.com/flowchart_samples.htm
![Page 20: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/20.jpg)
Flowchart Limitations
• Complex logic: If the system (or process) logic is quite complicated (most systems and processes), flowchart becomes complex and clumsy.– Inventory-logistics management with all the accounting transactions
• Alterations and Modifications: If alterations are required the flowchart may require re-drawing completely.
• The essentials of what is done can easily be lost in the technical details of how it is done.
20
![Page 21: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/21.jpg)
Pseudocode• This is the pseudocode for a Game of Monopoly, including one person's move as a procedure:
Main Procedure Monopoly_Game Hand out each player's initial money. Decide which player goes first. Repeat
Call Procedure Monopoly_Move for next player. Decide if this player must drop out.
Until all players except one have dropped out. Declare the surviving player to be the winner.
Procedure Monopoly_Move Begin one's move. Throw the dice. Move the number of spaces on the board shown on the dice. If the token landed on "Go to Jail,"
then go there immediately. Else if the token landed on "Chance" or "Community Chest,"
then draw a card and follow its instructions. Else
follow the usual rules for the square (buying property, paying rent, collecting $200 for passing "Go", etc.). End one's move.
21
![Page 22: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/22.jpg)
External Entities
• An External Entity is a provider (source) or receiver (sink) of data and information of the system
22
SUPPLIER
![Page 23: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/23.jpg)
External Entities …
• As scope changes, external agents can become processes, and vice versa.
• Almost always one of the following:– Office, department, division inside the business but
outside the system scope.– An external organization or agency.– Another business or another system.– One of system’s end-users or managers
23
![Page 24: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/24.jpg)
Data Stores
• A data store is an inventory of data. – A data store means “data at rest.” – A data flow means “data in motion.”
24
D1 Accounts Receivable
![Page 25: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/25.jpg)
Data Stores …– Almost always one of the following:
• Persons (or groups of persons): e.g., customer• Places: e.g, cash register• Objects: e.g., product• Events (about which data is captured): e.g., sales
25
![Page 26: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/26.jpg)
Data Flows
• A Data Flow represents an input of data to a process, or the output of data from a process.
• A Data Flow does not represent a document or a physical good: it represents the exchange of information in the document or about the good
26
DELIVERY SLIP
![Page 27: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/27.jpg)
Processes
• A Process is a work or action performed on input data flow to produce an output data flow
• Use a verb/verb phrase to label the action performed by the process
• A Process must have at least one input data flow and at least one output data flow.
27
1
Pay Bill
![Page 28: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/28.jpg)
How to find each one…
• External Entities (EE): noun– people/organizations/things that supply information to or use
information from the system
• Processes (P): verb/verb phrase– actions/doing words
• Data Flows (DF): name of data– movement/exchange of information/data between external entities to
processes, and processes to processes
• Data Stores (DS): noun– store/record information/data
28
![Page 29: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/29.jpg)
Example for finding each one…
• A student (EE/DS) sends in an application form (DF) containing their personal details, and their desired course
• The university (EE) checks (P) that the course (EE/DS) is available.
• If the course is available and the student is enrolled (P) in the course, the university confirms (P) the enrolment by sending a confirmation letter (DF) that they are registered (P) for the course to the student.
• Or if the course is unavailable the student is sent a rejection letter (DF).
• What system is being modeled?
29
![Page 30: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/30.jpg)
Guidelines for Developing DFD1. Develop a list of business activities
– Similar to business rules of ERD
2. Create the Context Diagram (first task)– shows external entities and data flows to and from the
system: conceptual DFD
3. Create level 0 DFD (or Diagram 0)– shows general processes at the highest level
4. Create level 1 DFD (or Child Diagram)― shows more detailed processes
5. Create level n-1 DFD…..
30
![Page 31: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/31.jpg)
31
Context Diagram Building Procedure• Identify the system and its boundaries (the context)• Identify external entities (providers, receivers of
system info)• Identify external data flows (input, output)
– However, NO DATA STORE !!!• Note: the whole system itself is a process (it receives
input and transforms into output)• Go back to the class website for the Context
Diagram!
![Page 32: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/32.jpg)
32
Decomposition of Context DiagramM
N
P
M
N
P
Context Diagram
Level-0 Diagram
Level-1 Diagram
1 2
3
0
D1
![Page 33: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/33.jpg)
Description of Each Level
• Context Diagram: This is the highest level and represents the overall system and its interaction with its environment
• Level 0 Diagram: This shows the major subsystems and their interactions
• Level x Diagram: Shows the processes that make up each of the major subsystems
![Page 34: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/34.jpg)
Level 0 DFD Building Procedure
• Level-0 DFD – Identify what is being done between each input and its
corresponding output– Identify the processes– Identify external data flows between external entities and
processes– Identify internal data flows between processes and data
stores
![Page 35: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/35.jpg)
Level 0 Tips
• Generally move from top to bottom, left to right
• Minimize crossed lines• Iterate as needed
– The DFD is often drawn many times before it is finished, even with very experienced systems analysts
35
![Page 36: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/36.jpg)
Tips for Level 1 and Below
• Sources for inputs and outputs listed at higher level• List source and destination of data flows to processes
and stores within each DFD• Depth of DFD depends on overall system complexity
– Two processes generally don’t need lower level– More than seven processes become overly complex and
difficult to read
36
![Page 37: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/37.jpg)
37
Tips for Level 1 and Below
• Level-1 DFD’s– Sub-processes (primitive processes) of Level-0 processes
• Sources for inputs and outputs listed at higher level• List source and destination of data flows to processes and
stores within each DFD• Depth of DFD depends on overall system complexity
– Two processes generally don’t need lower level– More than seven processes become overly complex and difficult to
read
![Page 38: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/38.jpg)
Context diagram of Student Administration System
External entity: StudentProcess: Student Administration process applicationData Flows: Application Form, Confirmation/Rejection Letter
![Page 39: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/39.jpg)
39
Apply logical sequence of the system..
• A student (EE / DS) sends in an application form (DF) containing their personal details, and their desired course
• The university checks (P) that the course is available. • If the course (DS) is available the student is enrolled (P) in the
course, and the university confirms (P) the enrolment by sending a confirmation letter (DF) that they are registered (P) for the course to the student.
• Or if the course is unavailable the student is sent a rejection letter (DF).
![Page 40: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/40.jpg)
How to find each one…
• External Entities (EE): noun– people/organizations/things that supply information to or use
information from the system
• Processes (P): verb/verb phrase– actions/doing words
• Data Flows (DF): name of data– movement/exchange of information/data between external entities to
processes, and processes to processes
• Data Stores (DS): noun– store/record information/data
40
![Page 41: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/41.jpg)
Level-0 DFD
• External entity: Student• Processes: Check course available, Enroll student, Confirm
Registration• Data Flows: Application Form, Course Details, Course
Enrolment Details, Student Details, Confirmation/Rejection Letter
• Data Stores: Courses, Students.• Also see the “Lemonade Stand” example from the class
website
41
![Page 42: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/42.jpg)
42
![Page 43: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/43.jpg)
Common Process Errors on DFDs
43
![Page 44: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/44.jpg)
Rules in DFD Building ...
44
M
N
P
1 2
3
M
N
P
Context Diagram
Level-0 Diagram
![Page 45: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/45.jpg)
Rules in DFD Building
• Rule 1 : Use only DFD notations to avoid confusion
• Rule 2 : Use an action VERB to label a process (because a process is an action !!!)
45
![Page 46: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/46.jpg)
Rules in DFD Building ...
• Rule 3 : Must be one process associated with each data flow …
46
M
M
![Page 47: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/47.jpg)
Rules in DFD Building ...
• Rule 3 : Must be one process associated with each data flow …
47
M N
M N
![Page 48: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/48.jpg)
Rules in DFD Building ...
• Rule 3 : Must be one process associated with each data flow.
48
![Page 49: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/49.jpg)
Rules in DFD Building ...• Rule 4 : Shaded corner must appear in ALL
occurrences of a duplicated symbol in a same diagram
49
CUSTOMER
CUSTOMER
D3
D3
Accounts Receivable
Accounts Receivable
![Page 50: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/50.jpg)
Rules in DFD Building ...
• Rule 5 : No process without output data flow (black hole !!!)
50
![Page 51: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/51.jpg)
Rules in DFD Building ...
• Rule 6 : No process without input data flow (miracle !!!)
51
![Page 52: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/52.jpg)
Rules in DFD Building ...
• Rule 7 : No need for routing (without transforming) a data flow with a process (non value-added activities !!!)
52
Info A Info A
![Page 53: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/53.jpg)
Rules in DFD Building ...
• Rule 8 : Identical input, output data flows for parent and child processes (but the child processes can have their own throughputs)– See the picture in next slide
53
![Page 54: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/54.jpg)
54
Detail Rules in DFD Building ...M
N
P
1 2
3
M
N
P
Context Diagram
Level-0 Diagram
![Page 55: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/55.jpg)
Rules in DFD Building ...• Rule 9 : Data flows cannot split by themselves
55
![Page 56: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/56.jpg)
Rules in DFD Building ...• Rule 9 : Data flows cannot split …
56
![Page 57: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/57.jpg)
Rules in DFD Building ...• Rule 10 : A data packet can combine many data
elements being transmitted at the same time to the same destination
57
![Page 58: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/58.jpg)
Rules in DFD Building ...
• Rule 11 : Double-headed arrows are forbidden [in- flow (update) and out-flow (extract info) of a data store are different]
58
![Page 59: Chapter 4 Documenting Information Systems Yong Choi BPA CSUB 1](https://reader035.vdocuments.site/reader035/viewer/2022081502/56649cba5503460f949821af/html5/thumbnails/59.jpg)
59
Enter ServiceRequest
Client
Technician
Enter Work Record
Establish NewClient
Establish New Equip
Resolve ServiceRequest
Management
Establish New WorkType
Modify Work Type
Establish EquipType
«uses»
Enter Misc Charge
Enter ComponentInformation
EstablishComponent Type
Service Subsystem
Mgmt Subsystem
Equipment Subsystem
Check UnresolvedRequests
«uses»
Make ServiceStatistic Inquiry
Generate MonthlyInvoices
Time
Decomposition: Use-Case Diagram