exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 966 discussion

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



Refer to the exhibit. What is output by this code?

  • A. -1 -2 -3 -4
  • B. 8 7 6 5
  • C. 4 5 6 7
  • D. -4 -5 -6 -7
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Mekai2020
Highly Voted 9 months, 1 week ago
Selected Answer: B
while count > 4 : 8 = True while count > 4 : 7 = True while count > 4 : 6 = True while count > 4 : 5 = True while count > 4 : 4 = False!
upvoted 10 times
...
[Removed]
Most Recent 5 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
slacker_at_work
7 months, 2 weeks ago
Selected Answer: B
count = 8 while count > 4: print(count) count -= 1 This will print the numbers 8, 7, 6, and 5, and then the loop will terminate because count will no longer be greater than 4.
upvoted 2 times
...
Osama_anwar
7 months, 3 weeks ago
Selected Answer: B
Correct
upvoted 1 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