SOFTWARE ENGINEERING

SOFTWARE ENGINEERING TOOLS AND ENVIRONMENTS

AUTOMATED TESTING TOOLS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What statement about static analysis is true?
A
With static analysis, defects can be found that are difficult to find with dynamic testing.
B
Compiling is not a form of static analysis.
C
When properly performed, static analysis makes functional testing redundant.
D
Static analysis finds all faults.
Explanation: 

Detailed explanation-1: -Static testing is about the prevention of defects whereas Dynamic testing is about finding and fixing the defects. Static testing does the verification process while Dynamic testing does the validation process. Static testing is performed before compilation whereas Dynamic testing is performed after compilation.

Detailed explanation-2: -The defects found in static testing and dynamic testing are same. True or false. Comment During static analysis, program is not executed yet so defects such as missing requirements, programming standard violation etc. can be found while during dynamic testing, program is actually executed so failures can be found.

Detailed explanation-3: -A variable with an undefined value. Inconsistent interface between modules and components. Variables that are declared but never used. Unreachable code (or) Dead Code. Programming standards violations. Security vulnerabilities. Syntax violations.

There is 1 question to complete.