Compiler Design Multiple Choice Questions and Answers - 2

Question: 6

An optimizing compiler

(A) Is optimized to occupy less space

(B) Optimized the code

(C) Is optimized to take less time for execution

(D) None of these

Ans: B

Optimized the code

Question: 7

A compiler for a high level language that runs on one machine and produce code for different machine is called

(A) One pass compiler

(B) multipass compiler

(C) croos compiler

(D) optimizing compiler

Ans: C

croos compiler

Question: 8

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

(A) Hamiltonian graph

(B) Control graph

(C) Flow graph

(D) DAG

Ans: C

Flow graph

Question: 9

_____  constructs the desired target program from the intermediate representation of the source program.

(A) Analysis part

(B) Lexical part

(C) Synthesis part

(D) None of these

Ans: C

Synthesis part

Question: 10

What is the name of the process that determining whether of tokens can be generated by a grammar?

(A) Analysing

(B) Parsing

(C) Translating

(D) Recognizing

Ans: B

Parsing

Error Report!

Related Questions