UNIHIVE

Study Hub UNIPORT

CSC 396

Automata theory, Computability and Formal Languages

300 level · First semester

Not checked yet Our team hasn't checked this code and title yet.

Sign in to add it
  1. 1 The role of programming languages and their paradigms

    Why high-level languages exist, the main paradigms (imperative, object-oriented, functional, logic) and general against special-purpose languages.

    Open the topic
  2. 2 Language design and evaluation criteria

    Readability, writability, reliability and cost, the features that affect each, and the trade-offs designers face.

    Open the topic
  3. 3 Syntax, semantics, binding and scope

    Describing syntax with BNF, kinds of semantics, variables and binding times, static and dynamic scope, blocks and parameter passing.

    Open the topic
  4. 4 Alphabets, strings and languages

    The mathematical basics: alphabets, strings, operations on strings, languages, and operations on languages.

    Open the topic
  5. 5 Deterministic finite automata

    What a DFA is, its formal definition, transition tables and diagrams, and designing DFAs for given languages.

    Open the topic
  6. 6 Nondeterministic automata and the subset construction

    NFAs and ε-moves, why they accept the same languages as DFAs, converting an NFA to a DFA, and minimising a DFA.

    Open the topic
  7. 7 Regular expressions and regular languages

    Writing regular expressions, Kleene's theorem linking them to automata, closure properties, and regular expressions in real tools.

    Open the topic
  8. 8 Non-regular languages and the pumping lemma

    Why finite memory has limits, the pumping lemma for regular languages, and proving languages are not regular.

    Open the topic
  9. 9 Context-free grammars, derivations and parse trees

    Productions and derivations, leftmost and rightmost derivations, parse trees, ambiguity and how to remove it.

    Open the topic
  10. 10 Parsing and pattern matching

    How compilers recognise programs: lexical analysis with patterns, top-down recursive descent and LL parsing, bottom-up shift-reduce parsing.

    Open the topic
  11. 11 Translating infix and postfix expressions

    Infix, prefix and postfix notation, converting with the shunting-yard algorithm, and evaluating postfix with a stack.

    Open the topic
  12. 12 Pushdown automata

    Adding a stack to a finite automaton, the formal definition, a PDA for aⁿbⁿ, and the equivalence with context-free grammars.

    Open the topic
  13. 13 Turing machines and the Chomsky hierarchy

    The Turing machine model, a machine for aⁿbⁿcⁿ, the Church-Turing thesis, and the four levels of grammars and machines.

    Open the topic
  14. 14 Computability, the halting problem and complexity

    Decidable and undecidable problems, the halting problem proof, reductions, and the classes P and NP.

    Open the topic