retagged by
624 views

2 Answers

Best answer
3 votes
3 votes

Grammar is ambigous if it generate two parse tree for any string derived from grammar . here only ab is derive whic is only one derivation tree. So not ambigous.

selected by
Answer:

Related questions

1 votes
1 votes
1 answer
1
learner_geek asked Aug 2, 2017
561 views
If i am wrong please let me correct with giving proper explanation.
2 votes
2 votes
3 answers
2
Rahul Ranjan 1 asked May 28, 2018
1,445 views
If a grammar( $CFG$ ) has more than one Right most derivation, Can it be called ambiguous ?Or we say a grammar is ambiguous only when it has more than one left most deriv...
0 votes
0 votes
1 answer
3
Nikhil Patil asked Feb 7, 2018
356 views
$G: S\rightarrow SbS\mid a$Grammars are ambiguous True/False.
0 votes
0 votes
1 answer
4
Sanket_ asked Nov 10, 2016
354 views
which is false?a) An unambiguous grammar has same RMD for every sentence.b)An ambiguous grammar may have an infinite no. of derivation trees for some sentences in the la...