Multiple choice technology testing

Data flow analysis studies:

  1. possible communications bottlenecks in a program.

  2. the rate of change of data values as a program executes

  3. the use of data on paths through the code

  4. the intrinsic complexity of the code.

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

Data flow analysis (option C) studies how data is used and flows on paths through code - where variables are defined, used, and killed. It's a white-box technique that identifies potential anomalies like using variables before initialization. Option A refers to performance analysis, not data flow. Option B is incorrect - data flow doesn't study rate of change. Option D describes complexity metrics like cyclomatic complexity, which is different from data flow analysis.