Theory of Computation 2069

Tribhuwan University
Institute of Science and Technology
2069
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.  What do you mean by finite automata?  Explain deterministic finite automata with example.

4 marks view

2.  Explain the finite automata with Epsilon Transition.

4 marks view

3.  Explain the closure properties of context free languages with example.

4 marks view

4.  Differentiate between deterministic and non-deterministic PDA.

4 marks view

5.  Explain the non-deterministic Turing machines with example.

4 marks view

6.  Define the Turing machine. What are the roles of Turing machines?

4 marks view

7.  What is a universal Turing machine?

4 marks view

8.  Differentiate between class P and class NP.

4 marks view

                                                                Group B                                                         (6x8=48)

9.  Design a constructive method to prove that the complement of the language accepted by an NFA is accepted by a DFA.

8 marks view

10.  What do you mean by regular expressions? Explain with example of pumping lemma for regular  languages.

8 marks view

11.  Define the non-deterministic finite automata (NFA) and write down recursive definition of for NFA.

8 marks view

12.  Draw Turing machine to accept palindromes over {a, b}.

8 marks view

13.  Give a detailed description of ambiguity in context free grammar.

8 marks view

14.  Explain the following:

a)      Minimization of finite state machine

b)      Push down automata (PDA).

c)      Halting problems

d)      Computational complexity

8 marks view