TOC

Theory of Computation

First pass

TOC felt intimidating from the name alone, but automata theory turned out to be more pattern recognition than abstract theory once I actually sat down with it. Turing machines and decidability are a different story.

Working through finite automata and regular languages was my first pass. Compiler Design has since reminded me that context-free grammars need another look, so revision remains part of the plan.

Topics I'm covering

  • Finite Automata — DFA & NFA
  • Regular Expressions & Languages
  • Context-Free Grammars & Pushdown Automata
  • Turing Machines
  • Decidability & Undecidability
  • Pumping Lemma

PYQ notes

Automata-construction questions are manageable so far. Decidability questions are the ones I'm avoiding a little, which usually means I need to face them sooner.

Day 19 · 2 Oct 2026

TOC question practice

Solved 20 questions, approximately 10 of which were GATE PYQs; 18 were correct.

Day 21 · 4 Oct 2026

Questions attempted during TOC lectures

Paused the lecture to solve the instructor's questions independently before viewing solutions. The count was not recorded.

From the journey

Day 53 · 5 Nov 2026

Regular Expressions practice

Practised approximately 10–15 questions from the Regular Expressions chapter.

Day 52 · 4 Nov 2026

A short TOC revision warm-up

Reviewed about half of the first chapter and planned question practice for the Sunday flexi slot.

Day 41 · 24 Oct 2026

Compiler Design Is Getting Interesting, but CFGs Need Work

CFGs in Compiler Design highlighted Theory of Computation concepts that need revision.

Day 42 · 25 Oct 2026

Compiler Design Is Testing My Patience

Struggled with context-free grammar parsing methods and their relationships, reinforcing the need to revisit CFG concepts.

Day 3

One Test, One Lecture, and a Little More Self-Control

Completed an NFA lecture and worked on understanding NFA-to-DFA conversion instead of memorising the steps.

Day 2

DFA Done, But Not Everything Goes According to Plan

Completed the DFA chapter and moved forward to NFA, with a plan to keep progressing one lecture at a time.

Day 1

Learning to Trust My Own Answers

Started the DFA chapter and planned daily practice for the language-expression questions that felt less familiar.