CS3452 Theory of Computation Previous Year Question Papers - Anna University
Explore the Previous Year Anna University Question Papers of CS3452 Theory of Computation.
2024
-
2024 - CSE-AM-2024-CS 3452-Theory of Computation-687931865-50903.pdf
-
2024 - CSE-ND-2024-CS 3452-Theory of Computation-644958831-20250604161745 (14).pdf
2023
-
2023 - CSE-AM-2023-CS 3452-Theory of Computation-507516547-AM23C (11).pdf
-
2023 - CSE-ND-2023-CS 3452-Theory of Computation-910346661-20870.pdf
Important Questions - CS3452 Theory of Computation
UNIT I: Automata and Regular Expressions
Part A (2 Marks)
- Define Deterministic Finite Automata (DFA).
- What is the difference between NFA and DFA?
- Write a regular expression for a set of strings starting with 'a' and ending with 'b'.
- Define ε-closure of a state.
- State the Pumping Lemma for regular languages.
Part B (13 Marks)
- Explain the procedure to convert NFA to DFA with a suitable example.
- Discuss the conversion of ε-NFA to DFA.
- Explain the Equivalence of Finite Automata and Regular Expressions (Arden's Theorem or State Elimination Method).
- Describe the Minimization of DFA using the Table Filling algorithm.
UNIT II: Context-Free Grammars and Languages
Part A (2 Marks)
- Define Context-Free Grammar (CFG).
- What is an Ambiguous Grammar? Give an example.
- Define Derivation Tree (Parse Tree).
- Distinguish between Leftmost and Rightmost Derivation.
- What is Chomsky Normal Form (CNF)?
Part B (13 Marks)
- Explain the simplification of CFG: Removal of Null, Unit, and Useless productions.
- Discuss the conversion of a grammar into Chomsky Normal Form (CNF) and Greibach Normal Form (GNF).
- Explain the Pumping Lemma for Context-Free Languages and use it to prove a language is not CFL.
- Describe the Closure properties of Context-Free Languages.
UNIT III: Pushdown Automata
Part A (2 Marks)
- Define Pushdown Automata (PDA).
- What are the different types of acceptance in PDA (Final state vs. Empty stack)?
- Is the language L = {w c w^R} accepted by a Deterministic PDA?
- What is the difference between DPDA and NPDA?
- Define the formal components of a PDA (7-tuple).
Part B (13 Marks)
- Construct a PDA for a given language (e.g., L = {a^n b^n | n ≥ 1} or L = {ww^R}).
- Explain the conversion of CFG to PDA and PDA to CFG.
- Discuss the Equivalence of PDA acceptance by Empty Stack and Final State.
UNIT IV: Turing Machines
Part A (2 Marks)
- Define a Turing Machine (TM).
- What is a Recursive Enumerable Language?
- What is a Multi-track Turing Machine?
- Define the Halting Problem.
- What is a Universal Turing Machine?
Part B (13 Marks)
- Design a Turing Machine for basic languages (e.g., L = {a^n b^n c^n} or proper subtraction).
- Discuss the different types of Turing Machines (Multi-tape, Non-deterministic, Multi-stack).
- Explain the Chomsky Hierarchy of languages in detail.
- Describe the techniques for Turing Machine construction (Storage in state, Multiple tracks).
UNIT V: Undecidability
Part A (2 Marks)
- When is a problem said to be Decidable?
- Define Post Correspondence Problem (PCP).
- What are P and NP classes?
- Define NP-Complete and NP-Hard problems.
- What is a Reduction in complexity theory?
Part B (13 Marks)
- Explain the Halting Problem of Turing Machine and prove its undecidability.
- Discuss the Post Correspondence Problem (PCP) and its modified version (MPCP).
- Explain the P, NP, NP-Complete, and NP-Hard complexity classes with examples.
- Describe the Decidability of languages and the properties of Recursive and Recursive Enumerable languages.
Most Repeated / High-Weight Questions
NFA to DFA conversion and minimization, CFG to CNF conversion, PDA construction for context-free languages, Turing machine design for specific languages, Chomsky hierarchy, halting problem and undecidability proofs, NP-completeness.
Additional Resources
How to Use These Question Papers
- Unit-Wise Progression: Master Unit I-II (automata and grammars) as foundation. Dedicate 35% of time to Unit III (PDA) and Unit IV (Turing machines). Unit V focuses on theoretical undecidability concepts.
- Automata Design Practice: Draw NFA and DFA state diagrams manually. Practice epsilon-NFA conversion with detailed steps. Minimize DFAs using table-filling algorithm. These automata design problems appear with 13-15 marks.
- Grammar Conversion Mastery: Convert CFG to CNF and GNF step-by-step. Remove null, unit, and useless productions systematically. Construct parse trees and derivations. Practice ambiguous vs unambiguous grammars.
- PDA and TM Construction: Design PDAs for balanced parentheses, palindromes, and other context-free languages. Build Turing machines for specific computations. Understand acceptance conditions (empty stack vs final state).
- Time Management: Allocate 60-90 minutes per design problem; practice construction-based Part B solutions under timed conditions combining automata, grammar, and proof techniques.