Back to the 2021 paper
Similar questions
FORMAL LANGUAGE & AUTOMATA THEORYLet G be a CFG in CNF with b variables. Show that if G derives any string using at least 2^b steps, then L(G) is infinite.20217mFORMAL LANGUAGE & AUTOMATA THEORYGiven the grammar G = (\{S\}, \{a, b\}, P, S) P: S \rightarrow aSb | ab Derive the string aabb using leftmost derivation, rightmost derivation and also draw the parse tree.20257mFormal Language & Automata TheoryUsing Pumping Lemma for CFLs, prove that L = \{a^{n}b^{n}c^{n} \mid n \ge 0\} is not context-free.20257mFormal Language & Automata TheoryAssume that a regular language L is provided to you as a DFA M(\{Q, \Sigma, \delta, q_0, F\}). How would you check whether L is infinite?20197m
PreviousShow that the language L = \{a^{n!} : n \ge 0\} is not regular or not context-free language.NextState and prove pumping lemma for regular sets.
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.