312-50V11 · Question #521
Which of the following is a restriction being enforced in "white box testing?"
The correct answer is B. The internal operation of a system is completely known to the tester. White box testing means the tester has complete knowledge of the internal workings of the system under test, including source code, architecture, and logic.
Question
Which of the following is a restriction being enforced in "white box testing?"
Options
- AOnly the internal operation of a system is known to the tester
- BThe internal operation of a system is completely known to the tester
- CThe internal operation of a system is only partly accessible to the tester
- DOnly the external operation of a system is accessible to the tester
How the community answered
(23 responses)- B96% (22)
- C4% (1)
Why each option
White box testing means the tester has complete knowledge of the internal workings of the system under test, including source code, architecture, and logic.
This choice is nearly correct in direction but flawed - white box testing means the internal operation is fully known, not merely partly known, making 'only' an inaccurate qualifier.
In white box testing, the tester is given full visibility into the internal structure, source code, and design of the system. This allows the tester to craft test cases that exercise specific code paths, branches, and logic flows. The approach contrasts with black box testing, where no internal knowledge is provided.
Partial access to internal operations describes gray box testing, which is a hybrid approach between white box and black box methodologies.
Knowing only the external operation of a system - without any internal visibility - is the definition of black box testing, not white box testing.
Concept tested: White box testing methodology and tester knowledge level
Source: https://csrc.nist.gov/glossary/term/white_box_testing
Topics
Community Discussion
No community discussion yet for this question.