nerdexam
Cisco

200-901 · Question #232

What is a benefit of test-driven development?

The correct answer is B. increased code quality. TDD's primary benefit is increased code quality. Because tests are written before code, every piece of functionality has a corresponding test, ensuring correctness and reducing bugs. TDD does not inherently involve early customer involvement (that's Agile/Scrum), does not produce

Software Development and Design

Question

What is a benefit of test-driven development?

Options

  • Aearly customer involvement
  • Bincreased code quality
  • Cfaster releases that have minimal features
  • Dstrict adherence to product requirements

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    93% (25)
  • C
    4% (1)

Explanation

TDD's primary benefit is increased code quality. Because tests are written before code, every piece of functionality has a corresponding test, ensuring correctness and reducing bugs. TDD does not inherently involve early customer involvement (that's Agile/Scrum), does not produce faster minimal releases (that's MVP/CD), and does not enforce strict requirements adherence beyond what the tests cover.

Topics

#test-driven development#software development methodologies#code quality#software testing

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice