retagged by
210 views

2 Answers

Best answer
0 votes
0 votes
1- {b,c,d}

2- {a,c,d}

For follow start from beginning RHS and see what is next to it if any terminal write /if non terminal write that non terminal first /if nothing found follow parent
0 votes
0 votes
  • $follow(A)=first(b)\cup first(c)\cup first(d)=(b,c,d)$
  • $follow(B)=first(B) \cup first(a)=(c,d,a)$

Related questions

0 votes
0 votes
1 answer
1
srestha asked Dec 24, 2017
354 views
Find Follow of F :$E\rightarrow E+T | T$$T\rightarrow T*F | F$$ F\rightarrow \left ( E \right ) |id$
2 votes
2 votes
1 answer
2
1 votes
1 votes
1 answer
3
2 votes
2 votes
2 answers
4
learner_geek asked Aug 1, 2017
225 views
Please give detailed explanation.