0% found this document useful (0 votes)
4 views6 pages

Lesson7 Control Structures

Uploaded by

Joshua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views6 pages

Lesson7 Control Structures

Uploaded by

Joshua
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

CONTROL STRUCTURES

WHAT IS CONTROL STRUCTURES?

Control structures are essential components of


programming languages that enable you to
dictate the flow of execution in your code.
They allow you to make decisions, repeat
actions, and control the order in which
instructions are executed. There are three
primary types of control structures: sequential,
selection, and iteration.
WHAT IS CONTROL STRUCTURES?

Control structures are essential components of


programming languages that enable you to
dictate the flow of execution in your code.
They allow you to make decisions, repeat
actions, and control the order in which
instructions are executed. There are three
primary types of control structures: sequential,
selection, and iteration.
SEQUENTIAL CONTROL

Sequential control is the default


behavior of a program, where
statements are executed one after
another in the order they appear. No
explicit control structure is required
for sequential execution.
SELECTION CONTROL

(Conditional Statements):
Selection control structures allow
your program to make decisions
based on certain conditions. The
most common selection structures
are if statements and switch
statements.
ITERATION CONTROL

Iteration control structures allow you


to repeat a certain block of code
multiple times. The most common
iteration structures are for loops,
while loops, and do-while loops.

You might also like