Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 STRUCTURE CHARTS Elements and Definitions. 2 Software System Design translates SRS into a ===> software system architecture: –system’s static structure.

Similar presentations


Presentation on theme: "1 STRUCTURE CHARTS Elements and Definitions. 2 Software System Design translates SRS into a ===> software system architecture: –system’s static structure."— Presentation transcript:

1 1 STRUCTURE CHARTS Elements and Definitions

2 2 Software System Design translates SRS into a ===> software system architecture: –system’s static structure –system’s possible dynamic behaviour –data structures –user interface design

3 3 Structured Analysis and Design prepare and analyse a Data Flow Diagram - DFD derive from the DFD a Structure Chart

4 4 supports the system and module design phase diagramming technique with annotations hierarchy of modules control (invocation) is explicitly modelled data flows follow control hierarchy decomposition is shown in the control hierarchy software / computer oriented derived from the DFD and further refined

5 5 System Structure - Control Hierarchy S I1C1O1I2 I11I12I21C11O11O12

6 6 Complete SC Design Structure Chart Diagram Data Dictionary (e.g. BNF) Module Specifications (e.g. PDL) ===> consistent with DFD!

7 7 Structure Charts - Module process / subroutine / task unit of execution accepts parameters as inputs produces parameters as outputs parameters: data or control can be invoked and can invoke label: verb linked to module specification label

8 8 Structure Charts - Special Modules predefined (reused) module highly useful label “macro” module avoid label multi-entry module avoid

9 9 Structure Charts - Invocation / Call call of subordinate module connector element NOT a data flow one specific form of control flow has a direction no split or join NO label

10 10 Structure Charts - Invocation / Jump to Address call jumps INTO invoked module assembler type of programming modification at run-time avoid

11 11 Structure Charts - Sequence of Execution sequence of subordinate modules in the diagram is not reflecting a binding sequence of invocation sequence of invocation is defined in the specification of the super-ordinate module module specification is the decisive element X X1X2X3

12 12 Structure Charts - Conditional Execution call of subordinate module depends on a condition no label condition is defined in the module specification module specification is the decisive element

13 13 Structure Charts - Loops in the Execution call of subordinate modules runs in a loop no label or condition loop (and its condition) is defined in the module specification module specification is the decisive element

14 14 Structure Charts - Data Flow flow of information data transfer bound to invocation has a direction no splits or joins label: noun specified in data-dictionary label

15 15 Structure Charts - Control Flow flow of control (<> invocation) ==> control execution path of targeted module bound to invocation has a direction no splits or joins label: flag, decision, condition specified in data-dictionary label

16 16 Structure Charts - Data Store storage for permanent data database / file passive; no activity beyond basic retrieval capacity serviced by a module label: noun specified in data-dictionary and/or with an ER-diagram label

17 17 Structure Charts - Devices / Interfaces provides connection to peripheral devices origin / destination of external data flows (controls) not part of the software to be developed label: noun specified in data-dictionary label

18 18 Structure Charts - SW Infrastructure provides connection to external systems, databases, operating system, etc. origin / destination of external data flows (controls) not part of the software to be developed label: noun specified in data-dictionary label

19 19 A Structure Chart is derived from a Data Flow Diagram and is a mapping and refinement of the DFD. ==> Algorithms? / Heuristics? DFD SC ????

20 20 End of Section 3b coming up: an example for Structure Charts


Download ppt "1 STRUCTURE CHARTS Elements and Definitions. 2 Software System Design translates SRS into a ===> software system architecture: –system’s static structure."

Similar presentations


Ads by Google