You are on page 1of 16

PAPER 2

9618

STRUCTURE CHART
Modules

Function Procedure

Returns A Value Does Not Returns A Value


Difference Between By Value and By Reference

By Value : The Copy of the variable is passed


By Reference : Variable Itself is passed
Structure Chart

Structure Chart helps to understand the complex


program and helps to identify the relation
between modules
Symbols Of Strucutre Chart
Practice Question
Writing Modules Header
A, D : STRING
C : CHAR
B, E : INTEGER

Write Pseudocode for header of


Module Sub B and Sub A

Note : Identify which module is function and


which one is procedure
FUNCTION SubB ( D : STRING , E : INTEGRER ) RETURN BOOLEAN

PROCEDURE SubA ( A : STRING , B : INTEGER, BY REF C : CHAR )


What are the features of Structure Chart

Hierarchy Of Module
Iteration
Selection
The Parameter that are passed between modules

You might also like