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
MCA 2nd Semester Theory of Computation • MPC Autonomous College, Takhatpur, Baripada
Transcribed questions for Theory of Computation (MCA, Regular 2025) including all sections, choices, marks, equations, and diagrams.
(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.
(b) Write notes on: [7.5 + 7.5 = 15 Marks]
(a) Convert the regular expression to an equivalent finite automaton using Thompson's construction algorithm.
(b) Write notes on: [7.5 + 7.5 = 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 :
(b) Write notes on: [7.5 + 7.5 = 15 Marks]
(a) Design a Turing Machine for the language . Trace the instantaneous descriptions for the input string .
(b) Write notes on: [7.5 + 7.5 = 15 Marks]