Skip to main content

🎓 New resources added daily! Join over 50,000 students using Padandas

Theory of Computation Syllabus (CSC 262) – TU BSc CSIT 4th Semester


Subject

Theory of Computation Syllabus (CSC 262) – TU BSc CSIT 4th Semester

Official TU BSc CSIT Theory of Computation (CSC 262) syllabus for Fourth Semester — automata, CFG, PDA, Turing machines, undecidability, and lab works.

Sep 26, 2026
10,433

Tribhuvan University
Institute of Science and Technology
Bachelor of Science in Computer Science and Information Technology

Course Title: Theory of ComputationFull Marks: 60 + 20 + 20
Course no: CSC262Pass Marks: 24 + 8 + 8
Semester: IVCredit Hours: 3
Nature of course: Theory + Lab

Course Description: This course presents a study of Finite State Machines and their languages. It covers the details of finite state automata, regular expressions, context free grammars. More, the course includes design of the Push-down automata and Turing Machines. The course also includes basics of undecidability and intractability.

Course Objective: The main objective of the course is to introduce concepts of the models of computation and formal language approach to computation. The general objectives are to introduce concepts in automata theory and theory of computation, design different finite state machines and grammars and recognizers for different formal languages, identify different formal language classes and their relationships, and determine the decidability and intractability of computational problems.

Course Contents

Unit 1. Basic Foundations (3 Hrs.)

  • Review of Set Theory, Logic, Functions, Proofs
  • Automata, Computability and Complexity: Complexity Theory, Computability Theory, Automata Theory
  • Basic concepts of Automata Theory: Alphabets, Power of Alphabet, Kleene Closure Alphabet, Positive Closure of Alphabet, Strings, Empty String, Substring of a string, Concatenation of strings, Languages, Empty Language

Unit 2. Introduction to Finite Automata (8 Hrs.)

  • Introduction to Finite Automata, Introduction of Finite State Machine
  • Deterministic Finite Automata (DFA), Notations for DFA, Language of DFA, Extended Transition Function of DFA; Non-Deterministic Finite Automaton (NFA), Notations for NFA, Language of NFA, Extended Transition
  • Equivalence of DFA and NFA, Subset-Construction
  • Method for reduction of NFA to DFA, Theorems for equivalence of Language accepted by DFA and NFA
  • Finite Automaton with Epsilon Transition (ε-NFA), Notations for ε-NFA, Epsilon Closure of a State, Extended Transition Function of ε-NFA, Removing Epsilon Transition using the concept of Epsilon Closure, Equivalence of NFA and ε-NFA, Equivalence of DFA and ε-NFA
  • Finite State Machines with output: Moore machine and Mealy Machines

Unit 3. Regular Expression (6 Hrs.)

  • Regular Expressions, Regular Operators, Regular Languages and their applications, Algebraic Rules for Regular Expressions
  • Equivalence of Regular Expression and Finite Automata, Reduction of Regular Expression to ε-NFA, Conversion of DFA to Regular Expression
  • Properties of Regular Languages, Pumping Lemma, Application of Pumping Lemma, Closure Properties of Regular Languages over (Union, Intersection, Complement); Minimization of Finite State Machines: Table Filling Algorithm

Unit 4. Context Free Grammar (9 Hrs.)

  • Introduction to Context Free Grammar (CFG), Components of CFG, Use of CFG, Context Free Language (CFL)
  • Types of derivations: Bottom-up and Top-down approach, Leftmost and Rightmost, Language of a grammar
  • Parse tree and its construction, Ambiguous grammar, Use of parse tree to show ambiguity in grammar
  • Regular Grammars: Right Linear and Left Linear, Equivalence of regular grammar and finite automata
  • Simplification of CFG: Removal of Useless symbols, Nullable Symbols, and Unit Productions, Chomsky Normal Form (CNF), Greibach Normal Form (GNF), Backus-Naur Form (BNF)
  • Context Sensitive Grammar, Chomsky Hierarchy; Pumping Lemma for CFL, Application of Pumping Lemma, Closure Properties of CFL

Unit 5. Push Down Automata (7 Hrs.)

  • Introduction to Push Down Automata (PDA), Representation of PDA, Operations of PDA, Move of a PDA, Instantaneous Description for PDA
  • Deterministic PDA, Non Deterministic PDA, Acceptance of strings by PDA, Language of PDA
  • Construction of PDA by Final State, Construction of PDA by Empty Stack
  • Conversion of PDA by Final State to PDA accepting by Empty Stack and vice-versa, Conversion of CFG to PDA, Conversion of PDA to CFG

Unit 6. Turing Machine (10 Hrs.)

  • Introduction to Turing Machines (TM), Notations of Turing Machine, Language of a Turing Machine, Instantaneous Description for Turing Machine, Acceptance of a string by a Turing Machines
  • Turing Machine as a Language Recognizer, Turing Machine as a Computing Function, Turing Machine with Storage in its State, Turing Machine as a enumerator of strings of a language, Turing Machine as Subroutine
  • Turing Machine with Multiple Tracks, Turing Machine with Multiple Tapes, Equivalence of Multitape-TM and Multitrack-TM, Non-Deterministic Turing Machines, Restricted Turing Machines: With Semi-infinite Tape, Multistack Machines, Counter Machines
  • Church Turing Thesis, Universal Turing Machine, Turing Machine and Computers, Encoding of Turing Machine, Enumerating Binary Strings, Codes of Turing Machine, Universal Turing Machine for encoding of Turing Machine

Unit 7. Undecidability and Intractability (5 Hrs.)

  • Computational Complexity, Time and Space complexity of A Turing Machine, Intractability
  • Complexity Classes, Problem and its types: Abstract, Decision, Optimization
  • Reducibility, Turing Reducible, Circuit Satisfiability, Cook’s Theorem
  • Undecidability, Undecidable Problems: Post’s Correspondence Problem, Halting Problem and its proof, Undecidable Problem about Turing Machines

Laboratory Works

Student should write programs and prepare lab sheets for most of the units in the syllabus. Majorly, students should practice design and implementation of Finite State Machines viz. DFA, NFA, PDA, and Turing Machine. Students are highly recommended to construct Tokenizers/Lexical analyzer over/for some language. The nature of programming can be decided by the instructor and students as per their comfort. The instructors have to prepare lab sheets for individual unit covering the concept of all units as per the requirement. Sample lab sessions:

Unit I: Basic Foundations (5 Hrs.)

  • Write programs for illustrating the concepts of Strings, Prefix, Suffix and Substring of a String.

Unit II & III: Introduction to Finite Automata and Regular Expressions (14 Hrs.)

  • Write programs for illustrating Deterministic Finite Automata and Non-Deterministic Finite Automata
  • Write programs for implementing Tokenizers like for valid C-identifiers, Keywords, e-mail validators, phone number etc.
  • Write programs that implement NFA for text search
  • Write programs for implementing regular expressions

Unit IV & V: Context Free Grammar and Push Down Automata (14 Hrs.)

  • Write Program for simulation of Leftmost/Rightmost Derivations
  • Write Program for Parse Tree Construction
  • Write programs for illustrating context free grammar and its acceptance using Push Down Automata (Acceptance by Final State; Acceptance by Empty Stack)

Unit VI: Turing Machines (12 Hrs.)

  • Write programs for illustrating the concepts of Turing Machine as a Language Recognizer

About Tribhuvan University

This content is part of Theory of Computation offered by Tribhuvan University. This institution is committed to providing high-quality educational resources.

Frequently Asked Questions

This content is carefully structured to build understanding progressively, starting with fundamentals and advancing to more complex concepts.

Yes, once you have access, you can revisit this Theory of Computation Syllabus (CSC 262) content as many times as you need.

Practice exercises and examples are integrated throughout the content to reinforce your understanding of Theory of Computation Syllabus (CSC 262).

Ready to Master Theory of Computation Syllabus (CSC 262) – TU BSc CSIT 4th Semester?

Continue your learning journey in Theory of Computation (CSC 262) Syllabus – TU BSc CSIT 4th Semester and explore more comprehensive educational content.