Categories
Important question

Compiler Design Important questions CS6660 Regulation 2013 Anna University

Compiler Design Important questions CS6660 

Compiler Design Important questions CS6660 Regulation 2013 Anna University free download. CS6660 Important questions Regulation 2013 pdf free download.

Sample Compiler Design Important questions:

1. Define compiler?

A compiler is a program that reads a program written in one language (source language) and translates it into an equivalent program in another language (target language) and the compiler reports to its user the presence of errors in the source program.

2. What are the classifications of compiler?

 Single pass compiler
 Multi pass compiler
 Load-and-go compiler
 Debugging or optimizing compiler

3. What are the phases of compiler?

 Lexical analyzer
 Syntax analyzer
 Semantic analyzer
 Intermediate code generation
 Code generation
 Code optimization
 Symbol table manager.

4. Define preprocessor & what are the functions of preprocessor?

Preprocessor produce input to the compilers (i.e.) the program will be divided in to the modules. They may perform the following functions.
 Macro processing
 File inclusion
 Rational preprocessor
 Language extension

5. What are the tools available in analysis phase?

 Structure editors
 Pretty printer
 Static checkers
 Interpreters.

6. Define pretty printers?

A pretty printer analyzes a program and prints it in such a way that the structure of the program becomes clearly visible. For the comments may appear with an amount of indentation proportional to the depth of their nesting in the hierarchical organization of the statement.

7. Define assembler and its types?

It is defined by the low level language is assembly language and high level language is machine language is called assembler.
 One pass assembler
 Two pass assembler

Subject Name Compiler Design
Subject code CS6660
Regulation 2013

CS6660 Important questions click here to download

Compiler Design Syllabus


CS6660 Notes


Compiler Design Question bank

Leave a Reply

Your email address will not be published. Required fields are marked *