Cheat sheets

TOC-15Cheat sheet1 pageIn a paid pack

Turing Machines, Variants and REC vs RE

The Turing machine as a tuple with configurations, accept, reject and loop outcomes; a full decider for a^n b^n with its move table and step counts; equivalent variants (multitape, multitrack, two-way infinite tape, stay option, nondeterministic, two-stack PDA, enumerator) with the cost of simulation; recursive versus recursively enumerable languages, deciders versus recognisers and enumerators; linear-bounded automata and context-sensitive languages in brief; and countability. The decider was simulated on every string up to length 10.

TOC-16Cheat sheet1 pageIn a paid pack

Chomsky Hierarchy and Closure Master Table

The language hierarchy from finite through regular, DCFL, CFL, CSL, recursive and recursively enumerable to all languages, with the grammar type and machine for each and example languages in each ring; the closure master table for six classes under twelve operations; how to read the table (De Morgan consequences, the homomorphism exceptions); the solved 2023 and 2025 questions on closure; and a table of grammar types and machines. Table consistency and the past-question answers were checked by script.

Diagrams from TOC-16