Computer Science EngineeringVery hard

Available expressions analysis is a data-flow problem of which type?

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

Correct answer: D. Forward, must

An expression is available only if it is computed on all paths reaching a point, so it is forward with intersection.

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

Exams that ask this topic