Theory of Computation 2067

Tribhuwan University
Institute of Science and Technology
2067
Bachelor Level / Fourth Semester / Science
Computer Science and Information Technology ( CSC-251 )
( Theory of Computation )
Full Marks: 80
Pass Marks: 32
Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Attempt all the questions.

                                                                Group A                                                         (8x4=32)

1. Define finite Automata with ɛ moves.Is ɛ NFA has more computation power than DFA?

4 marks view

2. GIve the DFA accepting the string over {a, b} such that each string doesn't start with ab.

4 marks view

3.  Give the regular expression for the following languages.

        a. L={SS ∈ {a, b}* and S starts with aa or b and does not contains substring bb.

        b. L={S|S ∈ {0, 1}* and 0 occurs in pairs if any and ends with 1.

4 marks view

4.  Convert following regular grammar into Finite Automata.

            

4 marks view

5. Convert following grammar into equivalent PDA

        

4 marks view

6.  What is a multi track Turing Machine? How it differs with single track machine?

4 marks view

7.  Construct a Turing Machine that accepts the language of palindrome over {a, b}* with each string of odd length.

4 marks view

8.  What is an algorithm? Explain on the basis of Church Hypothesis.

4 marks view

                                                                Group B                                                         (6x8=48)

9.  How a ε-NFA can be converted into NFA and DFA? Explain with a suitable example.

8 marks view

10. Find the minimum state DFA equivalent to the following  DFA.

                 

8 marks view

11.  Show that a language L is accepted by some DFA if and only if L is accepted by s.

8 marks view

12.  Define the language of PDA that accepts by Final State. Explain how a PDA accepting empty stack can be converted into a PDA by final state.

8 marks view

13.  Explain about multi tape TM. Show that every language accepted by a multi-tape Turning Machine is also accepted by one tape Turning Machine.

8 marks view

14.  Write short notes on:

a.               Decidable Vs Un-decidable problems.

b.              Unrestricted Grammar

c.               NP-completeness

d.              CNF-SAT Problem.

8 marks view