ExamGecko
Question list
Search
Search

Related questions











Question 289 - CTFL-2018 discussion

Report
Export

Which of the following is a key difference between black box and white box test design techniques?

A.
Black box techniques use software code to derive test cases, white box techniques do not.
Answers
A.
Black box techniques use software code to derive test cases, white box techniques do not.
B.
White box techniques use functional design specifications to derive test cases, black box techniques do not.
Answers
B.
White box techniques use functional design specifications to derive test cases, black box techniques do not.
C.
White box techniques can measure the extent of code coverage, black box techniques can not.
Answers
C.
White box techniques can measure the extent of code coverage, black box techniques can not.
D.
White box techniques derive test cases from models of the software, black box techniques do not.
Answers
D.
White box techniques derive test cases from models of the software, black box techniques do not.
Suggested answer: C

Explanation:

A key difference between black box and white box test design techniques is that white box techniques can measure the extent of code coverage, while black box techniques cannot. Code coverage is a measure of how much of the code of a system or component has been executed by a test or a set of tests. White box techniques use software code to derive test cases that cover specific aspects of the code, such as statements, branches, paths, or data flows. White box techniques can use tools or methods to measure the code coverage achieved by the test cases and identify any gaps or redundancies. Black box techniques use functional design specifications to derive test cases that cover specific aspects of the functionality, behavior, or quality of the system or component, such as inputs, outputs, equivalence classes, boundary values, states, transitions, etc. Black box techniques do not use or access the code of the system or component, and therefore cannot measure the code coverage.

asked 18/09/2024
Nick Daniel
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first