SD03 - Finite State Machines 2 Flashcards

1
Q

A formal representation of an FSM is F = (S, σ, I, O, f, g)

What does the S represent?

A

The set containing all of the machine’s states

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

A formal representation of an FSM is F = (S, σ, I, O, f, g)

What does the σ represent?

A

The initial state of the machine

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

A formal representation of an FSM is F = (S, σ, I, O, f, g)

What does the I represent?

A

The input alphabet.

All of the possible characters the machine can take as input.

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

A formal representation of an FSM is F = (S, σ, I, O, f, g)

What does the O represent?

A

The output alphabet.

All of the possible characters the machine can output.

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

A formal representation of an FSM is F = (S, σ, I, O, f, g)

What does the f represent?

A

The next state function
The function maps from a state from S and a character from I as input to a state from S as output:
f : (S, I) → S

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

A formal representation of an FSM is F = (S, σ, I, O, f, g)

What does the g represent?

A

The output function
The function maps from a state from S and a character from I as input to a sequence of characters from O as output:
g : (S, I) → O*

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

What does orthogonality mean?

A

No information is duplicated, everything we need is specified exactly once

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

What is the formal presentation of a finite-state machine?

A

F = (S, σ, I, O, f, g)

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