Chapter 18 - Finite State Machines Flashcards

1
Q

Define Finite State Machine (FSM)

A

Any device that stores its current status and whose status can change as the result of an input. Mainly used as conceptual model for designing and describing systems.

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

What is a State transition diagram?

A

A visual representation of an FSM using circles and arrows.

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

Define Accepting State.

A

The state that identifies whether an input has been accepted.

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

What is a state transition table?

A

A tabular representation of an FSM showing inputs, current state and next state.

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

What is a mealy machine?

A

A type of finite state machine wth outputs.

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

Key Points:

A
  1. A FSM is a concept that shows a device that stores the current state and how the state will change asa result of an input.
  2. They can be used for checking the syntax of language including programming languages.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly