Presentation is loading. Please wait.

Presentation is loading. Please wait.

Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs.

Similar presentations


Presentation on theme: "Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs."— Presentation transcript:

1 Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs

2 Key Definitions A process model is a formal way of representing business processes –Illustrates processes/activities and how data moves among them Data flow diagramming is a technique for creating a process model. –The primary output of data flow diagramming is a data flow diagram (DFD)

3 DFD Elements

4 External Entities External people, organizations, systems and data stores Reside outside the system, but interact with system Either receive info from system (“sink”) or provide data to the system (“source”) Examples: Customers, managers External Entities

5 Data Stores Internal to the system Data at rest Include in system if the system processes transform the data –Create, Update, Delete Every data store on DFD should correspond to an entity on an ERD Must have at least one input data flow (or else they never contain any data) Usually have at least one output data flow Data can only enter a data store from a process and can only leave a data store to a process Data Stores D1

6 Data Flows Data in motion –From external entity (“source”) to system –From system to external entity (“sink”) Data Flow

7 Context Diagram Shows the context into which the business process fits Shows the overall business process as just one process Shows all the external entities and the data flows into and out of the system from them

8 Context Diagram Example

9 DFD Fragment Example

10 DFD level 0 Example Patient Find patient 1 Update patient 3 Add new patient 4 Delete patient 2 New patient information Changes to patient information Patient name D1 Patient Information Patient information Patient information to delete Patient info to be updated Updated patient information Patient information Deleted patient

11 Key Definition Decomposition is the process of modeling the system and its components in increasing levels of detail. –Ideally 3-9 processes per DFD Balancing involves insuring that information presented at one level of a DFD is accurately represented in the next level DFD.

12 Are these in balance? Context Level 0

13 Hierarchical Consistency Balancing Data Flows –An input (output) data flow on a PARENT diagram must appear on a CHILD diagram as input (output). –Conversely, an input (output) data flow on a CHILD diagram must appear on a PARENT diagram as input (output). –A set of data flows on a child diagram that were split from a data flow on a parent diagram must match the parent data flow's composition.

14 Problem statement Al Burns is the professor for the class. He manually creates a spreadsheet with all the student information based on a course roster he gets from Campus Connect. He also creates a list of assignments, a description for each assignment, and a grading key for each one. Students complete the assignment and give them to Al Burns. Al Burns collects the assignments and gives them to Ms. Grader for grading. Ms. Grader grades the assignments based on a key provided by Al Burns, and assigns a score (grade) from 0 to 5. She then records the scores for the students on the spreadsheet. Grades are reported back to students via a course web page created from the spreadsheet. Assignment: Draw a context diagram and level 0 diagram for the Grading System.

15 Grading System DFD Context

16 Grading System DFD Level 0


Download ppt "Practice data flow diagramming as a tool for structured system programming (process modelling) DATA FLOW DIAGRAMs."

Similar presentations


Ads by Google