Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

what is the primary purpose of unit testing in software development? a.…

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

Explanation:

Brief Explanations

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.

Answer:

A. To test individual components or functions in isolation