edited by
606 views
0 votes
0 votes

I think follow(A) is given wrong. I am getting

follow(A) = {first (B), follow(S)} = {e, $}

edited by

2 Answers

0 votes
0 votes
S-> ABA is a single production for S row and B->eA is single production for A row. So there is no multiple entries in S and A row.

A -> dA  enters at d column of A row and  A->Bc production enters at e column of A row.
A ->Ɛ enters at Follow(A)= {c, d, e $}

A ->Ɛ and A -> dA are in d column. and A->Ɛ and A->Bc are in e column.

Related questions


Deprecated: Implicit conversion from float-string "1542375259.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 796

Deprecated: Implicit conversion from float-string "1542375259.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 801

Deprecated: Implicit conversion from float-string "1542375259.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 802

Deprecated: Implicit conversion from float-string "1542375259.518" to int loses precision in /var/www/html/qadb/qa-include/app/format.php on line 803
609
views
0 answers
0 votes
486
views
1 answers
0 votes
518
views
1 answers
0 votes
402
views
1 answers
0 votes
focus _GATE asked Jan 11, 2017
402 views