6 1154 81546 - Compiler Construction 81546
6 1154 81546 - Compiler Construction 81546
27
[7x2=14]
a)Peephole optimization is a form of
i. Loop optimization
ii. Local optimization
iii. Constant folding
iv. Data flow analysis
66
b)A bottom up parser generates _______.
i. Right most derivations
ii. Right most derivations in reverse
iii. Leftmost derivations
iv. Leftmost derivations in reverse
25
c)The graph that shows basic blocks and their successor relationship is called
i. DAG
ii. Flow graph
iii. Control graph
iv. Hamiltonion graph
f)A compiler for high level language that runs on one machine and produce code for
a different machine is called
i. Optimizing compiler
ii. One pass compiler
iii. Cross compiler
iv. Multipass compiler
27
iii. Semantic stack
iv. Symbol table
[2] P.T.O.
QP-343
***
27
66
25
[3]