Learning begins at a point ....
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. |
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 |