Back to the 2022 paper
Similar questions
Formal Language & Automata TheoryConvert the following context-free grammar into GNF: S \to XY X \to YS \mid b Y \to SX \mid a20197mFORMAL LANGUAGE & AUTOMATA THEORYDefine Chomsky Normal Form. Convert the CFG: S → aSb | ab | Aa A → aab to CNF.20237mFormal Language & Automata TheoryDesign a pushdown automaton for the following context-free grammar: S \to aB \mid bA A \to aS \mid bAA \mid a B \to bS \mid aBB \mid b20207m Compiler DesignChoose the correct answer of the following: To convert an arbitrary CFG to an LL(1) grammar (i) factor the grammar alone (ii) remove left recursion alone (iii) remove left recursion and factor the grammar (iv) None of the above20192m