What is Language Processor?
[3 marks]Define how lexical analysis works; Give one example of Lexical Analysis, Tokens, and Non-Tokens.
[4 marks]Explain a rule of Left factoring a grammar and give Example.
[7 marks]What is Ambiguous Grammar?
[3 marks]Define following terms: i. Compiler ii. Interpreter iii.Token
[4 marks]Explain a rule of Left factoring a grammar and give Example.
[7 marks]Draw the DFA for the regular expression (a|b)*abb using set construction method only.
Write difference between interpreter and complier
[3 marks]Explain role of lexical analyzer.
[4 marks]What is Finite Automata, Explain two types of FA with example.
[7 marks]What is Simple Code Generator?
[3 marks]Explain first and follow in complier design.
[4 marks]What is Ambiguous Grammar? Explain using any one example.
[7 marks]Explain about Syntax-Directed Definitions.
[3 marks]What is Ambiguous Grammar?
[4 marks]Explain LL(1) Grammar using any one example.
[7 marks]Explain basic blocks for code generation.
[3 marks]What is Recursive precedence parser explains in details?
[4 marks]Is the following grammar LL(1) ? S→ aABbCD | ε A→ ASd | ε B→ Sac| hC | ε C→ Sf |Cg D→ aBD | ε
[7 marks]What is complier, List Phases of complier and explain any one layer
[3 marks]Explain the importance of error detection and recovery mechanisms in compiler design.
[4 marks]Explain components of error detection and recovery.
[7 marks]Create Syntax Tree for the string a * (b + c) – d /2.
[3 marks]What are run time environments? Explain source language issues.
[4 marks]Explain SLR(1) Grammar using any one example. -------1
[7 marks]