CS3452 – Theory of Computation Notes – Regulation 2021

CS3452 is a core subject for Anna University Semester 4 CSE and IT students, introducing the fundamentals of automata theory, formal languages, grammars, and computability. Use the listed materials with the prescribed syllabus to plan revision.

Notes PDFs

Study Materials

Important Topics (Unit-wise)

Theory of Computation helps students understand the mathematical foundations of computer science, including automata theory and computability. A unit-wise approach makes it easier to prepare theory, proofs, and conversion-based questions for university exams.

Unit I - Automata Basics and Equivalence

This unit focuses on finite automata and equivalence concepts. It is important for conversion-based problems and proof-oriented understanding of automata models.

  • Equivalence of NFA with epsilon to NFA without epsilon
  • Equivalence of NFA with epsilon to DFA
  • Minimization of DFA
  • Equivalence of NFA and DFA

Unit II - Regular Expressions and Limits of Regular Languages

This unit covers regular expressions and formal proof techniques. Practice conversions and pumping-lemma based arguments to answer both theory and proof questions clearly.

  • Closure properties of regular expression
  • Pumping lemma
  • Conversion of Finite automata to regular expression

Unit III - Pushdown Automata and Context-Free Grammar Foundations

This unit introduces CFG and PDA concepts used in syntax analysis. Focus on derivations and grammar clarity to avoid mistakes in proof and conversion-based steps.

  • Push down automata and CFG
  • Left most derivation & right most derivation
  • Ambiguous grammar

Unit IV - Advanced CFG Topics and CFL Properties

This unit is proof-heavy and includes grammar transformations. Pay special attention to normal forms, simplification methods, and closure properties of CFL.

  • Simplification of CFG
  • Chomsky and Greibach normal form
  • Pumping lemma for CFL
  • Closure Properties of CFL

Unit V - Turing Machines and Complexity Classes

This unit links computability with complexity classes. Concepts like Turing machines, P and NP classes, and tractability are common long-answer and conceptual exam topics.

  • P and NP class
  • Travelling Salesman
  • Universal Turing Machine
  • Tractable and Intractable
  • Practice one conversion or proof question daily from Units I to IV.
  • Revise key definitions of automata, regular expressions, CFG, and Turing machines regularly.
  • Write derivations step by step to reduce errors in grammar-based answers.
  • Prepare short notes for complexity classes and common NP-related examples.
  • Solve previous year questions to improve speed and answer structure.

Additional Resources

View Syllabus View Question Papers

Other Subjects in Semester 4

CS3401 Algorithms CS3451 Introduction to Operation Systems CS3491 Artificial Intelligence and Machine Learning CS3492 Database Management Systems GE3451 Environmental Sciences and Sustainability IT3401 Web Essentials