exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 6 discussion

Actual exam question from Cisco's 200-901
Question #: 6
Topic #: 1
[All 200-901 Questions]

What is a benefit of test-driven development?

  • A. strict adherence to product requirements
  • B. faster releases that have minimal features
  • C. early customer involvement
  • D. increased code quality
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
anonymous1966
Highly Voted 2 years, 7 months ago
Selected Answer: D
There is nothing about this question in official book nor in devnet site. So I researched 10 specialized sites. "increased code quality" is a benefit in all of them.
upvoted 5 times
...
Blippen
Most Recent 1 week ago
Selected Answer: A
TDD does not necessarily means better quality IMHO.
upvoted 1 times
...
Grace2024
6 months, 1 week ago
Selected Answer: D
D is as a result of A
upvoted 2 times
...
Holko18
1 year, 7 months ago
Selected Answer: A
I would say the correct answer is A because of this section in official cert guide book: " TDD may see like a waste of time initially. Why write tests for stuff you know isn’t going to pass? Isn’t all of this testing just wasted effort? The benefit of this style of development is that it starts with the end goal in mind, by defining success right away. The test you create is laser focused on the application’s purpose and a clear outcome. Many programmers add too much to their code by trying to anticipate future needs or building in too much complexity for an otherwise simple problem. TDD works extremely well with the iterative nature of Agile development, with the side benefit of having plenty of test cases to show that the software works. "
upvoted 2 times
...
nunyabeez
1 year, 10 months ago
Selected Answer: A
I think this should be A. Writing tests first forces you to think about what the code is actually supposed to do and avoid superfluous things. While testing -can- lead to quality code, it doesn't automatically lead to that. It only ensures that the code works. You could write terribly inefficient or sloppy code that still passes tests, so I don't think D is correct.
upvoted 2 times
...
nospampls
2 years ago
Selected Answer: D
D
upvoted 1 times
...
mellohello
2 years ago
Selected Answer: D
D is correct:
upvoted 1 times
...
ToTheBone
2 years, 2 months ago
The valid answer is? A or D?
upvoted 1 times
...
macxsz
2 years, 6 months ago
Selected Answer: D
Confusing question, but I think its D
upvoted 1 times
...
sds85
2 years, 9 months ago
Selected Answer: A
A key benefit of test-driven development is that it makes the developer focus on requirements before writing code. This is in contrast with the usual practice, where unit tests are only written after code. This shows that new code is actually needed for the desired feature.
upvoted 3 times
...
designated
2 years, 10 months ago
Selected Answer: D
D is correct. 1. Better program design and higher code quality 2. Detailed project documentation 3. TDD reduces the time required for project development 4. Code flexibility and easier maintenance 5. With TDD you will get a reliable solution 6. Save project costs in the long run
upvoted 2 times
...
Frank338
2 years, 10 months ago
D
upvoted 2 times
...
Frank338
2 years, 10 months ago
E
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