Back to the 2019 paper

Module 2: Context-free languages and pushdown automata

20197m

Convert the following context-free grammar into GNF:
S→XYS \to XY
X→YS∣bX \to YS \mid b
Y→SX∣aY \to SX \mid a

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.