AUTHENTIC EXAMINATION ARCHIVE

2025 Theory of Computation Question Paper

MCA 2nd Semester Theory of Computation • MPC Autonomous College, Takhatpur, Baripada

Course
MCA
Semester
Semester 2
Year
2025
Exam Type
Regular

Original Examination Scans (2)

Verified Pages
2025 Theory of Computation question paper page 1, MPC Autonomous College, Baripada
Page 1: Theory of Computation (2025)
2025 Theory of Computation question paper page 2, MPC Autonomous College, Baripada
Page 2: Theory of Computation (2025)

Theory of Computation (CA-2.1) 2025 Questions

Transcribed questions for Theory of Computation (MCA, Regular 2025) including all sections, choices, marks, equations, and diagrams.

Theory of Computation (CA-CC-201): Examination Questions

Q.1 [15 Marks]

(a) Differentiate among DFA and NFA. Design a DFA to accept an even number of a's and even number of b's over . Draw the state transition diagram and transition table.

q0 q1 q2 q3 a a b b b b a a
Figure: DFA state diagram for language L = {w | w has even number of a's and even number of b's}
OR

(b) Write notes on: [7.5 + 7.5 = 15 Marks]

  1. Transition function of DFA () and extended transition function ()
  2. Nondeterministic Finite Automata (NFA) and subset construction equivalence
Q.2 [15 Marks]

(a) Convert the regular expression to an equivalent finite automaton using Thompson's construction algorithm.

OR

(b) Write notes on: [7.5 + 7.5 = 15 Marks]

  1. Pumping Lemma for Regular Languages and its application in proving non-regularity of languages
  2. Closure properties of Regular Sets (Union, Intersection, Complement, Difference, Reversal, Kleene Star)
Q.3 [15 Marks]

(a) Define ambiguity in grammar. When is a grammar said to be ambiguous? Show that the following grammar is ambiguous by constructing two distinct leftmost derivation trees for the string :

OR

(b) Write notes on: [7.5 + 7.5 = 15 Marks]

  1. Greibach Normal Form (GNF): definition, conversion steps, and parsing advantages
  2. Pushdown Automata (PDA): instantaneous descriptions, acceptance by final state vs empty stack
Q.4 [15 Marks]

(a) Design a Turing Machine for the language . Trace the instantaneous descriptions for the input string .

OR

(b) Write notes on: [7.5 + 7.5 = 15 Marks]

  1. Chomsky Hierarchy of Languages (Type 0, Type 1, Type 2, Type 3) with grammars and automata
  2. Church's Hypothesis (Church-Turing Thesis) and computability bounds