1
AssignmentMultiple Select

Unit Test

Question 1 • VA-Information Technology Fundamentals B

Which choices correctly describe an Else statement? Check all that apply.

Answer
A
a conditional statement that will show different information if the answer to the If statement is true
B
a conditional statement that will show different information after the If statement answer is false
C
a statement that contains the code to be executed when the If value is false or zero
D
a conditional statement that runs a piece of code when all program statements are true

Explanation

An Else statement provides an alternate path when the condition in an If statement is false. Choice B describes showing different information after the If condition is false, and choice C correctly says it contains code executed when the If value is false or zero. Choice A describes the true branch, while D does not describe how Else works.

AI-written and checked against the verified answer.

Next