exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 1 discussion

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

Which two concepts describe test-driven development? (Choose two.)

  • A. User acceptance testers develop the test requirements.
  • B. It enables code refactoring.
  • C. Tests are created when code is ready for release.
  • D. Implementation is driven by incremental testing of release candidates.
  • E. Write a test before writing code.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
Mormon
Highly Voted 4 years, 10 months ago
D & E is my opiniion
upvoted 17 times
...
wekoje1137
Highly Voted 2 weeks ago
Selected Answer: BE
B,E is valid answer see full discussion: https://lc.cx/avOn4L
upvoted 10 times
...
gabsirk
Most Recent 1 month, 2 weeks ago
Selected Answer: BE
B,E are correct
upvoted 1 times
...
samtestking
5 months, 1 week ago
Selected Answer: C
test test test
upvoted 1 times
...
designated
7 months, 1 week ago
Selected Answer: BE
B, E are correct Step 1. Write a test: Write a test that tests for the new class or function that you want to add to your code. Think about the class name and structure you will need in order to call the new capability that doesn’t exist yet—and nothing more. Step 2. Test fails: Of course, the test fails because you haven’t written the part that works yet. The idea here is to think about the class or function you want and test for its intended output. This initial test failure shows you exactly where you should focus your code writing to get it to pass. This is like starting with your end state in mind, which is the most effective way to accomplish a goal. Step 3. Write some code: Write only the code needed to make the new function or class successfully pass. This is about efficiency and focus. Step 4. Test passes: The test now passes, and the code works. Step 5. Refactor: Clean up the code as necessary, removing any test stubs or hard-coded variables used in testing. Refine the code, if needed, for speed.
upvoted 4 times
...
xenolo
8 months, 1 week ago
Answer (BE) is the right . Ty (Exam For Sure)
upvoted 1 times
...
sandaruwann654
1 year ago
Selected Answer: BE
B,E are correct
upvoted 1 times
...
eryxcs
2 years, 1 month ago
Answer B & E
upvoted 1 times
...
Mike_84
2 years, 9 months ago
Selected Answer: BE
Correct answer B & E
upvoted 1 times
...
jeanh101
2 years, 9 months ago
B and E
upvoted 1 times
...
XerAR
2 years, 9 months ago
Selected Answer: DE
I would say D and E
upvoted 1 times
...
macxsz
2 years, 11 months ago
Selected Answer: BE
B and E
upvoted 1 times
...
kibo_muc
3 years ago
Selected Answer: BE
The main concept of TDD to write the tests BEFORE the code is written
upvoted 1 times
...
Lagann92
3 years ago
Selected Answer: BE
Agree with prev comments, B&E
upvoted 1 times
...
parkjunsung
3 years, 3 months ago
Selected Answer: BE
B, E as this is explained in the official book
upvoted 3 times
...
Frank338
3 years, 3 months ago
Selected Answer: BE
DEVASC Training - Section 2 - Lesson 2.3 TDD ....(TDD) is a software-development methodology where you write the test code before the actual production code. When code is developed,....Now step back, look at the whole codebase, and clean it up by refactoring.Refactoring the code before moving....
upvoted 2 times
...
Targaryen
3 years, 3 months ago
Selected Answer: BE
Write a test first, code after. Code pass, refactor.
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