exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 995 discussion

Actual exam question from Cisco's 350-401
Question #: 995
Topic #: 1
[All 350-401 Questions]

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

  • A. A value not equal to 999.
  • B. A value less than or equal to 999.
  • C. A value equal to 999.
  • D. A value greater than or equal to 999.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shefo1
Highly Voted 9 months ago
Selected Answer: 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.
upvoted 6 times
...
zbeugene7
Most Recent 2 months, 2 weeks ago
what the h-ell ???? CCNP , was it worth it ?
upvoted 2 times
...
Zeruz
3 months ago
Selected Answer: C
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.
upvoted 1 times
...
chiacche
3 months, 3 weeks ago
while loop =999 : loop be terminated
upvoted 1 times
...
[Removed]
7 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
falconer42003
8 months, 4 weeks ago
Selected Answer: 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.
upvoted 3 times
...
babanaber
9 months ago
Selected Answer: A
not equal to
upvoted 2 times
babanaber
8 months, 3 weeks ago
Answer is C. My bad Which value terminates the loop...
upvoted 2 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago