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.
2
Q
What is a State transition diagram?
A
A visual representation of an FSM using circles and arrows.
3
Q
Define Accepting State.
A
The state that identifies whether an input has been accepted.
4
Q
What is a state transition table?
A
A tabular representation of an FSM showing inputs, current state and next state.
5
Q
What is a mealy machine?
A
A type of finite state machine wth outputs.
6
Q
Key Points:
A
- 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.
- They can be used for checking the syntax of language including programming languages.