1 / 30

Structured Analysis Methods and Tools

Structured Analysis Methods and Tools. M. M. Pickard, PhD. Department of Computer Science. Overview. Methods Tools. Structured Analysis Methods. Data Models Information Flow Models Functional Models Behavior Models. Structured Analysis Tools . Data Models Entity Relationship Diagrams

sef
Download Presentation

Structured Analysis Methods and Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Structured Analysis Methods and Tools M. M. Pickard, PhD. Department of Computer Science

  2. Overview • Methods • Tools

  3. Structured Analysis Methods • Data Models • Information Flow Models • Functional Models • Behavior Models

  4. Structured Analysis Tools • Data Models • Entity Relationship Diagrams • Data Dictionary • Information Models and Functional Models • Data Flow Diagrams • Control Flow Diagrams • Ward and Mellor Extensions • Hatley and Pirbhai Extensions

  5. Structured Analysis Tools • Behavioral Models • Process Descriptions

  6. Entity Relationship Diagrams • Used to show the relationship between data entities • Cardinality • relative numbers of data entities • Modality • whether data entity is required in the relationship

  7. Data Dictionary • Purpose?

  8. Data Dictionary • Purpose? • To define and describe all data elements • To serve as a central repository of information about the system’s data • To organize information about contents of data flows, data stores, and, possibly, external entities and processes. • Often supported by CASE tool

  9. name aliases type length output format acceptable values formula Source security user comments Data DictionaryData element documentation

  10. Data Dictionary (possible components) • Data flow information • Data store information • Process information • External entity information • Data structure information

  11. Data Flow Diagram (DFD) • Shows how data moves through an information system. • Logical model • What the system does, not how it does it • Does NOT show program logic • Does NOT explicitly show processing sequence

  12. DFD Methods • Gane and Sarson • Yourdon

  13. DFD Symbols - Yourdon • Process • Data Flow • Data Store • External Entity

  14. DFD - Symbols (Gane & Sarson) • Process • Data Flow • Data Store • External Entity

  15. DFD Process Symbol • Receives input data and produces output that has a different content or form. • Process name: verb followed by a singular noun, optional adjective. Createinvoice

  16. DFD Data Flow Symbol • A path for data to move from one part of the system to another. • Data flow name: noun and optional adjective. invoice

  17. DFD Process Symbol rules • A process symbol must have at least one input symbol AND one output symbol. • A process symbol can have more than one input symbol and more than one output symbol. • A process can connect any other symbol.

  18. DFD Data Flow Symbol rules • A data flow must have a process symbol on at least one end. • Avoid:

  19. Process/Data Flow Mistakes • Spontaneous generation (miracle) • Black hole invoice Createinvoice Hours worked Calc.Grosspay Pay rate

  20. Process/Data Flow Mistakes • Gray hole (insufficient input information to create output) Date of birth Calc.Grosspay Gross pay Pay rate

  21. DFD - Data Store • Used to represent a situation when data must be retained in order for a process to use it later. • Data store name: plural name consisting of noun and optional adjectives Freshmen

  22. DFD - External Entity • A person, department, outside organization, or other information system that provides data or receives output from the system. • External entity name: a singular noun bank

  23. Control Flow Diagram • Similar to DFD • Shows control flow, not information flow • May link to CSPEC • State Transition Diagram (STD) • Process Activation Table (PAT)

  24. Process DescriptionTools and Methods • Structured English • Decision Tables • Decision Trees

  25. Process DescriptionTools and Methods • Structured English • Based on three building blocks of structured programming and design

  26. Process DescriptionTools and Methods • Structured English • Based on three building blocks of structured programming and design: • sequence, selection, iteration • Uses indentation for readability and to indicate logical hierarchy • Standard, limited vocabulary

  27. Process DescriptionTools and Methods • Decision (Logic) Tables • Used to show complex logic • Tables have four quadrants • Condition stubs • Condition entries • Action stubs • Action entries • A “rule” is a single column

  28. Process DescriptionTools and Methods • Decision (Logic) Tables • Simplification • Rules having the same outcome, but differing by one condition may be combined. Use a dash to replace the differing condition. • Rules that have mutually exclusive conditions (cannot occur) may be carefully eliminated. • Linkage • The final action of a rule may send us to another table.

  29. Process DescriptionTools and Methods • Decision Trees • Effective way to present a combination of simple decisions

  30. Summary • Entity Relationship Diagrams • Data Flow Diagrams • Control Flow Diagrams • Data Dictionary • Process Descriptions

More Related