16
QuizMultiple Choice

Resources for Programmers — Unit test

Question 16 • Introduction to Information Technology - EL3701

A looping construct that continues to repeat until the expression becomes false is

Answer
A
a while loop.
B
a for loop.
C
an infinite loop.
D
a pass loop.

Explanation

A while loop checks its condition as it runs and repeats as long as the expression is true. When the expression becomes false, the loop stops. Therefore, the correct choice is “a while loop.”

AI-written and checked against the verified answer.

Previous
Next