Bird
0
0

Which of the following is a correct statement about white-box testing?

easy📝 Conceptual Q12 of 15
Testing Fundamentals - Testing Models and Approaches
Which of the following is a correct statement about white-box testing?
AIt tests software without any knowledge of internal code.
BIt ignores the program's internal logic.
CIt only tests the user interface.
DIt requires access to the source code to design test cases.
Step-by-Step Solution
Solution:
  1. Step 1: Recall white-box testing definition

    White-box testing involves looking inside the code to create test cases.
  2. Step 2: Evaluate each option

    It requires access to the source code to design test cases. correctly states the need for source code access; others describe black-box or incorrect ideas.
  3. Final Answer:

    It requires access to the source code to design test cases. -> Option D
  4. Quick Check:

    White-box = code access needed [OK]
Quick Trick: White-box needs code access; black-box does not [OK]
Common Mistakes:
  • Mixing up white-box and black-box definitions
  • Thinking white-box only tests UI
  • Believing white-box ignores internal logic

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes