edited by
540 views
1 votes
1 votes

Options given 

A. LL (1) grammar and not LR (0)

B. LL (1) and LR (0)

C. Not LL (1) but LR (0)

D. Neither LL (1) nor LR (0)

Answer given is option D.

I believe answer should be option (B).

Please help.

edited by

1 Answer

Related questions

1 votes
1 votes
0 answers
2
muthu kumar asked Nov 15, 2018
518 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,547 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
396 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 ...