tricky question :) , pls be careful
from all chatbots :
The statement “while loop != 999:” creates a loop that continues executing as long as the value of the variable “loop” is not equal to 999. In other words, the loop will terminate when the value of “loop” becomes equal to 999.
Therefore, the correct answer is C. A value equal to 999. When the value of “loop” reaches 999, the loop condition becomes false, and the loop stops executing.
Read this statement as:
"While the value is not equal than 999, then do all these actions (not shown in the example) and come back again to do another check"
Only the value 999 finish the previous sentence because, you know, 999 is equal to 999.
The correct answer is C.
A while continues as far the condition is true. The true condition is "Loop" variable to be different from 999. When the "Loop" variable is equal to 999 the condition is false then the while finish.
Answer is C. My bad
Which value terminates the loop...
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
shefo1
Highly Voted 9Â months agozbeugene7
Most Recent 2Â months, 2Â weeks agoZeruz
3Â months agochiacche
3Â months, 3Â weeks ago[Removed]
7Â months agofalconer42003
8Â months, 4Â weeks agobabanaber
9Â months agobabanaber
8Â months, 3Â weeks ago