Module 3 - 1 Introduction To Programming (Algorithm)
Module 3 - 1 Introduction To Programming (Algorithm)
Variable Data
Basic Statements Used and
Examples
6. Order in which the steps of an algorithm
are executed is divided in to 3 types
namely
a. Sequential Order
• Each step is performed in serial manner, a step by
step procedure
Basic Statements Used and
Examples
6. Order in which the steps of an algorithm
are executed is divided in to 3 types
namely
a. Sequential Order
• Each step is performed in serial manner, a step by
step procedure
Basic Statements Used and
Examples
b. Conditional Order
Based on fact that the given condition is met or not,
the algorithm selects the next step to do. If
statements are used when decision has to be
made.
Different format of if statements:
Basic Statements Used and
Examples