3.1 Finite Automata Flashcards

1
Q

What is a finite automata

A

A state machine which produces an output determining whether the string is in the lanugage or not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a finite automata for a string containing an even / odd amount of a’s (allphabet = {a,b})

A

Accepting state circled twice

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to derive final state based on finite automata (show working method)

A

Start in starting state then progress based on each element of alphabet

This is called a run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a finite automata for identifying a double ‘aa’ in a string

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 5 parameters that compose a deterministic finite state automaton

A

Transition specifies new state based on current state and input (cartesian product = all possibilities / arrows)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the formal definition of what a run is in DFA

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a language produced by a DFA

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a DFA for recognising a string with both an even amount of a’s and a double a (“aa”)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly