GATE CS roadmap

Theory of computation

What machines can and can't compute, from finite automata to Turing machines. 5 topics, about 24 hours.

  1. Finite automata

    About 6 h.

    • Design DFAs and NFAs for a language
    • Convert NFA to DFA and minimise it

    Visualisers: Finite automata, NFA to DFA, DFA minimisation

  2. Regular expressions

    About 4 h.

    • Convert between regular expressions and automata in both directions
    • Build product automata for intersection and difference

    Visualisers: Regex to NFA, DFA to regex & product

  3. Non-regular languages

    About 3 h.

    • Prove a language is not regular with the pumping lemma
    • Use closure properties to decide regularity

    Visualisers: Pumping lemma

  4. Context-free languages and PDAs

    About 6 h.

    • Design a PDA for a language
    • Convert a grammar to CNF and GNF
    • Check membership with CYK

    Visualisers: Pushdown automata, CFG to CNF and GNF, CYK parsing

  5. Turing machines and decidability

    About 5 h.

    • Trace a Turing machine
    • Classify problems as decidable, semi-decidable or undecidable

    Visualisers: Turing machine