SOFTWARE ENGINEERING

INTRODUCTION TO SOFTWARE ENGINEERING

SOFTWARE DEVELOPMENT LIFE CYCLE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What must a programmer use to test a program?
A
All possible sets of legitimate inputs
B
All possible sets of inputs
C
A single set of legitimate inputs
D
A reasonable set of legitimate inputs
Explanation: 

Detailed explanation-1: -What must a programmer use to test a program? Testing all of the possible combination of inputs would be impractical. A correct program produces the expected output for any legitimate input. So, the programmer not used to test a program with all possible sets of legitimate inputs.

Detailed explanation-2: -Unit testing Unit tests are typically automated tests written and run by developers. They ensure that a part of the application (called a “unit”) conforms to its scope and behaves as expected.

Detailed explanation-3: -Create a test plan according to the application requirements. Develop manual test case scenarios from the end-users perspective. Automate the test scenarios using scripts. Perform functional tests and validate if everything works according to requirements. 17-Mar-2023

There is 1 question to complete.