0% found this document useful (0 votes)
42 views23 pages

Structure Chart Chap 12

A structure chart shows the breakdown of a system into its lowest manageable parts. Each module is represented by a box showing its name and parameters passed between modules via arrows. The tree structure visualizes relationships between modules and data transfer. Structure charts can show module sequence, iteration, or selection and comprise modules, hierarchy, relationships, and parameters passed.

Uploaded by

ab khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views23 pages

Structure Chart Chap 12

A structure chart shows the breakdown of a system into its lowest manageable parts. Each module is represented by a box showing its name and parameters passed between modules via arrows. The tree structure visualizes relationships between modules and data transfer. Structure charts can show module sequence, iteration, or selection and comprise modules, hierarchy, relationships, and parameters passed.

Uploaded by

ab khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 23

STRUCTURE CHART

BY: HUMAIRA IKHLAQ


PISES-BW-AN
CS-AS-9618
STRUCTURE CHART: 

• A structure chart is a chart which shows the breakdown of a system to its lowest manageable parts.
• They are used in structured programming to arrange program module into a tree.
• Each module is represented by a box, which contains the module’s name and the parameters passed
to and from the modules are shown by arrows pointing towards the module receiving the parameter.
• The tree structure visualizes the relationships between modules, showing data transfer between
modules with using arrows.
• Each level of the structure chart is a refinement of the level above.
ADVANTAGES OF DIVIDING PROBLEM INTO SUB-
TASKS OR MODULES USING STRUCTURE CHARTS.
SYMBOLS OF SC
Key: Green Boxes are showing
different modules
EXAMPLE Temperature is the
parameter(input or output)
passing from one module and
going to other module
Level 0

Showing
SEQUENCE
statement

Level 1
STRUCTURE CHARTS SHOWING SELECTION
STRUCTURE CHARTS SHOWING
REPETITION/ITERATION
Condition
for iteration
STRUCTURE DIAGRAM MAY SHOW OR COMPRISES OF
THESE ELEMENTS/ FEATURES OF STRUCTURE DIAGRAM

• Modules
• Hierarchy of Modules
• Shows relationships of modules
• Parameters passed between modules
• Shows the module sequence, iteration(FOR..NEXT, REPEAT –UNTIL and While---END
WHILE) or selection (IF---THEN—ELSE—ENF IF, or CASE-----OTHERWISE---
ENDCASE)
FINITE STATE MACHINE (FSM)

• A finite state machine (FSM) is a mathematical model of a machine that can be in one of
a fixed set of possible states.
• One state is changed to another by an external input, this is called a transition.
• A diagram showing the behavior of an FSM is called a state-transition diagram.
HOW TO CONSTRUCT FSM

• States are represented as nodes (circles).


• » Transitions are represented as interconnecting arrows.
• » Events are represented as labels on the arrows.
• » Conditions can be specified in square brackets after the event label. » The initial state
is indicated by an arrow with a black dot.
• » A stopped state is indicated by a double circle.

You might also like