QUESTION IMAGE
Question
what is the primary purpose of unit testing in software development?
a. to test individual components or functions in isolation
b. to test the entire application as a whole
c. to improve user interface design
d. to optimize database performance
Unit testing focuses on verifying small, independent parts of software (like functions or components) separately to ensure each works correctly on its own before integration. Option B describes system testing, C relates to UI/UX design, and D is about database optimization—none are the primary purpose of unit testing.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
A. To test individual components or functions in isolation