Back to the 2022 paper
Similar questions
Formal Language & Automata TheoryDesign a turing machine that accepts all palindromes over \Sigma = \{a, b\}.20207mFORMAL LANGUAGE & AUTOMATA THEORYDesign an NPDA (empty stack and final state acceptance) for: L = \{\text{palindromes over } \{a,b\}\}20227mFORMAL LANGUAGE & AUTOMATA THEORYDesign a context-free grammar (CFG) that generates all palindromes over the alphabet {0, 1}. The grammar should generate both even-length palindromes (e.g., 0110) and odd-length palindromes (e.g., 010).20257mFORMAL LANGUAGE & AUTOMATA THEORYDesign a Turing Machine that enumerates all strings over {a, b} in lexicographic order. Explain the working of the machine.20257m
PreviousConvert the CFG to GNF: S \to AB \mid BC \\ A \to aB \mid bA \mid a \\ B \to bB \mid cC \mid b \\ C \to cNextExplain the Myhill–Nerode theorem for minimization of automata with an example.
Official AppAndroid App
PYQDeck for Android
Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.