🧠 Jin Hyun Park

Jin Hyun Park / Qual Exam Prep / Automata theory

Automata theory (theory of computation)

Most theory questions on the exam are about which class a language belongs to and what operations keep it there.

The language classes, from smallest to largest

Regularcontext-freedecidablerecognizable. Regular languages are what finite automata (and regular expressions) can handle; context-free languages need a pushdown automaton (a stack); decidable and recognizable languages need a Turing machine. Keep this ordering in mind, because many questions are really asking "is this language still in the same class after I do X to it?"

Closure properties

A class is closed under an operation if applying the operation to languages in the class always gives a language in the class.

ClassUnionIntersectionConcatenationStarComplement
Regularyesyesyesyesyes
Context-freeyesnoyesyesno
Decidableyesyesyesyesyes
Recognizableyesyesyesyesno

Decidability

A few facts that get tested

Decidable vs. recognizable languages

Overview · Useful materials · Sample questions · Algorithms · Architecture · OS · Networking · Databases · AI / ML · Things to remember