12
QuizMultiple Choice

Use Data Structures — Unit test

Question 12 • Introduction to Information Technology - EL3701

What does a computer program use as a means to evaluate a condition as True or False?

Answer
A
a Boolean expression
B
a Boolean string
C
a Boolean variable
D
a Boolean operator

Explanation

A computer evaluates a condition by checking a Boolean expression, which has a result of either True or False. For example, `5 > 3` is a Boolean expression that evaluates to True. A Boolean operator is used within expressions, but it is not the whole means of evaluating a condition.

AI-written and checked against the verified answer.

Previous
Next