Formal Language & Automata Theory

105503
Back to Formal Language & Automata Theory

Module 4: Turing machines

  1. Q1a. Which of the following statements is/are False? A. For every non-deterministic Turing machine, there exists an equivalent deterministic Turing machine. B. Turing recognizable languages are closed under union and complementation. C. Turing decidable languages are closed under intersection and complementation. D. Turing recognizable languages are closed under union and intersection. (i) A and D only (ii) A and C only (iii) B only (iv) C only20212m

    Module 4: Turing machines

    Which of the following statements is/are False?

    A. For every non-deterministic Turing machine, there exists an equivalent deterministic Turing machine.
    B. Turing recognizable languages are closed under union and complementation.
    C. Turing decidable languages are closed under intersection and complementation.
    D. Turing recognizable languages are closed under union and intersection.

    (i) A and D only
    (ii) A and C only
    (iii) B only
    (iv) C only

    View this question on its own page →
  2. Q1b. Enumerator is a Turing machine with (i) an output printer (ii) 5 input tapes (iii) a stack (iv) None of the above20212m

    Module 4: Turing machines

    Enumerator is a Turing machine with

    (i) an output printer
    (ii) 5 input tapes
    (iii) a stack
    (iv) None of the above

    View this question on its own page →
  3. Q1h. Recursively Enumerable languages are also called (i) Turing Recognizable (ii) Turing Decidable (iii) Regular (iv) Context-Free20252m

    Module 4: Turing machines

    Recursively Enumerable languages are also called

    (i) Turing Recognizable
    (ii) Turing Decidable
    (iii) Regular
    (iv) Context-Free

    View this question on its own page →
  4. Q1j. A language L may not be accepted by a turing machine if (i) it is recursively enumerable (ii) it is recursive (iii) L can be enumerated by some turing machine (iv) None of the above20202m

    Module 4: Turing machines

    A language LL may not be accepted by a turing machine if

    (i) it is recursively enumerable
    (ii) it is recursive
    (iii) LL can be enumerated by some turing machine
    (iv) None of the above

    View this question on its own page →
  5. Q3a. Design a turing machine to compute the sum of two positive integers m and n.20207m

    Module 4: Turing machines

    Design a turing machine to compute the sum of two positive integers mm and nn.

    View this question on its own page →
  6. Q3b. Define recursively enumerable languages. Let L_1 be recursive and L_2 recursively enumerable. Show that L_2 - L_1 is necessarily recursively enumerable.20227m

    Module 4: Turing machines

    Define recursively enumerable languages. Let L1L_1 be recursive and L2L_2 recursively enumerable. Show that L2L1L_2 - L_1 is necessarily recursively enumerable.

    View this question on its own page →
  7. Q4a. Design a Turing machine (TM) to compute n \bmod 2.20217m

    Module 4: Turing machines

    Design a Turing machine (TM) to compute nmod2n \bmod 2.

    View this question on its own page →
  8. Q4b. Explain the multi-tape version of turing machine and its significance.20207m

    Module 4: Turing machines

    Explain the multi-tape version of turing machine and its significance.

    View this question on its own page →
  9. Q6b. Explain the basic model of a Turing Machine with its formal 7-tuple definition.20257m

    Module 4: Turing machines

    Explain the basic model of a Turing Machine with its formal 7-tuple definition.

    View this question on its own page →
  10. Q7a. Design a turing machine that accepts all palindromes over \Sigma = \{a, b\}.20207m

    Module 4: Turing machines

    Design a turing machine that accepts all palindromes over Σ={a,b}\Sigma = \{a, b\}.

    View this question on its own page →
  11. Q7a. Design a Turing Machine that accepts the language L = \{a^{n}b^{n} \mid n \ge 0\}. Show the transition diagram/table and trace for input aabb.20257m

    Module 4: Turing machines

    Design a Turing Machine that accepts the language L={anbnn0}L = \{a^{n}b^{n} \mid n \ge 0\}. Show the transition diagram/table and trace for input aabb.

    View this question on its own page →
  12. Q7b. State and explain the Church-Turing Thesis.20257m

    Module 4: Turing machines

    State and explain the Church-Turing Thesis.

    View this question on its own page →
  13. Q8a. Design a Turing machine to perform 2's compliment operation on binary string.20197m

    Module 4: Turing machines

    Design a Turing machine to perform 2's compliment operation on binary string.

    View this question on its own page →
  14. Q8a. Prove that if L is the language generated by an unrestricted grammar G = (N, T, P, S), then L is recognized by a turing machine.20207m

    Module 4: Turing machines

    Prove that if LL is the language generated by an unrestricted grammar G=(N,T,P,S)G = (N, T, P, S), then LL is recognized by a turing machine.

    View this question on its own page →
  15. Q8a. Show that the sum function f(x, y) = x + y is primitive recursive.20217m

    Module 4: Turing machines

    Show that the sum function

    f(x,y)=x+yf(x, y) = x + y

    is primitive recursive.

    View this question on its own page →
  16. Q8a. Define Turing machine. Design a Turing machine M to recognize the language \{ 1^n 2^n 3^n / n \ge 1 \}.20227m

    Module 4: Turing machines

    Define Turing machine. Design a Turing machine MM to recognize the language {1n2n3n/n1}\{ 1^n 2^n 3^n / n \ge 1 \}.

    View this question on its own page →
  17. Q8b. Discuss the power and limitations of Turing Machines. Compare Turing Machines with Pushdown Automata.20257m

    Module 4: Turing machines

    Discuss the power and limitations of Turing Machines. Compare Turing Machines with Pushdown Automata.

    View this question on its own page →
  18. Q9c. Write a short note on: Multistack Turing machine20213.5m

    Module 4: Turing machines

    Write a short note on: Multistack Turing machine

    View this question on its own page →
  19. Q9iii. Write short notes on: Multistack Turing Machine20227m

    Module 4: Turing machines

    Write short notes on: Multistack Turing Machine

    View this question on its own page →