Finite Automata and Regular Expressions

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/14

flashcard set

Earn XP

Description and Tags

Flashcards covering foundational topics in formal automata theory including DFA, NFA, Epsilon-NFA, state transition functions, 5-tuple representations, and equivalence rules.

Last updated 3:35 AM on 9/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

Finite Automaton (FA)

A computing model consisting of a finite set of states and a set of transitions from state to state that occur on input symbols chosen from an alphabet ̣\Sigma.

2
New cards

5-tuple Representation of FA

The formal representation of a finite automaton given by (Q,Σ,δ,q0,F)(Q, \Sigma, \delta, q_0, F), where QQ is a finite non-empty set of states, Σ\Sigma is a finite non-empty set of input alphabets, δ\delta is the transition function, q0Qq_0 \in Q is the initial state, and FQF \subseteq Q is the set of final states.

3
New cards

FA without Output

A category of finite automata (including DFA, NFA, and ε-NFA\varepsilon\text{-NFA}) whose purpose is to recognize languages by accepting or rejecting input sequences.

4
New cards

FA with Output

A category of finite automata (including Moore Machine and Mealy Machine) designed to model systems that generate responses as a sequence of output symbols.

5
New cards

Deterministic Finite Automata (DFA)

A finite automaton in which the transitions from one state to another state are deterministic, meaning the next state is uniquely known for every symbol read.

6
New cards

DFA Transition Function

The mapping function defined as δ:Q×ΣQ\delta: Q \times \Sigma \rightarrow Q, which specifies exactly one next state for a current state and input symbol.

7
New cards

DFA Transition Rule

The requirement that every state in a DFA must have a defined transition for each input symbol from Σ\Sigma, and ε\varepsilon is not allowed as an input symbol.

8
New cards

Non-Deterministic Finite Automata (NFA)

A finite automaton in which transitions from a given state for a given input symbol can lead to more than one possible next state.

9
New cards

NFA Transition Function

The mapping function defined as δ:Q×Σ2Q\delta: Q \times \Sigma \rightarrow 2^Q, which maps a state and input symbol to a subset of states.

10
New cards

State Limit in NFA to DFA Conversion

If an NFA has nn states, then its equivalent DFA can have at most 2n2^n states.

11
New cards

DFA Final State Rule in NFA Conversion

During NFA to DFA conversion, any DFA composite state that contains at least one final state of the NFA becomes a final state of the DFA.

12
New cards

Automata Equivalence Condition

Two finite automata are not equivalent if for any pair of states {qa,qb}\text{\{}q_a, q_b\text{\}} reached on input aΣa \in \Sigma, one is an intermediate state and the other is a final state, or if the initial state is a final state in only one automaton.

13
New cards

Epsilon NFA (ε-NFA\varepsilon\text{-NFA})

A non-deterministic finite automaton in which transitions can occur either on input symbols or without consuming any input symbol.

14
New cards

Epsilon Transition (ε-transition\varepsilon\text{-transition})

A transition (also known as an ε-move\varepsilon\text{-move} or null move) in an automaton that occurs without reading or consuming any input symbol.

15
New cards

Transition Function of ε-NFA\varepsilon\text{-NFA}

The transition function given by δ:Q×(Σ{ε})2Q\delta: Q \times (\Sigma \cup \{\varepsilon\}) \rightarrow 2^Q.