retagged by
1,221 views

1 Answer

Best answer
6 votes
6 votes
ambiguous CFG

null can be generated by more than one parse tree

EX.  S → €

S →SS  →€
selected by
Answer:

Related questions

2 votes
2 votes
4 answers
2
admin asked Mar 30, 2020
8,805 views
Which of the following is machine independent optimization?Loop optimizationRedundancy EliminationFoldingAll of the option
2 votes
2 votes
1 answer
3
admin asked Mar 30, 2020
2,793 views
Which of the following statements is/are false?$S1$: $LR(0)$ grammar and $SLR(1)$ grammar are equivalent$S2$: $LR(1)$ grammar are subset of $LALR(1)$ grammars$S1$ only$S1...
1 votes
1 votes
1 answer
4
admin asked Mar 30, 2020
1,741 views
The optimization phase in a compiler generallyReduces the space of the codeOptimizes the code to reduce execution timeBoth (A) and (B)Neither (A) nor (B)