Skip to content

// Anna University, Chennai / 2023

Anna University — Compiler Design (CS3501), November/December 2023

Compiler Design · CS3501 · R2021 · B.E. Computer Science and Engineering · Semester 5

Files open in a new tab. Use your browser's download or save option to keep a copy.

Work through the questions

16 questions

No verified answers are available for this paper.

  1. Question 1

    Part ADescriptive2 marks

    Compilers

    Define compiler.

    No verified answer or solution is available for this question.

  2. Question 2

    Part ADescriptive2 marks

    Compilers

    What is finite automata?

    No verified answer or solution is available for this question.

  3. Question 3

    Part ADescriptive2 marks

    Compilers

    What are the goals of error handler in a parser?

    No verified answer or solution is available for this question.

  4. Question 4

    Part ADescriptive2 marks

    Compilers

    Define a parse tree.

    No verified answer or solution is available for this question.

  5. Question 5

    Part ADescriptive2 marks

    Compilers

    What is meant by Back patching?

    No verified answer or solution is available for this question.

  6. Question 6

    Part ADescriptive2 marks

    Compilers

    What is meant by Type Checking?

    No verified answer or solution is available for this question.

  7. Question 7

    Part ADescriptive2 marks

    Compilers

    Define symbol table.

    No verified answer or solution is available for this question.

  8. Question 8

    Part ADescriptive2 marks

    Compilers

    What is a flow graph? Give example.

    No verified answer or solution is available for this question.

  9. Question 9

    Part ADescriptive2 marks

    Compilers

    What is DAG? Give example.

    No verified answer or solution is available for this question.

  10. Question 10

    Part ADescriptive2 marks

    Compilers

    What is basic block?

    No verified answer or solution is available for this question.

  11. Question 11

    Part BDescriptive13 marks

    Compilers

    (a) What are the phases of the compiler? Explain each phase in detail. (13) (OR) (b) Briefly discuss about Role of Lexical Analyzer. (13)

    No verified answer or solution is available for this question.

  12. Question 12

    Part BDescriptive13 marks

    Compilers

    (a) Briefly discuss about Design of a syntax Analyzer for a sample language. (13) (OR) (b) Explain the LR parsing algorithm with an example. (13)

    No verified answer or solution is available for this question.

  13. Question 13

    Part BDescriptive13 marks

    Compilers

    (a) Explain in detail about Design of predictive translator. (13) (OR) (b) Discuss the address code and its implementation, with example. (13)

    No verified answer or solution is available for this question.

  14. Question 14

    Part BDescriptive13 marks

    Compilers

    (a) Discuss about the run time storage management of a code generator in detail. (13) (OR) (b) What are the issues in the design of the code generator? Explain in detail. (13)

    No verified answer or solution is available for this question.

  15. Question 15

    Part BDescriptive13 marks

    Compilers

    (a) Explain the principle sources of code optimization in detail. (13) (OR) (b) Discuss the DAG representation of the basic block with an example. (13)

    No verified answer or solution is available for this question.

  16. Question 16

    Part CDescriptive15 marks

    Compilers

    (a) How the context free grammar will work and compare various parser techniques performance using various code blocks? (15) (OR) (b) How the data flow optimization can be done and compare the features? (15)

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam