Solve any one question from Q.1(a,b,c) &Q.2(a,b,c)
1(a)
Prove or disprove the given regular expression i)(r∗s∗)=(r+s)∗ii)s(rs+s)∗r=rr∗(rr∗s)∗r
6 M
1(b)
Define Pumping Lemma and apply it to prove the following L{0m1n0m+n|m>=1 and n>=1}/
6 M
1(c)
What is the ambiguous grammar? Show that the grammar below is ambiguous, find the equivalent un ambiguous grammar.i)s→ss|a|bii)s→ABA,A→aAb | ϵ,B→ bB
8 M
2(a)
State Principle of Mathematical Induction and apply it to Show that 1+4+7+....(3n−2)=n(3n−1)/2 for n>0
6 M
2(b)
Construct of NFA that accepts the set of strings in(0+1)* such that some two 0's are Separated by string whose length is 4i, for some i>-0.
6 M
2(c)
Find an equivalent left linear grammar for the given right linear grammar i)S→bB|b,B→bC|aB|b,C→aii)S→0A|1B,A→0C|1A|0,B→1B|1A|1,C→0|0A
8 M
Solve any one question from Q.3(a,b) &Q.4(a,b)
3(a)
What is Turing Machine? Give the formal definition of TM. Design a TM to compute multiplicationof two unary numbers.
9 M
3(b)
What are the different ways for extension of TM? Explain. Construct a two tape TM to convert input W into WWR
9 M
4(a)
Write short note on:
i) Recursively Enumerable Languages.
ii) Halting Problem of Turing Machine.
i) Recursively Enumerable Languages.
ii) Halting Problem of Turing Machine.
8 M
4(b)
What is a post machine? Give formal definition of Post machine. Construct a Post machine for Accepting strings having odd length and a or b as centre element.
10 M
Solve any one question from Q.5(a,b) &Q.6(a,b)
5(a)
Construct a PDA that accepts the language generated by grammar. i)S→0S1|A,A→1A0|S|εii)S→aABB|aAA,A→aBB|a,B→bAA|A
8 M
5(b)
Obtain the CFG equivalent to PDA given by the transition function.δ(q0,a,z0)={q0az0} δ(q0,a,a)={q0aa}δ(q0,b,a)={q1ε} δ(q1b,a)={q1ε}δ(qqε,z0)={q0z0}
8 M
6(a)
What is a PDA? Construct a PDA that accept L={anbn|n≥1}/ through Final State.
8 M
6(b)
What is NPDA? Construct a NPDA for the set of all strings over {a, b} with odd length palindrome.
8 M
Solve any one question from Q.7(a,b) &Q.8(a,b)
7(a)
What is Kruskal's ? How can we solve this problem using Turing Machine?
8 M
7(b)
What do you mean by Polynomial Time Reduction? Explain with suitable example.
8 M
8(a)
What do you mean by NP-Problems? Justify why the Travelling Sales man problem is a NP-Problem.
8 M
8(b)
What is Clique Problem? Show that it is a NP-Complete problem.
8 M
More question papers from Theory of Computation