The Gateway to Computer Science Excellence
+1 vote
162 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 (181 points)
edited by | 162 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 (687 points)

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
50,666 questions
56,136 answers
193,696 comments
93,475 users