edited by
277 views
1 votes
1 votes

Consider the following grammar G:

The grammar G is

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)

Here B should be correct option?

edited by

Please log in or register to answer this question.

Related questions

1 votes
1 votes
0 answers
2
muthu kumar asked Nov 15, 2018
538 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,583 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
412 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 ...