Compiler Design and Construction – BSc.CSIT (TU) Question Paper 2071 (2014) | 6th SEM

Download our Android App from Google Play Store and start reading Reference Notes Offline.

Compiler Design and ConstructionTribhuvan University – Bachelor Level
Institute of Science and Technology
Compiler Design and Construction – Year: 2071(2014)

Third Year / Six Semester / Science
Computer Science and Information Technology – (CSC.352)

Candidates are required to give their answers in their own words as far as practicable. The questions are of equal value.

Attempt all questions. [10 X 6 = 60]

  1. Define the compiler. Explain the phases of compiler.
  2. Design a lexical analyzer generator and explain it.
  3. Differentiate between top-down parsing and bottom-up parsing.
  4. Translate the anthmetic expression a* -(b+c) into syntax tree. Explain the ambiguous grammar.
  5. Explain the dynamic programming code generation algorithm with example.
  6. What do you mean by code optimization? Explain the basic blocks and their optimization.
  7. What are the generic issues in the design of code generators? Explain.
  8. What are the compiler construction tools? Explain.
  9. Explain the principle sources of code optimization with example.
  10. Differentiate between C compiler and Pascal compiler.

Posted By : MeroSpark | Comment RSS | Category : Bachelor Level, Tribhuvan University
Tag :

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*