Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

21. In VB, the If...Else Statement is an example of:
Options
A Sequential control structure
B Iterative control structure
C Alternating control structure
D Selection control structure
Correct Answer
Correct Answer

Option D is the correct answer.

Detailed Explanation

If...Else is used for decision-making, which falls under selection control structures.

Hint

If...Else helps choose between paths.

Question Info