Presentation is loading. Please wait.

Presentation is loading. Please wait.

C HAPTER 8 STRUCTURED APPROACH WITH THE DATA & PROCESS MODELING.

Similar presentations


Presentation on theme: "C HAPTER 8 STRUCTURED APPROACH WITH THE DATA & PROCESS MODELING."— Presentation transcript:

1 C HAPTER 8 STRUCTURED APPROACH WITH THE DATA & PROCESS MODELING

2 DATA FLOW DIAGRAM Def : shows how data moves through an information system but does not show program logic or processing steps. DFD represents logical model that shows what the system does, not how it does it !

3 DFD SYMBOLS 4 basic symbols in DFD: Process Data flow Storage External entity 2 basic version of DFD symbol ; Gane & Sarson symbol set Yourdon symbol set

4 Gane & SarsonSymbol NameYourdan Process Data Flow Data Store External Entity BANK DEPOSIT STUDENTS APPLY PAYMENT APPLY PAYMENT CUSTOMER

5 P ROCESS SYMBOL Def : receives input data & produces output that has a different content, form or both. Process contains the business logic, also called business rules that transform the data & produce the required results. Symbol for process is a rectangle with rounded corners. The processes name identifies a specific function. FILL ORDER

6 DATA FLOW SYMBOL Def : is a path for data to move from one part of the information system to another. Represents one or more data items. Symbol for data flow is a line with single or double arrowhead, & the name appears above the line. 3 data flow & process combination to be avoided; Spontaneous generation – a process with no input data flow Black hole – process that has no output Gray hole – process has an input that is obviously unable to produce output.

7 D ATA STORE SYMBOL Def ; represent a situation in which the system must retain data because one or more processes need to use the stored data at a later time. Symbol for data store is a flat rectangle that is open on the right side & closed on the left side. Name that identifies the content appears inside the rectangle. A data store must be connected to a process with a data flow. Rule : data store must have at least one incoming and one outgoing data flow.

8 E XTERNAL ENTITY SYMBOL Defines a person, department, outside organization or other information system that provides data to the system or receives output from the system. Symbol for an external entity is a rectangle usually shaded to give the 3dimensional look with the name of the entity appears in the center. External entities shows the boundaries of the information system & how the information system interacts with the outside world. An external entity must be connected by a data flow to a process & not directly to data store / another entity.

9 R ULES FOR DFD Data flow that connectsOkay to use? A process to another processYES A process to an external entityYES A process to a data storeYES An entity to a data storeNO An entity to another entityNO A data store to another data storeNO

10 C ONTEXT DIAGRAM Start by placing a single process symbol in the center of the page & that symbol represents the entire information system. (identify as process 0) Place the external entities around the page & use data flows to connect the entities to the central process. You wont show any data stores in context diagram because data stores are internal to the system!

11 Final Grade Submitted Work Graded Work Class Router Grading Parameters Grade Report Instructor Student Record System Grading System 0

12 C ONVENTIONS / RULES FOR DFD Each context diagram must fit in one page The process name in the context digram must be the name of the information system Use unique names within each set of the symbols. Do not cross lines Use unique reference number for each process symbol.

13 D IAGRAM 0 Is like a black box of a system & to show the details inside the black box, you create DFD Diagram 0 Diagram 0 is a more detailed / expanded version of process 0 on the context diagram (exploded view of diagram 0). All the processes are numbered for documentation purposes, but the numbers do not suggest that the processes are accomplished in sequential order. Diverging data flow – same data travels to two or more different locations.

14 L OWER LEVEL DIAGRAM Also called child diagram are needed to show detail, it is essential that they be leveled & balanced. Leveling – process of drawing a series of increasingly detailed diagrams, until the desired degree of detail is reached. Balancing – maintains consistency among the entire series of diagrams, including input & output data flows, definitions & process descriptions.

15 LEVELING Displays the information system as a single process & then shows more detail until all processes are functional properties. Also called exploding, partitioning or decomposing because analyst create DFDs as a series of top down pictures of an information system, with each lower level provides additional detail.

16 B ALANCING Effective DFDs are accurate, clear & consistent. One way to gain consistency is to define each functional primitive with a process description & see that each data store, data flow, external entity & process is defined in the data dictionary To achieve this, you must balance your DFDs properly. Balanced set of DFD = preserves the input & output data flows of the parent on the child DFD.

17 S TRATEGIES FOR DEVELOPING DFD ’ S A set of DFD is a graphical, top down model, so most analyst create the context diagram then diagram 0, then all the child diagrams for diagram 0 & so on. Some analyst may also prefer to use bottom-up strategy. Bottom-up strategy – first identify all functional primitives, data stores, external entities & data flows. Then you group processes with other related symbols to develop the lowest level diagrams. Next you group them in a logical way to form the next higher level & continue until you reach diagram 0.

18 S TRATEGIES FOR DEVELOPING DFD ’ S Regardless of the strategy you choose, the main objective is to ensure that your model is accurate & easy to understand. You may also use the combination of top down & bottom up strategy if the system is too complex.


Download ppt "C HAPTER 8 STRUCTURED APPROACH WITH THE DATA & PROCESS MODELING."

Similar presentations


Ads by Google