Multiple choice technology testing

Data flow testing is a control structure testing technique where the criteria used to design test cases is that they

  1. Rely on basis path testing

  2. Exercise the logical conditions in a program module

  3. Select test paths based on the locations and uses of variables

  4. Focus on testing the validity of loop constructs

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

Data flow testing selects test paths based on how variables are defined (assigned) and used (referenced) throughout the program. It tracks the flow of data between variable definitions and their uses to ensure coverage of data relationships. Option A describes basis path testing, option B describes condition testing, and option D describes loop testing, which are different white-box testing techniques.