Você está na página 1de 2

Mount Zion College of Engineering & Technology

To Make Man Whole!! An ISO 9001:2015 Certified Institution

Encl. 25a: QUESTION BANK


CS6660 PRINCIPLES OF COMPILER DESIGN
UNIT I INTRODUCTION TO COMPILERS
TB 1 Alfred Aho, Ravi Sethi and Jeffrey D Ullman, “Compilers Principles,Techniques and Tools”, Pearson Education Asia, 2007.

REF 1 Randy Allen, Ken Kennedy, “Optimizing Compilers for Modern Architectures: A Dependencye-based Approach”,Morgan
Kaufmann Publishers, 2002.
REF 2 Steven S. Muchnick, “Advanced Compiler Design & Implementation”, Morgan Kaufmann Pulishers, Indian Reprint, 2003.
REF 3 Keith D Cooper and Linda Torczon, “Engineering a Compiler”, Morgan Kaufmann Publishers Elsevier Science, 2004.
REF 4 Charles N. Fischer, Richard. J. LeBlanc, “Crafting a Compiler with C”, Pearson Education, 2008.
Textb Ans - Studet
Qs. No. Questions Univ Qs. ook Page Referred Mark
No. Nos. Page No.
TLP No.1 Translators
1. Mention some of the cousins of the compiler. May 04 TB 1 4 2
2. What are the functions of preprocessor? Nov 07 TB 1 4 2
3. What is pre-processor? Nov 04 TB 1 4 2
4. Explain the cousins of compiler. May 13 TB 1 4 8
5. Define pre-processor. May 07 TB 1 4 2
TLP No.2 Compilation and Interpretation
6. Differentiate compiler and interpreter May 08 TB 1 1 2
7. Define compiler. May 07 TB 1 1 2
8. What is an interpreter? May 11
TB 1 1 2
Dec 17
9. What is the software used to manipulate source program? Nov 10 TB 1 2 4
10. What is the use of a compiler? Nov 13 TB 1 2 2
11. What do you mean by Cross-Compiler? May 14
TB 1 2 2
Dec 17
12. Define the two parts of compilation. May 17 TB 1 2
TLP No.3 Language processors
13. Draw the diagram of the language processing system. Nov 06 TB 1 4 2
TLP No.4 The Phases of Compiler
14. What is CFG? Give an example. May 04 TB 1 2
15. What is symbol table? Dec 16 TB1 2
16. List the cousins of compiler. May 17 TB 1 2
17. Describe in detail about the cousins of compiler. May 17 TB 1 4
18. Explain in detail the various phases of compilers with an
Dec 17 TB 1 16
example.
19. Explain the various phase of a compiler in detail. Also write
down the output for the following expression after each phase May 04 TB 1 4 10
a:=b*c-d.
20. Explain the phases of compiler with a neat sketch. Dec 16 TB1 10
21. What are the phases of compiler? Explain the phases in detail.
Write down the output of each phase for the expression May 17 TB1 16
a:=b+c*60.
22. What are the phases of the compiler? Explain each phase in
detail. Write down the output of each phase for the expression Nov 04 TB 1 4 10
a:=b+c*50
23. Explain the phases of compiler, with the neat schematic. May 08
(or) May 13 TB 1 4 16
Explain the six phase of the compiler with suitable examples. Nov 07
24. Define Symbol table. Nov 07
TB 1 11 2
May 14
25. What is a compiler? Explain the various phase of compiler in
Nov 07 TB 1 4 10
detail, with a neat sketch.
26. Write about the phases of compiler and by assuming an input
May 07 TB 1 4 10
and show the output of various phases.
27. Explain the various phase of a compiler in detail with neat
May 07 TB 1 4 16
sketch.
28. Explain in detail the process of compilation .Illustrate the
output of each phase of compilation of the input May 14 TB 1 4 16
“a=(b+c)*(b+c)*2”.
29. Draw the transition diagram for relational operators and
unsigned numbers. May 17 TB1 6

Pilivalam P.O, Pudukkottai Dt., Tamil Nadu. Pin - 622 507, Fax: 04333 – 277125, Ph: 04322 - 320801, 320802, Website: www.mzcet.in, Email: info@mzcet.in
Page 1 of 2
Mount Zion College of Engineering & Technology
To Make Man Whole!! An ISO 9001:2015 Certified Institution

Encl. 25a: QUESTION BANK


CS6660 PRINCIPLES OF COMPILER DESIGN
UNIT I INTRODUCTION TO COMPILERS
TLP No.5 Errors Encountered in Different Phases
30. Explain the various errors encountered during the different
Dec 16 TB 1 PPT 8
phases of compilation.
31. Describe the error recovery schemes in lexical phase of a
-
compiler.
TLP No.6 The Grouping of Phases
32. Describe how various phases could be combined as a pass in a
Nov 04 TB 1 4 6
compiler.
33. Explain the need for grouping of phases. Dec 16 TB 1 8
34. Explain Grouping of phases. May 08 TB 1 4 8
35. State any two reasons as to why phases of compiler should be
May 14 TB 1 4 2
grouped.
36. Explain the need for grouping f phases of compiler. Nov 14 TB 1 4 8
TLP No.7 Compiler Construction Tools
37. Briefly explain the compiler construction tools. May 04,
May 07 6
TB 1 12
May 17 16
Dec 17
38. Write short notes on compiler construction tools. May 08
May 13 8
TB 1 12
Nov 14 6
Dec 16
39. What are the compiler construction tools? Nov 04 TB 1 12 2
40. List the various compiler construction tools. Dec 16 TB1 2
41. Describe in detail about any three compiler construction tools. May 07 TB 1 12 6
42. Define the following terms: compiler, interpreter, Translator
May 14 TB 1 12 6
and differentiate between them.
TLP No.8 Programming Language basics
43. Explain the relationship between the syntax of the
- 8
programming language and the compilation.
44. List the rules that form the BASIS. Dec 16 TB 1 2

Prepared by: Nancy Priya S

Completion Verified by Concerned Dept.


Signature of Faculty Completion Verified by Dept. HOD
HOD

Sign Sign Sign

dd/mm/yy dd/mm/yy dd/mm/yy

Pilivalam P.O, Pudukkottai Dt., Tamil Nadu. Pin - 622 507, Fax: 04333 – 277125, Ph: 04322 - 320801, 320802, Website: www.mzcet.in, Email: info@mzcet.in
Page 2 of 2

Você também pode gostar