Read the following grammar:
$S \rightarrow Ka \mid bKc \mid dc \mid bda$ $K \rightarrow d$
This grammar is NOT:
see the first example
http://people.cs.vt.edu/~ryder/515/f05/homework/hw1ans.pdf
Follow of $K$ contains $c$, hence it is not $SLR(1)$.
$\therefore$ given grammar is not SLR(1).
$[Closure]$ on $d$ would have $K\rightarrow d.$ and $S\rightarrow d.c$
So, there's one final item (reduce move/handle) and one shift move possible on c.
=> SR conflict for LR(0)
Check $Follow(K)$. It has c.
=> SR conflict for SLR(1), too.
Option B
64.3k questions
77.9k answers
244k comments
80.0k users