145
QuizMultiple Choice

Topic Test

Question 145 • Financial Math - MA2007

Which iteration must have an expression that has a true or false value?

Answer
A
a for loop
B
a while loop
C
a last variable loop
D
a break loop

Explanation

A while loop repeats only while its condition is true, so its controlling expression must evaluate to a true or false value. Therefore, the correct choice is a while loop.

AI-written and checked against the verified answer.

Previous
Next