Multiple choice

When the condition evaluates as true in a block IF statement, which part of the statement is executed?

  1. None; the statement is skipped.

  2. The THEN part of the statement is executed.

  3. The ELSE part of the statement is executed.

  4. Both the THEN and the ELSE parts of the statement are executed.

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

In an IF-THEN-ELSE structure, when the condition evaluates to true, only the THEN clause is executed. The ELSE clause is skipped entirely.