/fsc-723

Introduction to Programming

Primary LanguageJava

Learning begins at a point ....

fsc-723

Introduction to Programming... Learning the basics.

Programming Control Structures

Type of Control Structure Description
Sequential control The statements in the control structure are executed in order, one after the other.
Branching / Decision The statements in the control structure are executed based on the evaluation of a condition.
Looping / Repetition / Iteration The statements in the control structure are executed repeatedly, either on fulfilling a condition or for some number of times.

Java Control Structures

Statement Type Keyword
Looping / Repetition while, do-while, for
Decision making / Selection if, if-else, switch-case
Exception handling try-catch-finally, throw
Branching break, continue, label:, return

Python Control Structures

Type of Control Structure
if/else
elif
for
while
else