310 likes | 923 Views
section II Analysis. for the Small Enterprise. Systems Analysis and Design. modeling the system the data flow diagram the context diagram level decomposition the cornucopia case portfolio project. Chapter Objectives. When you complete this chapter you will be able to:
E N D
section II Analysis for the Small Enterprise Systems Analysis and Design modeling the system the data flow diagram the context diagram level decomposition the cornucopia case portfolio project
Chapter Objectives When you complete this chapter you will be able to: • Describe why the data flow diagram is called a process model • Recognize and describe an abstraction • Identify the four elements of a data flow diagram • Construct a data flow diagram • Decompose a data flow diagram 2
Modeling the System Process model: diagrams how data flows through the system Data model: diagrams the relationships between data files Object model: diagrams the relationships between enterprise objects System models: diagram system functions, hardware, and software 3
TECHNOTE 3-1 Abstractions and Computer Information Systems An abstraction is a simplified description, view, or model of an object or system of objects. The process, data, object, and system models are abstractions of a computer information system. 5
The Data Flow Diagram • The data flow diagram (DFD) presents a picture of what people and procedures do to transform data into information • The DFD is composed of four elements: • External entity … the originator of data (source) or receiver of information (sink) • Process …a series of steps that manipulate data • Data store … a place to keep data for later reference • Data flow … describe data and information elements passing between external entities, processes, and data stores 6
The Data Flow Diagram • Standard rules for construction: • Data flows must originate or terminate at a process • Data stores must have at least one entry and one exit data flow • Processes must have at least one entry and one exit data flow 8
Data Flow Diagrams Bottom-Up DFD creation • Develop a narrative of the system • Underline the action words • Develop a sequential list of the action words • Eliminate tasks that do not transform data • Identify cohesive tasks • Fit all remaining tasks to a cohesive task • Develop an IPO chart for each cohesive task Reference Figure 3-4: Bottom-Up DFD Creation 9
Data Flow Diagrams A portion of Silhouette Sea Charter’s narrative: Sometimes the office manager cannot determine whether the request is reasonable. When this happens, the request is forwarded to the owner, who makes this determination, contacts the customer if necessary, and either adjusts the request or rejects it outright. All requests are returned to the office manager for scheduling and filing.
Figure 3-5: Silhouette’s Bottom-Up DFD Worksheet Action words identified in the narrative 11
Data Flow Diagrams Top-Down DFD creation • Solicit oral answers to the question “What is the first task of this system?” • Continue with “What happens next?” • Repeat Step 2 until the response is “We do it all over again,” or We are finished.” Reference Figure 3-8: Top-Down DFD Creation 14
The Context Diagram The context diagram • Shows a single process • Connected to the external entities • Establishes the system boundaries 15
Level Decomposition • The single process in the context diagram is composed of a collection of well-defined activities called cohesive tasks • Task definition begins by locating the events within a process • Events identify the end of one task and the beginning of another • Once a task is identified, the analyst can identify the inputs and outputs 18
Level Decomposition • Issue Access Cards INPUTS: • class rosters (Source: Data Processing) • access cards for registered students (Source: Data Processing) • student registration (Source: Data Processing) • signed non-piracy agreement (Source: Student) • name on class rosters (Data Store: Roster) • Issue Access Cards OUTPUTS: • access cards (Sink: Student) • lab handbook (Sink: Student) • card numbers already issued (Sink: Data Processing) • checkoff on class rosters (Data Store: Roster) • new lab account (Data Store: Time) • nonpiracy agreement (Data Store: Agreements) Reference Figure 3-11: TKSystem Task IPO 19
TECHNOTE 3-2 Logical and Physical DFDs Logical DFDs remove all reference to the implementation specifics of the system Physical DFDs specify the real world objects that are used to make the system work During the analysis phase: Develop the physical DFD Abstract the logical DFD During the design phase: Develop the logical DFD Develop the physical DFD 21
Figure 3-13: TKSystem First-Level DFD Enlarge Enlarge 22
Thinking Critically Model Building for Pay How would you respond to a client who asks why he or she should pay for model building? 25
The Cornucopia Case The analysis phase is well underway. The analysts must first understand the existing system before the new system can be designed. The process model is the first abstraction to develop. 26
Detail Cornucopia Existing System First-Level DFD Detail Detail Detail 28
Chapter Summary (1/2) • The data flow diagram (DFD) models the processes of an information system • DFDs consist of processes, external entities, data stores, and data flows • DFD modeling begins with the context diagram, which depicts the entire system in a single process symbol surrounded by external entities 29
Chapter Summary (2/2) • The first-level DFD shows the major functional components of the system as processes, connected by data flows to external entities, data stores, and other processes • As needed, successively more detailed levels are developed to promote complete understanding of the system 30