Discussion
A single token of lookahead is insufficient for a grammar in which
Answer: D
Left factoring fixes this when the shared prefix is a fixed string of symbols. When the shared prefix can be arbitrarily long, no amount of factoring makes the grammar LL(1). Such constructs are exactly where the top down approach reaches its limit.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development