Which of the following is not a requirment for LL(1) grammer ?
A
If A →α|β are two productions, then First (α) and FIRST (β) are
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Unambigulty
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
All of these
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
No left recursion
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C All of these LL(1) grammer are free from left recursion, ambigulty left factoring.
So option (a), (b), and (c) are the pre requisite to be LL(1) grammer.