edited by
2,215 views
1 votes
1 votes

Let 'x', 'y', 'z' and 'u' represents the number of entries in rows of Non-terminals 'S', 'A', 'B' and 'C' respectively. The value of x + y + z + u is ______ .

edited by

3 Answers

1 votes
1 votes

I got 16 but in answer key its 18. I think I am correct.

 

0 votes
0 votes
how this grammer is LL(1)..

it is having left recursive production(B-->Bb)

Related questions

1 votes
1 votes
0 answers
2
muthu kumar asked Nov 15, 2018
516 views
The answer is only S2. Why not both s2 and s3..Someone explain this plz..
4 votes
4 votes
0 answers
3
Mizuki asked Aug 19, 2018
2,545 views
Consider the following grammar which is not LL(1) because LL(1) table contain multiple entry for same production.The number of entries have multiple productions in LL(1) ...
0 votes
0 votes
0 answers
4
syncronizing asked Jun 12, 2018
395 views
Let G be a grammar with the following productions:If LR(1) parser is used to construct the DFA using the above productions, then how many look-a-heads are present for an ...