Theory of Computation
Regular languages, DFA/NFA, Pumping Lemma, CFGs, Pushdown Automata, Turing Machines & Undecidability.
Published Study Notes & Chapters (3)
Formal Languages Closure Properties & Decidability Master Matrix
One-stop matrix for Regular, DCFL, CFL, CSL, Recursive, and RE closure + Riceβs Theorem undecidability shortcuts.
Minimal DFA Construction, Pumping Lemma, CFGs & Pushdown Automata
Exact state counts for common minimal DFAs, Myhill-Nerode theorem, Pumping Lemma traps, Chomsky Normal Form derivation steps (2n - 1), and DPDA vs NPDA expressive power.
TOC 2027 Rank-Decider: Myhill-Nerode Minimal DFA Proofs, Inherent Ambiguity & Reductions
Computing exact minimal DFA state counts via Myhill-Nerode distinguishing extensions, Deterministic vs Nondeterministic CFL traps, inherently ambiguous languages, and RE vs co-RE reductions.
Solved Theory of Computation PYQs & Practice Questions
Launch Timed Mock (11 Qs)Which of the following decision problems about Turing Machines and Formal Languages are DECIDABLE?
By Riceβs Theorem, which of the following problems about an arbitrary Turing Machine is DECIDABLE?
Context-Free Languages (CFLs) are CLOSED under which of the following set of operations?
Let be a Regular language, be a Deterministic Context-Free Language (DCFL), and be a Recursively Enumerable (RE) language. Which of the following statements are ALWAYS TRUE?
Over , what is the minimum number of states in a complete DFA accepting all strings whose 3rd symbol from the right (end) is a ()?
Over , what is the minimum number of states in a DFA that accepts all binary strings whose decimal value (MSB first, empty string ) is divisible by ?
If a Context-Free Grammar is in Chomsky Normal Form (CNF), how many derivation steps are required to derive a terminal string of length ?
Which of the following languages over is accepted by a Non-Deterministic PDA (NPDA), NOT by any Deterministic PDA (DPDA)?