Back to the 2022 paper

Module 2: Context-Free Languages (CFL) and PDA

20227m

Construct FOLLOW sets for the grammar:

E→TE′E′→+ T E′∣εT→FT′T′→− F T′∣εF→(E)∣id E \to T E' \\ E' \to +\,T\,E' \mid \varepsilon \\ T \to F T' \\ T' \to -\,F\,T' \mid \varepsilon \\ F \to (E) \mid id

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.