Download presentation
Presentation is loading. Please wait.
Published byAndreas Enoksen Modified over 6 years ago
1
Structure Charts Agenda: What are Structure Charts
Use of Structure Charts Symbols How to create
2
What are Structure Charts
A Structure Chart (SC) in software engineering and organizational theory, is a chart which shows the breakdown of a system to its lowest manageable levels. They are used in structured programming to arrange program modules into a tree. Each module is represented by a box, which contains the module's name. Structure chart is a chart derived from Data Flow Diagram. It represents the system in more detail than DFD. It breaks down the entire system into lowest functional modules, describes functions and sub-functions of each module of the system to a greater detail than DFD. Structure chart represents hierarchical structure of modules. At each layer a specific task is performed.
3
Structure Chart Use Describe functions and sub-functions of each part of system (in more detail than a DFD) Show relationships between common and unique modules of a computer program Hierarchical, Modular structure Each layer in a program performs specific activities Each module performs a specific function
4
Structure Chart Symbols
Structure Chart symbols represent Modules (sequential logic) Conditions (decision logic) Loops (iterative logic) Data couples Control couples
5
Structure Chart - Module
Rectangle represents a module (program or subroutine) Control Modules (mainline) branch to sub-modules Library modules are reusable and can be invoked from more than one Control Module elsewhere in the system
6
Structure Chart - Data Couple
Arrow with an empty circle Shows the data one module passes to another
7
Structure Chart - Control Couple
Arrow with filled circle Shows a message (flag) which one module sends to another Module uses a flag to signal a specific condition or action to another module
8
Structure Chart - Condition
A line with a diamond Indicates that a control module determines which subordinate module will be invoked
9
Structure Chart - Loop A curved arrow representing a loop
One or more modules are repeated
10
Structure Chart for Calculate Pay Amount Routine
11
Structure Chart for Entire Calculate Payroll Program
12
Steps in drawing a structure chart
Review the DFDs and object models Identify modules and relationships Add couples, loops, and conditions Analyze the structure chart, the DFDs, and the data dictionary Example: Order System DFD Order System Structure Chart
13
Summary - Structure Charts
Show the relationships among program modules Structure Chart consists of: Modules - Related program code organized into small units that are easy to understand and maintain Data couples - Data passed between modules Control couples - Data passed between modules that indicates a condition or action to another module (e.g. End of File) Conditions - determines what subordinate module a control module will run Loops - Indicates one or more subordinate modules are repeated Structure Charts are based on the DFD and Data Dictionary
14
Thanks…
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.