edited by
330 views

1 Answer

Best answer
4 votes
4 votes
C seems more appropriate Looking ahead $"a"$ so $S  \rightarrow Aa$ will take care and looking ahead "$b$"$A  \rightarrow Ab$ will take care.
Drawing DFA productions will be like :
$S' \rightarrow.S ,\$\\ S\rightarrow.Aa,\$\\A\rightarrow .Ab,a/b\\A\rightarrow .c,a/b$
selected by

Related questions

0 votes
0 votes
1 answer
1
Aibi asked Sep 22, 2017
729 views
S - AaA - AbA - cWhich of the following item is present in LR(1) item with S' - .S, $\$$ ?A) A - .Ab, $\$$B) A - .c, $\$$C) A - .Ab, a/bD) None
8 votes
8 votes
2 answers
2
0 votes
0 votes
2 answers
3