About Theory Of Automata
Theory of Automata (also called Theory of Computation) studies abstract machines and the languages they can recognise. It answers basic questions about what computers can and cannot do, and its ideas are used directly in compilers, text search, parsers and protocol design.
Main topics
The paper usually covers:
- Basic concepts: alphabets, strings, languages and the Chomsky hierarchy.
- Finite automata: deterministic (DFA) and non-deterministic (NFA) finite automata, conversion from NFA to DFA, and minimisation of DFA.
- Regular expressions and regular languages, conversion between regular expressions and automata, and the pumping lemma for regular languages.
- Context-free grammars: derivations, parse trees, ambiguity and normal forms (Chomsky and Greibach).
- Pushdown automata and their equivalence with context-free grammars.
- Turing machines, the Church-Turing thesis, decidability and the halting problem.
How to study it
This subject is learnt by constructing machines and grammars. Practise drawing DFAs for given languages, converting NFAs to DFAs, minimising automata, and writing grammars for simple languages. Work through the pumping lemma proof technique on several examples until the structure is clear. Make sure you understand the relationships between the classes of languages and the machines that recognise them.
Topics worth practising
- Designing DFAs and NFAs
- NFA to DFA conversion
- DFA minimisation
- Regular expressions and their conversion to automata
- Pumping lemma
- Context-free grammars and ambiguity
- CNF and GNF
- Pushdown automata
- Turing machines and undecidability
Use this page to follow study material for this subject as it is added.
