MCQ quiz on Compiler Design multiple choice questions and answers on compiler design MCQ questions quiz on compiler design objectives questions with answer test pdf.

Compiler Design MCQ Questions and Answers Quiz

1. How many parts of compiler are there?

  1. 1
  2. 2
  3. 4
  4. 8

2. What is the output of lexical analyzer?

  1. A parse tree
  2. A list of tokens
  3. Intermediate code
  4. Machine code

3. Three address code invloves

  1. exactly 3 address
  2. at the most 3 address
  3. no unary operators
  4. none of these

4. When a computer is first turned on or resrarted, a special type of absolute loader is executed called

  1. Compile and GO loader
  2. Boot loader
  3. Boot strap loader
  4. Relating loader

5. When is the type checking usually done?

  1. During syntax directed translation
  2. During lexical analysis
  3. During code optimization
  4. During syntax analysis

6. In a compiler, when is the keyboards of a language are recognized?

  1. During the lexical analysis of a program
  2. During parsing of the program
  3. During the code generation
  4. During the data flow analysis

7. Scissoring enables

  1. a part of data to be displayed
  2. entire data to be displayed
  3. full data display on full area of screen
  4. no data to be displayed

8. The graph that shows basic blocks and their successor relationship is called

  1. DAG
  2. Flow graph
  3. control graph
  4. Hamiltonion graph

9. Which of the following groups is/are token together into semantic structures?

  1. Syntax analyzer
  2. Intermediate code generation
  3. Lexical analyzer
  4. Semantic analyzer

10. Relocation bits used by relocating loader are specified by

  1. relocating loader itself
  2. linker
  3. assembler
  4. macro processor

MCQ Multiple Choice Questions and Answers on Compiler Design

Compiler Design Question and Answer