Recent questions tagged ambiguous-grammar

1 votes
1 answer
2
Natural language constructs are(A) Unambiguous (B) Ambiguous (C) May be unambiguous or ambiguous (D) None of the other options
0 votes
1 answer
5
0 votes
1 answer
7
1 votes
1 answer
8
S->ABA->aB->bthis grammar is ambiguous or not.Q2; is it true that the number of left most derivation tree is always equal to number of right most derivation tree.?
2 votes
3 answers
10
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
5 answers
11
Total number of Handles for $(w=aa)$ in the following grammar ?$S\rightarrow DT$$D\rightarrow aa$$T\rightarrow \epsilon$
0 votes
1 answer
12
0 votes
1 answer
13
$E→E−T ∣ T$$T→T/F ∣ F$$F→(E) ∣ id$(E is the start symbol)This grammar is unambiguous but shouldn't it be ambiguous because it has left recursion?
0 votes
2 answers
14
The productionsE - E+E | E-E | E*E | ida:) generates inherently ambiguous languagesb:) generates and ambiguous languagec:) is an ambiguous grammerd) none of these
1 votes
1 answer
15
Is this statement true:-If Grammar is unambiguous must be LL(1) if not LL(1) it does not mean ambiguous.
2 votes
1 answer
16
Is this grammar ambiguous?S >SxA|AA >AyB|BB >zB|(S)|m|nI cant prove it ambiguos.As this grammar is not in LR(1) it may or may not be ambiguous.
2 votes
2 answers
17
2 votes
1 answer
18
1 votes
1 answer
19
A Grammar which is only left recursive or right recursive can be ambiguous grammar???Or it should have both left recursive and right recursive to be ambiguous???
1 votes
1 answer
20
1 votes
1 answer
21