See module specification for other years:
2023-242024-25
Module summary
Formal Languages and Automata
Module will run
Occurrence
Teaching period
A
Spring Term 2022-23 to Summer Term 2022-23
Module aims
Students taking this module will be introduced to the concepts of formal languages and the abstract machines that accept them as a way of describing computation. Students will have a deep understanding of finite automata and pushdown automata, with their associated languages and related proof techniques, and will be introduced to more complex machines accepting context sensitive and recursively enumerable languages for purposes of being able to identify and describe them.
Module learning outcomes
Describe and illustrate the concepts of formal languages, automata and grammars, and the relations between them;
Construct a variety of abstract machines including: deterministic and non-deterministic finite automata, deterministic and non-deterministic pushdown automata and Turing machines;
Differentiate between deterministic and non-deterministic finite automata and convert between them;
Distinguish the differences between different classes of automata, and the languages they accept;
Apply a variety of operations to transform automata;
Generate regular expressions from finite automata;
Convert between grammars and push-down automata for context-free languages;
Demonstrate that a grammar is ambiguous;
Apply the pumping lemma for regular and context-free languages languages to show a language is not regular or context-free respectively;
Describe the Chomsky hierarchy;
Identify key applications in computing where regular and context-free languages are used in practice;
Use automata theory as the basis for building lexers and parsers.
Indicative assessment
Task
% of module mark
Online Exam -less than 24hrs (Centrally scheduled)
100
Special assessment rules
None
Indicative reassessment
Task
% of module mark
Online Exam -less than 24hrs (Centrally scheduled)
100
Module feedback
Feedback is provided through work in practical sessions, and after the final assessment as per normal University guidelines.
Indicative reading
**** Martin, John C., Introduction to Languages and the Theory of Computation (4th ed.), McGraw Hill, 2010
** Rich, Elaine, Automata, Computability and Complexity, Pearson Education, 2008
** Sipser, Michael, Introduction to the Theory of Computation (3rd ed.), South-Western College Publishing, 2012
* Hopcroft, John E. and Motwani, Rajeev and Ullman, Jeffrey D., Introduction to Automata Theory, Languages and Computation (3rd ed.), Pearson Education, 2013
* Arora, Sanjeev and Barak, Boaz, Computational Complexity: A Modern Approach, Cambridge University Press, 2009
++ Garey, Michael R. and Johnson, David S., Computers and Intractability: A Guide to the Theory of NP-Completeness, W.H. Freeman, 1979