// 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.
- 2023
- 2022
Also asked in Anna University — Programming in C (CS8251), November/December 2022 (2022).
Define compiler.
No verified answer or solution is available for this question.
What is finite automata?
No verified answer or solution is available for this question.
What are the goals of error handler in a parser?
No verified answer or solution is available for this question.
Define a parse tree.
No verified answer or solution is available for this question.
What is meant by Back patching?
No verified answer or solution is available for this question.
What is meant by Type Checking?
No verified answer or solution is available for this question.
Define symbol table.
No verified answer or solution is available for this question.
What is a flow graph? Give example.
No verified answer or solution is available for this question.
What is DAG? Give example.
No verified answer or solution is available for this question.
What is basic block?
No verified answer or solution is available for this question.
(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.
(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.
(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.
(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.
(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.
(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.