Q1 /20 What is white box testing?
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
What is white box testing?
Please choose all of the following choices which are true:
Show answer & explanation
White box testing (also called glass box or clear box testing) is a testing methodology where the tester has full knowledge of the internal code structure, logic, and implementation details. Options B and C both correctly define this: B captures the holistic understanding of inputs, outputs, and internal processes, while C directly references the code-level knowledge characteristic of unit testing. Option A is incomplete (ignores outputs), and D is nonsensical (unrelated to testing methodology).
Step-by-step Derivation:
White box testing is defined as testing performed with full visibility into the system's internal workings. This means: (1) knowing the code structure and logic, (2) understanding both inputs and outputs, and (3) being able to test internal processes directly (e.g., unit testing specific functions). Options B and C both accurately describe this. Option A fails because white box testing absolutely requires understanding outputs. Option D is a literal misinterpretation with no technical relevance.