Which software testing method focuses on the internal logic of the code? a. Black-box testing
b. White-box testing
c. Usability testing
d. Performance testing
Which software testing method focuses on the internal logic of the code? a. Black-box testing
b. White-box testing
c. Usability testing
d. Performance testing
The correct answer is b. White-box testing.
Explanation: White-box testing is a software testing method that examines the internal logic, structure, and workings of the code. Testers analyze the code to ensure all paths, conditions, and loops are being tested, which helps identify errors in the code’s logic. In contrast, black-box testing focuses on input and output without looking at the internal workings of the application.