GATEverse Practice, past papers & mock tests
GATE 2016 · CS1 - Forenoon
Theory of ComputationPush Down Automata: CFL & DCFLmediumMCQ2 marks
Consider the following grammars. \[ \begin{aligned} G_1 &: S \to aS \mid B, \quad B \to b \mid bB \\ G_2 &: S \to aA \mid bB, \quad A \to aA \mid B \mid \varepsilon, \quad B \to bB \mid \varepsilon \end{aligned} \] Which pair of languages is generated by \(G_1\) and \(G_2\), respectively?
Save your progress

Related Theory of Computation PYQs