QuestionQ24

VerifiedWhite-Box Test Techniques

Below is the pseudocode for the Win program:

Question Image

The bingo program has a data-flow anomaly. Which data-flow anomaly is present in this program?

Explanation

Variable D is assigned a value by read(D) but is never used afterward. This is a defined-but-not-used data-flow anomaly.

Community Discussion

No comments yet. Be the first to start the discussion!