Back to the 2025 paper

Module 2 : Syntax Analysis (Parser)

20257m

Describe the working of LL(1) parser. Draw the LL(1) parsing table for the given grammar:

S→aA∣bBS \rightarrow aA \mid bB
A→aA \rightarrow a
B→bB \rightarrow b

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.