Lecture 7 - DFA Flashcards
What does a deterministic finite state automata consist of?
- finite input alphabet Σ
- a finite set of states Q
- initial state q in Q
- set of accepting states F in Q
- control program / transition relation
Why do we look at a determinisic FA?
As then each relation has only one place to go (no choice has to be made at all)
How are accepting states denoted?
double circles
How is a starting state denoted?
arrow from nothing to state
What does a DFA define?
A language
What does a DFA do?
Check whether language on tape belongs to language of DFA (whether a decision problem can be solved by the DFA)
Are nondeterministic FAs possible?
YES
What is a recognition for NFA?
only requires there exists a single execution ending in the accepting state
Can NFA be converted to DFA ?
yes
Are NFAs more powerful than DFAs ?
NO, as it doesn’t expand the language
How to convert NFA to DFA?
states of NFA are converted to set of states in DFA if reuiqred
Danger of reducing NFA to DFA?
blow up N, states can go up to 2^n
Name of language recognisable by DFA?
regular language
How can a regular language be expressed?
a regular expression
What is ε?
empty string
- always think about in dfa