Theory of Computation 2069

Question Paper Details
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)

Official Answer
AI Generated Answer

AI is thinking...

1.  What do you mean by finite automata?  Explain deterministic finite automata with example.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2.  Explain the finite automata with Epsilon Transition.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4.  Differentiate between deterministic and non-deterministic PDA.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7.  What is a universal Turing machine?

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8.  Differentiate between class P and class NP.

4 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

                                                                Group B                                                         (6x8=48)

Official Answer
AI Generated Answer

AI is thinking...

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

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

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

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

14.  Explain the following:

a)      Minimization of finite state machine

b)      Push down automata (PDA).

c)      Halting problems

d)      Computational complexity

8 marks
Details
Official Answer
AI Generated Answer

AI is thinking...