CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider the following grammar:
SSABC
AaAd|ϵ
BbB|ϵ
CCc|Be|ϵ
Variables S, A, B, C are non-terminals and a, b, c, d, e are terminals.
What is the number of elements in FOLLOW(S)?

A
2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
5
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon