Module 4 Flashcards

1
Q

Refers to the ability of a program to decide the flow of
execution based on certain conditions.

A

Decision Control Structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

TYPES OF DECISION
CONTROL STRUCTURES

A

• If Statements
• If-Else Statements
• Nested If Statements
• Else If Ladder
• Switch Case Statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Executes a block of code if the given condition is true.

A

IF STATEMENT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Provides an alternative path if
the condition is false.

A

IF-ELSE STATEMENT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Allow an if statement inside another if or else block
for complex decision-making.

A

NESTED IF STATEMENTS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Used when you need to
check multiple conditions in sequence.

A

ELSE IF LADDER

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Allows you to choose
one block of code to
execute from multiple
options based on the
value of a variable.

A

SWITCH CASE
STATEMENTS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly