7.3 Control Structures

Sequence is the order in which the steps are executed. Selection is used to make logical decisions. Repetition or loop allows a number of steps to be repeated until a condition is satisfied.

 

 

Draw the flowcharts for the pseudocode

Name the control structure

 

 

BEGIN

            Process 1

            Process 2

            Process 3

END

 

 

 

WHILE (condition)

            Process

ENDWHILE

 

 

 

IF (condition)

            THEN process 1

            ELSE process 2

ENDIF

 

 

 

REPEAT

            Process

UNTIL (condition)

 


Write the pseudocode for these flowcharts

Name the control structure

 

 

 

 

 

    

Hosted by www.Geocities.ws

1