16
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 16 • Introduction to Information Technology - EL3701

What happens when a Boolean expression is evaluated?

Answer
A
If the condition evaluates as True, then the next statement is executed.
B
If the condition evaluates as True, then nothing happens.
C
If the condition evaluates as False, then the next statement is false.
D
If the condition evaluates as False, then the next statement is executed.

Explanation

A Boolean expression evaluates to either True or False. In a conditional statement, if the condition evaluates to True, the next statement is executed. So the correct choice is “If the condition evaluates as True, then the next statement is executed.”

AI-written and checked against the verified answer.

Previous
Next