// Anna University, Chennai / 2019
Anna University — Theory of Computation (CS6503), April/May 2019
Theory of Computation · CS6503 · R2013 · B.E. Computer Science and Engineering
Files open in a new tab. Use your browser's download or save option to keep a copy.
Work through the questions
16 questions
No verified answers are available for this paper.
Construct Finite Automata for the regular expression : (a|b)* abb.
No verified answer or solution is available for this question.
Prove that L = {0ⁿ1ⁿ | n >= 1} is not a regular language.
No verified answer or solution is available for this question.
What is ambiguous grammar? Give example.
No verified answer or solution is available for this question.
Find an unambiguous grammar for the following grammar : E → E+E | E*E | (E) | id.
No verified answer or solution is available for this question.
Define Push Down Automata (PDA).
No verified answer or solution is available for this question.
What is meant by Instantaneous Description for a PDA.
No verified answer or solution is available for this question.
What is recursive enumerable language? Give example.
No verified answer or solution is available for this question.
Write the applications of Turing Machine.
No verified answer or solution is available for this question.
What is unsolvable problem? Give example.
No verified answer or solution is available for this question.
What is Primitive Recursive Function? Give example.
No verified answer or solution is available for this question.
(a) Construct E-NFA for the regular expression (01|10)*101 and convert it into DFA. (13) (OR) (b) Elaborate the steps to convert the DFA into Regular expression with suitable example. (13)
No verified answer or solution is available for this question.
(a) (i) Convert the following CFG into Griebach Normal Form: (10) X1 → X2X3 X2 → X3X1 | b X3 → X1X2 | a (ii) Remove ∈ - production from the following grammar (3) S → ASA | aB | b, A → B, B → b | ∈. (OR) (b) (i) Write short notes on Chomsky hierarchy of grammar. (5) (ii) Convert the following grammar in to CNF: (5) S → bA | aB A → bAA | aS | a B → aBB | bS | b (iii) Eliminate left recursion for the following grammar : (3) A → A+B | A*B | B | a
No verified answer or solution is available for this question.
(a) (i) Construct PDA for L = {aⁿbⁿ | n >= 0}. (6) (ii) Construct PDA for L = {w ∈ (a|b)* | where 'w' is a PALINDROME}. (7) (OR) (b) (i) Construct PDA for L = {0ⁿ 1ᵐ 2ⁿ⁺ᵐ | where n, m >= 1}. (6) (ii) Illustrate the equivalence between PDA and CFL with example. (7)
No verified answer or solution is available for this question.
(a) Discuss about the techniques for constructing the various types of Turing Machine. (13) (OR) (b) (i) Construct Turing Machine for L = {w ∈ (a|b)* | where 'w' is a PALINDROME}. (8) (ii) Construct Turing Machine for L = {1ⁿ 2ⁿ 3ⁿ | where n >= 1}. (5)
No verified answer or solution is available for this question.
(a) (i) Explain in detail about the various properties of recursive and recursive enumerable languages. (8) (ii) How does a primitive recursive function help to identify computable function. (5) (OR) (b) Describe in detail about NP-Hard and NP-Complete problems with example. (13)
No verified answer or solution is available for this question.
(a) (i) Construct Turing machine for language over the input alphabet Σ = {a,b} to shift the input symbol two positions left. (5) (ii) Analyze and brief the concept of tractable and intractable problems. (10) (OR) (b) (i) State and prove the pumping lemma for CFL. (7) (ii) Write an algorithm for minimization of DFA. (8)
No verified answer or solution is available for this question.