Skip to content
Related Articles

Related Articles

GATE | GATE 2017 MOCK II | Question 60

View Discussion
Improve Article
Save Article
  • Last Updated : 28 Jun, 2021

Consider the following grammar

S -> Aa | bAc | dc | bda
A -> d

The above grammar is:
(A) Not LALR(1) but SLR(1)
(B) Both LALR(1) and SLR(1)
(C) LALR(1) but not SLR(1)
(D) Neither LALR(1) nor SLR(1)


Answer: (C)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!