Csit Notes

Theory of Computation (CSC262) 2082 BS Past Questions & Solutions

Tribhuvan University (TU) 2082 BS board exam question paper with verified step-by-step solutions for BSc CSIT Fourth Semester.

  • CSC262
  • Core Course
  • 5 Exam Years
  • Solved Solutions

Tribhuvan University

Institute of Science and Technology

2082 B.S.

Bachelor Level:
B.Sc. CSIT
Semester:
Fourth Semester
Subject:
Theory of Computation (CSC262)
Full Marks:
60 / 80
Pass Marks:
24 / 32

Candidates are required to give their answers in their own words as far as practicable.

Group A

Long Answer Questions

Attempt any Two questions.

  1. Question 1
    List the applications of Pumping Lemma. Minimize the following DFA using Table Filling Algorithm.
  2. Question 2
    Define yield in parse tree with example. Convert the following grammar to CNF.
  3. Question 3
    Distinguish between multi-tape and multi-track Turing Machine. Design a TM that accepts a string over alphabet \(\Sigma = \{a, b\}\), such that \(L = \{a^n b^n \mid n > 0\}\).

Group B

Short Answer Questions

Attempt any Eight questions.

  1. Question 4
    Why do we need asymptotic notation? Discuss about alphabet and power of alphabet.
  2. Question 5
    Define ambiguous grammar. How do you use parse tree to show the ambiguity of a grammar?
  3. Question 6
    Given the non-deterministic Turing machine: \(TM = (\{q_0, q_1, q_2, q_f\}, \{0, 1\}, \{0, 1, B\}, \delta, q_0, B, \{q_f\})\) with the following transition rules, describe the language accepted by the given Turing machine.
  4. Question 7
    Given two DFAs \(M_1\) and \(M_2\) over the same alphabet \(\Sigma\), design a third DFA \(M_3\) such that \(M_3\) will accept the string \(w \in \Sigma^*\) if it is accepted by both \(M_1\) and \(M_2\).
  5. Question 8
    Differentiate between Moore and Mealy machines.
  6. Question 9
    Design a DFA that accepts the odd length of binary strings.
  7. Question 10
    How do you convert CFG to PDA? Explain.
  8. Question 11
    Why do we need \(\epsilon\)-transition? Give the formal definition of PDA.
  9. Question 12
    Describe about abstract, decision and optimization problems.

All Theory of Computation past papers