Theory Of Computation

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:49 AM on 8/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

A string

An ordered n-tuple of elements from an alphabet

2
New cards

Determinism

Every steo of a computation follows uniquely from the preceding step

3
New cards

Non-Determinism

Several choices can exist for the next state at the same time

4
New cards

Subset Construction

The method of converting an NFA to a DFA

5
New cards

Chomsky’s Hierarchy

A way of categorizing languages and defining the grammars and automata required to recognise them

6
New cards

Types of Grammar

  • Unrestricted (Type 0)

  • Context-Sensitive (Type 1)

  • Context-Free (Type 2)

  • Regular (Type 3)

7
New cards

Limitations of FSA

  • Cannot count symbols

  • Cannot recognise languages with infinite states

  • Cannot match symmetric string patterns

8
New cards

Kleene’s Theorem

There exists a finite automation for a language if and only if there is a regular expression for that language

9
New cards

The Pumping Lemma

A technique used to prove that a language is not regular

10
New cards

Pumping lemma proof

  1. Assume L is regular. Then it has some DFA with, say, k states.

  2. Pick a specific string w ∈ L that is guaranteed to be at least k symbols long (usually the language's own definition suggests an obvious candidate).

  3. Split it as w = xyz obeying |xy| ≤ k and |y| ≥ 1 — but since you don't get to choose the split, you must show the contradiction holds for every possible way the adversary could split it.

  4. Pump — usually setting i = 0 (remove the loop) is easiest — and show the resulting string is not in L.

  5. This contradicts the pumping lemma's guarantee, so the assumption in step 1 must be false → L is not regular.