#1 India's Top IT Training Institute
×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
Mentors

Mentors

Meet the industry experts who train and guide you through your course.

Read More →
Free Resources

Free Resources

Free tutorials, interview questions, tools and calculators to help you learn.

Explore →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →

Theory of Computation Handwritten Notes PDF

Free Theory of Computation handwritten notes PDF: DFA, NFA, minimisation, regular expressions, pumping lemma, CFG, CNF, PDA, Turing machines.

6 pages · 254 KB · PDF · Updated 5 Nov 2026

Prepared by: Uncodemy trainer team  ·  Reviewed by: Uncodemy  ·  Last reviewed: 5 Nov 2026

Quick Answer

Uncodemy's Theory of Computation (TOC) handwritten notes PDF covers the Chomsky hierarchy, DFA and NFA with a solved example, DFA minimisation, Mealy and Moore machines, regular expressions and their identities, closure properties and the pumping lemma, context-free grammars and normal forms, pushdown automata, Turing machines and decidability.

Key takeaways

  • DFA design, NFA to DFA, minimisation, pumping lemma, CNF and PDA design carry most marks.
  • Learn the closure properties table for regular and context-free languages.
  • Each section has exam tips and formula boxes, and the last page lists the most asked practice questions.
  • These are original Uncodemy revision notes, not official university notes; check your own syllabus.

About these TOC handwritten notes

This page offers Uncodemy's Theory of Computation notes as a free handwritten-style PDF. Theory of Computation studies what machines can compute, using models such as finite automata, pushdown automata and Turing machines. The notes are written in short points with neat tables, labelled diagrams, boxed formulas and exam tips, so you can revise a full unit in one sitting instead of reading a long textbook chapter.

Please note: these are original Uncodemy revision notes. They follow the common syllabus that most Indian universities share for this subject, but they are not official university notes. Check your own university syllabus and add anything it lists that is missing here.

What's inside the TOC notes

The PDF is arranged in 7 sections plus a final page of most asked practice questions. The sections follow the usual unit order of a Theory of Computation syllabus, so you can map them to your own units quickly. Here is what each section covers.

Basics

Alphabets, strings and languages, and the Chomsky hierarchy of grammars and machines.

Finite automata

DFA and NFA, a solved DFA for strings ending with 01, NFA to DFA conversion, DFA minimisation, and Mealy and Moore machines.

Regular expressions and regular languages

Regular expressions and useful identities, Arden's theorem, closure properties and the pumping lemma for regular languages.

Context-free grammars

Derivations and parse trees, ambiguity, simplification of grammars, and Chomsky and Greibach normal forms.

Pushdown automata

PDA design for languages such as a^n b^n, acceptance by final state and empty stack, and closure properties of CFLs.

Turing machines

Turing machine model, designing a TM for simple languages and its variants.

Decidability

Decidable and undecidable problems, the halting problem and famous undecidable problems.

Most asked questions (practice)

Ten exam-style questions, from DFA design to the halting problem and Rice's theorem.

How to use handwritten notes to revise TOC

TOC is a design subject. Read a section of the notes, then design a machine or grammar for a new language without looking.

  • Design DFAs for three conditions: ends with, contains and divisible by a number.
  • Convert one NFA to a DFA with subset construction, then minimise it.
  • Write the pumping lemma proof structure once and reuse it for a^n b^n.
  • Convert a small CFG to CNF step by step, removing null, unit and useless productions in order.

A simple three-pass method works well with handwritten notes. In the first pass, read one section and underline only what you do not already know. In the second pass, close the notes and write the definitions, diagrams and steps for that section on a blank sheet, then compare and correct in a different colour. In the third pass, a day or two later, answer two or three exam-style TOC questions in timed conditions using only memory. Add your own examples and doubts in the margins so the PDF becomes your personal revision copy.

Formulas, diagrams and definitions to memorise

  • The Chomsky hierarchy: Type 0 (Turing machine), Type 1 (linear bounded automaton), Type 2 (PDA), Type 3 (finite automaton).
  • Regular expression identities such as (a + b)* = (a*b*)* and Arden's theorem R = Q + RP gives R = QP*.
  • The pumping lemma steps for regular languages: choose the string, split into xyz, pump and show it leaves the language.
  • CNF form: every production is A -> BC or A -> a.
  • Closure properties table: regular languages are closed under complement and intersection; CFLs are not.

Common mistakes that cost marks

  • Leaving out the dead (trap) state in a complete DFA.
  • In pumping lemma proofs, choosing a specific split instead of covering every possible split.
  • Converting to CNF before removing null and unit productions.
  • Saying every NFA needs more states than the DFA; the DFA can need up to 2^n states.

Exam focus: TOC topics that carry the most marks

These TOC topics carry the most marks in university papers and in GATE.

  • DFA and NFA design, NFA to DFA and minimisation.
  • Regular expressions, Arden's theorem and the pumping lemma.
  • CFG ambiguity, CNF and PDA design.
  • Turing machine design, closure properties and decidability.

Typical long questions

  1. Design a DFA for given conditions.
  2. Convert an NFA to a DFA using subset construction.
  3. Minimise a DFA using the partition method.
  4. Prove that a language is not regular using the pumping lemma.
  5. Show that a grammar is ambiguous and convert a CFG to CNF.
  6. Design a PDA for a^n b^n.
  7. Design a Turing machine for a^n b^n c^n and explain the halting problem.

Marks per question change between universities and years, so confirm the pattern on a recent official paper. In long answers, start with a definition, add a labelled diagram or table, explain the steps and finish with an example or comparison. Underline the key term in each answer and leave a line between steps, because examiners mark faster when the structure is easy to see.

A 7-day revision plan for TOC

  1. Day 1: Basics, Finite automata.
  2. Day 2: Regular expressions and regular languages, Context-free grammars.
  3. Day 3: Pushdown automata.
  4. Day 4: Turing machines.
  5. Day 5: Decidability.
  6. Day 6: redo the designs: two DFAs, one NFA to DFA conversion, one minimisation, one CNF conversion and one PDA.
  7. Day 7: answer the most asked practice questions at the end of the notes from memory, then solve one official previous year paper in three hours and mark the units that cost you time.

Keep a single sheet of formulas, definitions and diagrams from the notes for the last hour before the exam, and do not start new topics on the final day.

Who these notes are for

  • B.Tech CSE and IT students preparing for the semester Theory of Computation or Automata exam.
  • MCA students with formal languages and automata in their syllabus.
  • GATE CS aspirants revising TOC.
  • Students preparing for Compiler Design, which builds on regular expressions and grammars.

The notes are a revision aid, not a first textbook. If a TOC topic is new to you, learn it from your prescribed book or class lectures first, then come back to the notes to compress and revise it. For practice, pair them with the Theory of Computation Important Questions PDF page and your university's official previous year papers. If your syllabus has a topic that is not covered here, you can ask for it through the handwritten notes request page linked below.

Download Theory of Computation Handwritten Notes PDF

Theory of Computation Handwritten Notes PDF

The PDF carries the same content as this page in a clean, print-ready layout, so you can read it offline and keep it for revision.

6 pages · 254 KB · PDF · Updated 5 Nov 2026

Download PDF

Sources and further reading

Frequently Asked Questions

Which TOC topics are most important?
DFA and NFA design, NFA to DFA conversion, DFA minimisation, regular expressions, the pumping lemma, CNF, PDA design, Turing machines and decidability are asked most often.
How do I get better at designing DFAs?
Start by listing what each state must remember, such as the last symbols read or a remainder. Test your DFA on a few accepted and rejected strings before writing the final answer.
Are these TOC handwritten notes free?
Yes. Fill in the short form on this page and the PDF downloads right away. There is no fee for the notes.
Are these official university notes?
No. They are original revision notes written by the Uncodemy trainer team in a handwritten style. They are not issued or approved by AKTU or any other university, and they do not replace your prescribed textbook or your teacher's class notes.
Which university syllabus do they follow?
They follow the common Theory of Computation syllabus taught in most Indian B.Tech CSE and IT, BCA and MCA programmes. Unit order, names and depth differ between universities such as AKTU, IPU, VTU and others, so tick the topics against your own university syllabus before you start revising.
Can I print these notes?
Yes. Print them for personal study, write your own examples in the margins and carry the formula and diagram pages into your last revision before the exam.