Professional Documents
Culture Documents
UNIT : II
8. Write a YACC Program for sample desk calculator.
(OR)
9. What is bottom up Parsing? Compare and contrast three LR parsing methods.
UNIT : III
10. Give a syntax directed definition to translate infix expression into infix expression
without redundant parentheses for e.g. since + and * associate to the left ((a*(b+c))*(d)) can be
rewritten as a* (b+c) *d.
(OR)
11. What are the different storage allocation strategies? Explain.
UNIT : IV
12. How do you represent basic blocks with DAG representation?
(OR)
13. Explain three address code and Quadruples.
UNIT : V
(OR)
(OR)
11. What is a type checker? How does it work?
UNIT : IV
12. Explain structure-preserving transformations.
(OR)
13. Explain the principle sources of optimization with suitable examples.
UNIT : V
(OR)