Exam 350-401 All QuestionsBrowse all questions from this exam
Question 995

A script contains the statement "while loop != 999:" Which value terminates the loop?

    Correct Answer: C

    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. Therefore, the loop will terminate when the value of 'loop' becomes equal to 999.

Discussion
shefo1Option: C

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.

falconer42003Option: 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.

babanaberOption: A

not equal to

babanaber

Answer is C. My bad Which value terminates the loop...

SeMo0o0oOption: C

C is correct