What are the closure properties of regular languages?
[3 marks]Explain reflexivity, symmetry, and transitivity properties of relations.
[4 marks]Using principle of Mathematical Induction, prove that for every n >= 1, 7 + 13 + 19 + …. + (6n + 1) = n(3n + 4) Using Principle of Mathematical Induction, prove that for every n
[7 marks]D>e=ri v1e, the string “aabbababbaa“ using leftmost derivation for the fo7l l+o w13in +g 1g9ra +m .m . a. r+. (6n + 1) = n(3n +4) S aA | bC | b A U si nagS P| briBnc iple of Mathematical Induction, prove that for every n B> = 1 a, C | bA | a C7 + 1a3B +| b1S9 + . . . + (6n + 1) = n(3n +4)
[3 marks]Write Regular Expressions for following (i )UsTihneg lParnignuciapglee ooff aMlla stthreinmgast iicna {l 0In,1d}u*c ttihoant ,d por onvoet ethnadt for every n > = w 1i,t h 11. (i7i) + T 1h3e +la n1g9u +a g. e. o. f+ a(l6l ns t+ri n1g) s= c no(n3tnai +ni4n)g both 101 and 010 as substrings.
[4 marks]Consider the NFA-Λ depicted in following table Λ a b c p Φ {p} {q} {r} q {p} {q} {r} Φ *r {q} {r} Φ {p}
[7 marks]Compute the Λ-closure of each state. (ii) Convert the NFA-Λ to a DFA.
[ marks]Draw FA for following languages: L1 = {w | 00 is not substring of w} L2 = {w | w ends in 01} Find FA accepting languages (i)L1 U L2 and (ii)L1 ∩ L2
[7 marks]Define Bounded Minimalization.
[3 marks]Find the CFG for the regular expression : (011+1)∗ (01)∗
[4 marks]Convert the following CFG into CNF. S → bA | aB A → bAA | aS | a B → aBB | bS | b
[7 marks]Define Primitive Recursive Functions.
[3 marks]Prove that following CFG is Ambiguous. S S + S | S * S | (S) | a
[4 marks]Find CFG for following language: L = { 0i 1j 0k / j > i + k }
[7 marks]Define Pushdown Automata.
[3 marks]Construct a PDA equivalent to the following CFG. S 0BB B 0S | 1S | 0
[4 marks]Design the pushdown automata for language {0n1n|n≥ 0}.
[7 marks]Suppose the PDA M = ({q , q }, {a, b, c}, {a, b, Z }, δ, q , Z , {q }) has the following transition function. 1. δ(q , a, Λ) = (q , a)00 2. δ(q , b, Λ) = (q , b)00 3. δ(q , c, Λ) = (q , Λ)01 4. δ(q , a, a) = (q , Λ)11 5. δ(q , b, b) = (q , Λ)11 Show the acceptance of abbcbba by the above PDA.
[3 marks]Prove that L = {anbncn | n ≥ 1} is not a CFL.
[4 marks]Design deterministic PDA accepting strings with more a’s than b’s.
[7 marks]Enlist limitations of Turing machines.
[3 marks]Write a short note on Halting problem.
[4 marks]Design a Turing machine to reverse the string over alphabet {0, 1}.
[7 marks]Discuss Universal Turing Machine.
[3 marks]Write a short note on Church-Turing Thesis.
[4 marks]Draw a transition diagram for a Turing machine for the language of all palindromes over {a, b}.
[7 marks]