Assertion (A): Iterative data flow analysis is guaranteed to terminate.
Reason (R): Each iteration changes the sets only in one direction and the lattice of possible values has finite height.
Answer: A
Both are true and the reason gives the mechanism, and it is the standard termination argument. Monotone transfer functions over a finite lattice cannot cycle, so the iteration must reach a fixed point in a bounded number of rounds.
Please log in or register to report this question.