Skip to content

// 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.

  1. Question 1

    Part ADescriptive2 marks

    Theory of Computation

    Construct Finite Automata for the regular expression : (a|b)* abb.

    No verified answer or solution is available for this question.

  2. Question 2

    Part ADescriptive2 marks

    Theory of Computation

    Prove that L = {0ⁿ1ⁿ | n >= 1} is not a regular language.

    No verified answer or solution is available for this question.

  3. Question 3

    Part ADescriptive2 marks

    Theory of Computation

    What is ambiguous grammar? Give example.

    No verified answer or solution is available for this question.

  4. Question 4

    Part ADescriptive2 marks

    Theory of Computation

    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.

  5. Question 5

    Part ADescriptive2 marks

    Theory of Computation

    Define Push Down Automata (PDA).

    No verified answer or solution is available for this question.

  6. Question 6

    Part ADescriptive2 marks

    Theory of Computation

    What is meant by Instantaneous Description for a PDA.

    No verified answer or solution is available for this question.

  7. Question 7

    Part ADescriptive2 marks

    Theory of Computation

    What is recursive enumerable language? Give example.

    No verified answer or solution is available for this question.

  8. Question 8

    Part ADescriptive2 marks

    Theory of Computation

    Write the applications of Turing Machine.

    No verified answer or solution is available for this question.

  9. Question 9

    Part ADescriptive2 marks

    Theory of Computation

    What is unsolvable problem? Give example.

    No verified answer or solution is available for this question.

  10. Question 10

    Part ADescriptive2 marks

    Theory of Computation

    What is Primitive Recursive Function? Give example.

    No verified answer or solution is available for this question.

  11. Question 11

    Part BDescriptive13 marks

    Theory of Computation

    (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.

  12. Question 12

    Part BDescriptive13 marks

    Theory of Computation

    (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.

  13. Question 13

    Part BDescriptive13 marks

    Theory of Computation

    (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.

  14. Question 14

    Part BDescriptive13 marks

    Theory of Computation

    (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.

  15. Question 15

    Part BDescriptive13 marks

    Theory of Computation

    (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.

  16. Question 16

    Part CDescriptive15 marks

    Theory of Computation

    (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.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam