0 votes 0 votes S→ SABC A→ aAd/ϵ B→ bB/ϵ C→ Cc/Be/ϵ Number of elements in the follow(S) are __________ Shadan Karim asked Dec 29, 2018 Shadan Karim 503 views answer comment Share Follow See all 9 Comments See all 9 9 Comments reply Show 6 previous comments Shadan Karim commented Dec 30, 2018 reply Follow Share @Gupta731 , yes 5 is the answer given, how c and e will be present, explain. 0 votes 0 votes Gupta731 commented Dec 30, 2018 reply Follow Share Follow(S) is dollar and also Follow(S) is first(A) Now, First(A) is {a,ϵ} $\rightarrow$ here we got a If ϵ from First(A) is put into the first production, Follow(S) will be First(B) which is {b,ϵ} $\rightarrow$ here we got b If ϵ from First(B) is put into the first production Follow(S) is First(C) which is First of $Cc$ and First of $Be$ First (C) is also ϵ so from Cc we get c First(B) is also ϵ so from Be we get e 2 votes 2 votes Hira Thakur commented Aug 25, 2019 reply Follow Share for above grammar what is first(S)?? 0 votes 0 votes Please log in or register to add a comment.