Multiple choice technology testing

Consider the following techniques. Which are static and which are dynamic techniques? i. Equivalence Partitioning. ii. Use Case Testing. iii. Data Flow Analysis. iv. Exploratory Testing. v. Decision Testing. vi Inspections.

  1. i-iv are static, v-vi are dynamic

  2. iii and vi are static, i, ii, iv and v are dynamic.

  3. ii, iii and vi are static, i, iv and v are dynamic.

  4. vi is static, i-v are dynamic

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Static techniques analyze code without executing it (Data Flow Analysis and Inspections), while dynamic techniques require running the system with test inputs. Equivalence Partitioning, Use Case Testing, Exploratory Testing, and Decision Testing all involve executing the system, making them dynamic. Static analysis happens before runtime, dynamic testing happens during runtime.

AI explanation

Static testing techniques examine artifacts without executing the code — this includes inspections/reviews and data flow analysis (tracing variable definitions and uses through code). Dynamic techniques require the software to actually run, which covers equivalence partitioning, use case testing, exploratory testing, and decision (branch) testing, since all of them exercise the program with real inputs.