Multiple choice technology performance

Which keyword is a conditional statement?

  1. If

  2. For

  3. Do

  4. While

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The If keyword is a conditional statement that executes code based on whether a condition is true or false. For, Do, and While are loop constructs that repeat code blocks multiple times. Conditional statements control program flow based on conditions, while loops control iteration.