1. Difference between compiler,assembler and interpreter.
Define “Hybrid Compiler” and justify
the reason behind using a just-in-time compiler with an example. 2. Identify the significance of a symbol table in a compiler. Demonstrate how source code is translated into a target code in a compiler using the input statement given below. Result=score1*100+score2*100 (CT te aschilo eta khatay koro freash kore eta) 3. Sate the possible ‘error-recovery actions in Lexical Analysis.Explain ‘Panic mode recovery’ with an example. 4. What is “Sentinel”? Define where sentinels are used and how does the use of sentinel speed up the scanning process? 5. Describe where sentinels are used in buffer pairs in lexical analysis. 6. Write the rules for constructing regular expression over an alphabet. 7. What is the regular expression for denoting all strings whose length is not two? Assume a binary alphabet. 8. Briefly describe different parsers of a compiler with appropriate examples for each phase. 9. Briefly describe the model of a non-recursive predictive parser and the predictive parsing program. 10.