Discuss Recursive definition. Also define the language Ldefined by the following recursive definition over ∑ = {a, b}: ^ ∈ L; For every x ∈ L, xa, bx, and abx are in L; Nothing else is in L.
[3 marks]Let relation R = {(a,b) : a + b = 10 and a, b ∈ N}. Decide whether Ris an equivalence relation or not. Justify your answer with proper reason.
[4 marks]Using the principle of mathematical induction, for all n > 0, prove that, n (n+1) (4n−1) 1×2+3 ×4+5 ×6 + .....+ (2n−1) ×2n =3
[7 marks]Write regular expressions for the following languages defined over ∑ = {0, 1}:
[3 marks]The language of all the strings that do not end with 01. (ii) The language of all the strings containing even number of 0’s and even number of 1’s.
[ marks]Draw DFA for the following languages defined over ∑ = {a, b}:
[4 marks]The language of all the strings with next-to-last symbol is a. (ii) The language of all the strings containing substring bba.
[ marks]Convert the following NFA into its equivalent DFA using the subset construction.
[7 marks]Prove that the context-free languages are closed under union.
[3 marks]For the following CFG, find out two left most derivations for the string “aaabb” and also draw the corresponding parse trees. S → XY X → XX | a Y → YY | b
[4 marks]Define CNF. Also convert the following CFG into its equivalent CNF. S → aX | Y | bab X → ^ | Y Y → bb | bXb
[7 marks]What language over {a, b}* does the CFG with productions S → aT | bT T → aS | bS | ^ generate? Prove your answer.1
[3 marks]Let Mand Mbe the FAs pictured in Fig. (i) and Fig. (ii) accept the languages12 Land L , respectively.12 Fig. (i) Fig. (ii) Draw FAs accepting the following languages:
[4 marks]L ∪L12 (ii) L′2
[ marks]Find context-free grammar generating the languages below.
[7 marks]{aibjck | j = i or j = k} (ii) {aibjck | j ≠ i + k}
[ marks]Define - A Pushdown Automaton and acceptance by a PDA.
[3 marks]Convert the CFG with following productions into its equivalent PDA. S → [S] | SS | ^
[4 marks]Design a PDA to accept L = {wcwR | w ∈ (a,b)*}.
[7 marks]Discuss pumping lemma for context free languages.
[3 marks]Define bijection. Decide and justify whether the function f : N → Ndefined by f(n) = n2 is bijection or not.
[4 marks]Design a PDA to accept L = {xcy | x, y∈ (a,b)* and |x| = |y|}.
[7 marks]Discuss - recursively enumerable languages.
[3 marks]Discuss - universal Turing machine.
[4 marks]Draw Turing machine for L = {xx | x ∈ {a, b}*}. Also trace out the same on input string aba.
[7 marks]Discuss chomsky hierarchy.
[3 marks]Discuss primitive recursive function using proper example.
[4 marks]Draw Turing machine to accept language L = {x ∈ {a, b}* | x ends with aba}. Also trace out the same on input string aba.
[7 marks]