You are on page 1of 23

^_^ Good Morning!!!

Reporters:
Merry Joy A. Longos Rochelle A. Lamano

Control Structures

Control Structures
Which are also called program constructs Manipulate the logical sequence in which instructions in a computer program are executed.

* The Three Control Structures:

1.Sequence Control Structure 2. Selection Control Structure 3. Repetition , Iteration , or Loop Control Structure

Sequnce Control Structure

Sequence Control This is a structure Structure wherein one program


statement follows another in sequential order.

Selection Control Structure

Selection Control Structure

This is a structure used to represent a choice. It is also known as an If Then Else structure ; it offers paths to follow , one for true and the other for false.

a.)

Repetition , Iteration , Or Loop Control Structure

Loop Control Structure

This is a structure wherein a process may be repeated as long as a certain condition remains true.

Two Types of Repetition Control Structures :

While Logical expression


Executable statements

Wend

Example 2 :

Do
Executable statements

Loop While Logical expression

While

Loop While

Thats all

The End

You might also like