When is an integration test needed?

a. when we want to determine if we are getting the right output

b. when we want to verify each unit independently

c. when we want to check a specific feature within a program

d. when we intend to check logically integrated modules

d. when we intend to check logically integrated modules

An integration test is needed when we intend to check logically integrated modules. This means that we want to verify if the different modules of a program or system work together correctly, considering their interactions and dependencies, rather than testing them independently (option b). While options a and c are valid reasons for testing, they refer more to other types of tests such as output verification and feature testing.