The Gateway to Computer Science Excellence
+1 vote
201 views

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.

in Compiler Design by
edited by | 201 views
0
Yes i am also getting both !
LL(1) because no left recursion no left factoring no ambiguity no conflict and DFA is also fine so both is correct.
0
sorry my bad it is LL(1) and LR(0).
0
which state has conflict?
0
i am also getting option (b).
0
Thanks all for the reply. I think the answer provided is incorrect as we all are getting the same answer.

1 Answer

0 votes

option A It is LL(1) but not LR (0) 

https://gateoverflow.in/196402/grammar-ll-1-lr-0

by Junior

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,217 questions
59,907 answers
201,098 comments
118,144 users