QuestionQ29

VerifiedStatic and Dynamic Analysis

The following pseudo-code represents the bingo program:

Question Image

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

Explanation

MIN is read as part of the expression MIN + A before it has been assigned an initial value on the path where B > A. This is a use-before-definition data-flow anomaly.

Community Discussion

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