You are on page 1of 2

Flowchart - a pictorial or a graphical presentation that represents an algorithm,

workflow or process

Algorithm – a step by step procedure with a set of rules to be followed in order to


solve a problem

TYPES OF LOOP STATEMENTS

While Loop

While a given expression is true it repeats the statement in the loop body. Before
executing the loop body it tests the condition for true or false.

Do While Loop

It’s like a while loop but it tests the condition after executing the loop body.

For Loop

In above two loops we need to write the increment or decrement operation to break
the loop after sometime. But in for loop we have an option of incrementing or
decrementing outside the loop body.

Flowchart Symbols

Oval - The terminator symbol marks the starting or ending point of the system. It
usually contains the word "Start" or "End."

Rectangle - Action or Process Symbol

Diamond - Decision Symbol


A decision or branching point. Lines representing different decisions emerge from
different points of the diamond.

Parallelogram - Input/Output Symbol

Represents material or information entering or leaving the system, such as


customer order (input) or a product (output).

You might also like