Multiple Choice
The grammar whose productions are
Is ambiguous because
A- the sentence if a then if b then c:= d has two parse trees
B- the left most and right most derivations of the sentence if a then if b then c:= d give rise to different parse trees
C- the sentence if a then if b then c:= d else c:= f has more than two parse trees
D- the sentence if a then if b then c:= d else c:= f has two parse trees
A) a
B) b
C) c
D) d
Correct Answer:

Verified
Correct Answer:
Verified
Q10: A language L allows declaration of arrays
Q11: Which of the following grammar rules violate
Q12: Which is True about SR and RR-conflict:<br>A)If
Q13: Consider the grammar shown below S ?
Q14: Which of the following macros can put
Q16: Which of the following is essential for
Q17: Consider the following grammars<br>(S<sub>1</sub>) :<br>A --> aBCD<br>B
Q18: Consider the translation scheme shown below<br>S ?
Q19: A linker reads four modules whose lengths
Q20: Which one of the following is FALSE?<br>A)A