Differentiate the following terms 1) interpreter and compiler 2) parse tree and syntax tree
[3 marks]Explain input buffering technique
[4 marks]Explain phases of compiler with an example
[7 marks]Explain left recursion with an example
[4 marks]Explain lexeme, token and pattern with an example
[3 marks]Construct transition diagram for relational operators. Explain roles of assembler, loader, linker and preprocessor
[7 marks]Construct DFA without constructing NFA for the regular expression (a+b)*abb over input alphabets ∑ = {a,b}
[7 marks]Design LL (1) parsing table for the following grammar E → E + T | T 2) T →T*F | F 3) F → (E) | id
[7 marks]Explain ambiguous grammar with an example
[4 marks]Design LALR parsing table for the following grammar S → CC C → cC | d
[7 marks]Compare top down and bottom up parsing
[3 marks]Explain left factoring of grammar with an example
[4 marks]Explain operator precedence parsing
[3 marks]Briefly explain error recovery strategies
[7 marks]Write a short note on syntax directed definition
[4 marks]Explain Quadruples, Triple, Indirect Triple with an example
[7 marks]Explain flow graph with suitable example
[3 marks]Draw annotated tree for an arithmetic expression 9+5-2
[4 marks]Explain symbol table
[3 marks]Explain peephole optimization technique
[7 marks]Explain activation record
[4 marks]Explain any three code optimization techniques in detail
[7 marks]Explain stack allocation strategy
[3 marks]Explain various parameter passing methods
[4 marks]Compare: static v/s dynamic memory allocation
[3 marks]