nerdexam
iSQI

CTFL_SYLL_4.0 · Question #214

Which of the following statements is CORRECT about White-box testing?

The correct answer is A. White-box testing helps find defects because they can be used to measure statement. White-box testing, also known as structural testing, involves testing the internal structures or workings of an application, as opposed to its functionality (which is tested by black-box testing). The correct statement about white-box testing is that it helps find defects by…

Test Analysis and Design

Question

Which of the following statements is CORRECT about White-box testing?

Options

  • AWhite-box testing helps find defects because they can be used to measure statement
  • BWhite-box testing helps find defects even when specifications are vague because it takes into
  • CWhite-box testing helps find defects because it provides for requirements based coverage
  • DWhite-box testing helps find defects because it focuses on defects rather than failures

How the community answered

(15 responses)
  • A
    93% (14)
  • C
    7% (1)

Explanation

White-box testing, also known as structural testing, involves testing the internal structures or workings of an application, as opposed to its functionality (which is tested by black-box testing). The correct statement about white-box testing is that it helps find defects by measuring aspects such as statement coverage. Statement Coverage: White-box testing techniques like statement coverage measure whether each statement in the code has been executed at least once. This helps ensure that all parts of the code are tested and can reveal defects in areas that might not be reached by black-box

Topics

#white-box testing#statement coverage#structural testing#code coverage

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice