Top 150+ Compiler Design MCQ Questions and Answers - 1

Question: 1

A compiler which allows only the modified section of the source code to be recompiled is called

(A) Subjective compiler

(B) Dynamic compiler

(C) Re-configurable compiler

(D) Incremental compiler

Ans: D

Incremental compiler

Question: 2

A compiler is preferable to an interpreter because

(A) Debugging can be faster and easier

(B) If one changes a statement, only that statement needs re-compilation

(C) It is much helpful in the initial stages of program development

(D) It can generate stand alone programs that often take less time for execution

Ans: D

It can generate stand alone programs that often take less time for execution

Question: 3

Which of the following symbol table implementation has the minimum access time?

(A) Self-organizing list

(B) Linear

(C) Search tree

(D) Hash table

Ans: D

Hash table

Question: 4

A top-down parser generates

(A) Left-most derivation in reverse

(B) Left-most derivation

(C) Right-most derivation in reverse

(D) Right –most derivation

Ans: B

Left-most derivation

Question: 5

Which of the following parsers is the most powerful?

(A) SLR

(B) LALR

(C) Canonical LR

(D) Operator-precedence

Ans: C

Canonical LR

Error Report!

Related Questions
Recent Articles
Trending Posts

REGISTER TO GET FREE UPDATES