Which of the following is a white-box test design technique?

Study for the EC-Council Certified Ethical Hacker (CEH) v13 Exam. Utilize flashcards and multiple-choice questions with helpful hints and detailed explanations. Excel in your exam preparation!

Multiple Choice

Which of the following is a white-box test design technique?

Explanation:
White-box testing focuses on the code itself, using knowledge of the internal structure to shape tests. The technique that fits this approach by design is control flow testing, which builds test cases around the program’s control flow graph to exercise different paths, branches, and statements. By targeting how decisions and loops direct execution, it helps reveal logic errors, unreachable code, or incorrect branch handling that might be missed when you only look at inputs and outputs. This contrasts with black-box testing, which treats the software as a closed box and tests based on external behavior without查看 the code. Beta testing and user acceptance testing involve real users validating the product in real-world conditions, not systematically probing internal paths.

White-box testing focuses on the code itself, using knowledge of the internal structure to shape tests. The technique that fits this approach by design is control flow testing, which builds test cases around the program’s control flow graph to exercise different paths, branches, and statements. By targeting how decisions and loops direct execution, it helps reveal logic errors, unreachable code, or incorrect branch handling that might be missed when you only look at inputs and outputs.

This contrasts with black-box testing, which treats the software as a closed box and tests based on external behavior without查看 the code. Beta testing and user acceptance testing involve real users validating the product in real-world conditions, not systematically probing internal paths.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy