Theory of computation semester exam roadmap

Numericals and proofs

Days 10 to 12: counting states, pumping lemma proofs and CYK tables. 3 topics, about 8 hours.

  1. Counting states

    About 3 h.

    • Find the number of states in the minimal DFA for a language
    • Predict how many DFA states subset construction will make

    Visualisers: DFA minimisation, NFA to DFA

  2. Pumping lemma proofs

    About 3 h.

    • Write a full pumping lemma proof that a language is not regular

    Visualisers: Pumping lemma

  3. CYK tables

    About 2 h.

    • Fill a CYK table for a five-symbol string without mistakes

    Visualisers: CYK parsing