Computer Science EngineeringVery hard

Live variable analysis is a data-flow problem of which type?

  1. A. Forward, may
  2. B. Forward, must
  3. C. Backward, may
  4. D. Backward, must

Correct answer: C. Backward, may

A variable is live if there exists some path to a use, so information flows backward and merges with union.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic