Computer Science EngineeringVery hard
Available expressions analysis is a data-flow problem of which type?
- A. Backward, may
- B. Backward, must
- C. Forward, may
- 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.
Practise more Theory of Computation, Compilers & Digital Logic (ISRO CS) questionsTheory of Computation, Compilers & Digital Logic (ISRO CS): notes and key points
More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions
- Moving a computation whose value does not change inside a loop to before the loop is called
- A language accepted by some Turing machine (which may loop on strings outside the language) is called
- Which problem was the first to be proved NP-complete (Cook-Levin theorem)?
- The minimal complete DFA over {a, b} for the language ab has how many states?
- The grammar S -> aSa | bSb | a | b | epsilon generates
- An int a[10][20] array is stored in row-major order with base address 1000 and 4-byte elements. The address of a[3][5] is