Week 6 Flashcards

1
Q

What does it mean to say an FSA is non-deterministic?

A

It means the computer makes a choice between several possible next moves.

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

What is the set Q?

A

The set of all possible moves.

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

What is the set Σ?

A

The set of all possible inputs.

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

What is q0?

A

The starting state

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

What is F?

A

The set of final states.

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

What is δ?

A

A mapping of moves, of the form δ(current state, input) = new state

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

Give the formal definition of a deterministic FSA.

A

A deterministic finite state automaton is a quintuple
FSA = <Q, Σ, δ, q0, F>
where
Q: a finite, nonempty set of states;
For all Σ: a finite input alphabet;
For all δ: a mapping from Q x Σ into Q;
q0 ∈ Q : the initial state;
F ⊆ Q : the set of final states.

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

Give the formal definition of a non-deterministic FSA.

A

A non-deterministic finite state automaton is a quintuple
FSA = <Q, Σ, δ, q0, F>
where
Q: a finite, nonempty set of states;
For all Σ: a finite input alphabet;
For all δ: a mapping from Q x Σ into P(Q) where P is powerset;
q0 ∈ Q : the initial state;
F ⊆ Q : the set of final states.

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

Give the formal definition of a deterministic FST.

A

A deterministic finite state transducer is a sextuple
DFST = <Q, Σ, Delta, δ, q0, F>
where
* Q: a finite, nonempty set of states
* Σ: a finite input alphabet
* Delta: a finite output alphabet
* δ: a mapping from Q x E into Q x Delta*
* q0 ∈ Q: the initial state
* F ⊆ Q: the set of final states

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

Give the formal definition of a non-deterministic FST.

A

A deterministic finite state transducer is a sextuple
DFST = <Q, Σ, Delta, δ, q0, F>
where
* Q: a finite, nonempty set of states
* Σ: a finite input alphabet
* Delta: a finite output alphabet
* δ: a mapping from Q x E into finite subsets of Q x Delta*
* q0 ∈ Q: the initial state
* F ⊆ Q: the set of final states

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

What does a+ mean?

A

Any number of a’s but at least one.

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

What does a* mean?

A

Any number of a’s including 0.

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

What is a epsilon (e) transition?

A

An empty transition, the automaton can simply decide to change state without any input of symbol.

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