Finite state machines Flashcards

1
Q

What is a finite state machine?

A

A finite state machine changes describes the solution in terms of a machine that changes state in response to various inputs and produces the appropriate output

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

What does a finite state machine normally include?

A

> A finite number of states
An intital state
A finite set of external inputs
A finite set of external outputs
An explicit specification of all state transitions
An explicit specification of how the outputs are determined.

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

What is a Moore machine?

A

The outputs are determined by only its current state

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

What is a Mealy machine?

A

The outputs are determined by its current state and by its inputs

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