Compiler Design | Mock Test
Question 1
The run time environment represents recursive call as Activation Record
Select one:
a. True
b. False
Question 2
the statement followed by a conditional jump is a leader
Select one:
a. False
b. True
Question 3
LR parser is an example for Top – down design for parser
Select one:
a. False
b. True
Question 4
The linux command grep stands
Select one:
a. none of the above
b. global regular execute pattern
c. gedit row edit print
d. globally search a regular expression and print
Question 5
Parsing is also Known as:
Select one:
a. Code generation
b. Syntax Analysis
c. Lexical Analysis
d. Semantic Analysis
Question 6
FOLLOW set is computed for only non-terminals/variables
Select one:
a. False
b. True
Question 7
predictive parser can be
Select one:
a. Recursive and constructive
b. Non Recursive
c. Constructive
d. Recursive
Question 8
Control Flow Graph uses stack based address format
Select one:
a. True
b. False
Question 9
In DAG form of the Abstract Syntax Tree the common sub-expressions are
eliminated
Select one:
a. False
b. True
Question 10
In a two pass assembler the object code generation is done during the ?
Select one:
a. None of these
b. Second pass
c. First pass
d. Zeroed Pass