Cisco 200-901 - DevNet Associate (DEVASC) Exam

Page:    1 / 118   
Total 586 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.


Answer : BE

Which task is performed because the test-driven development approach is being used?

  • A. creating test scenarios based on continuous development
  • B. writing code without committing any coding violations
  • C. refactoring code that is covered by existing tests
  • D. testing existing software before developing new code


Answer : C

Reference:
https://www.guru99.com/test-driven-development.html

What is the first development task in test-driven development?

  • A. Write code that implements a desired function.
  • B. Write a failing test case for a desired function.
  • C. Reverse engineer the code for a desired function.
  • D. Write a passing test case for existing code.


Answer : B

Reference:
https://technologyconversations.com/2013/12/20/test-driven-development-tdd-example-walkthrough/

In test-driven development, what are two of the green bar patterns? (Choose two.)

  • A. another test
  • B. break
  • C. triangulate
  • D. starter test
  • E. fake it


Answer : CE

Reference:
https://www.cs.uic.edu/~i442/Patterns%20for%20TDD.pdf

In the test-driven development model, what is changed after a test fails?

  • A. schedule
  • B. project requirements
  • C. code
  • D. test


Answer : C

Reference:
https://www.guru99.com/test-driven-development.html#:~:text=In%20simple%20terms%2C%20test%20cases,code%20simple%20and%20bug%
2Dfree

Page:    1 / 118   
Total 586 questions