Site icon TestingDocs.com

Flowchart Control structures

Overview

In this tutorial, we will learn about Flowchart Control structures. We can broadly classify the control structures into three types of control structures. They are as follows:

Sequence

The sequence is steps or statements placed one after the other. The statement that is above or before gets executed first.

Branching

A branch is a decision based on some condition. If the condition is true, one of the two branches is executed; if the condition is false, the other alternative branch will be executed.

Loop

The loop statement allows a statement/sequence of statements to be executed repeatedly based
on some loop condition. The loop structure is also known as the repetition structure.

Loop examples in most programming languages are as follows:

Exit mobile version