Compiler Design | Questions and Answers


Compiler Design | Mock Test

Question 1
In X.YZ the . in between represents shift operation
Select one:
a. False
b. True

Feedback
The correct answer is: True
Question 2
FIRST of a terminal is always a terminal
Select one:
a. False
b. True
Feedback
The correct answer is: True
Question 3
LL parser is an example for Bottom – up parser design
Select one:
a. True
b. False
Feedback
The correct answer is: False
Question 4
Classes of languages accepted by NFA and its equivalent DFA are different
Select one:
a. False
b. True
Feedback
The correct answer is: False
Question 5
In XYZ. the . at the end represents reduce operation
Select one:
a. False
b. True
Feedback
The correct answer is: True
Question 6
Yet Another Compiler’s Compiler is a tool for
Select one:
a. code optimization
b. Intermediate code generation
c. Lexical analysis
d. Syntax analysis
Feedback
The correct answer is: Syntax analysis
Question 7
Push – Down Automata is used for parser designs
Select one:
a. False
b. True
Feedback
The correct answer is: True
Question 8
x = y + z is an example for three – address code
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 9
The first and last statements in a Basic block can be leaders
Select one:
a. True
b. False
Feedback
The correct answer is: False
Question 10
The statement followed by an unconditional jump is a leader
Select one:
a. False
b. True
Feedback
The correct answer is: False

Have any Question or Comment?

Leave a Reply

Exciting Offers

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 90 other subscribers

Exciting Offers

Exciting Offers

Exciting Offers

Close
%d bloggers like this: