AQA A2 Computing 1.3 Finite State Machines Flashcards
Finite state machine (FSM)
consists of a set of symbols (input symbol alphabet) and if it produces output, a set of output symbols (output symbol alphabet), a finite set of states and a transition funtion that maps a state-symbol pair (current state and input symbol) to a state (next state) and possibly generates an output (output symbol) depending on the type of FSM.
Transition function
maps (input symbol, current state) to (output symbol, next state)
Transition table
tabulates the mappings (input symbol, current state) to (output symbol, next state)
Deterministic finite state ,machine
an FSM that has just one next state for each pair of state and input symbol.
Non-deterministic finite state machine
an FSM that may have several possible next states for each pair of state and input symbol.
Halting state
a state that has no outgoing transition
Mealy machine
an FSM that determines its outputs from the present state and from the inputs
Moore machine
an FSM that determines its outputs from the present state only
Finite state automation (FSA)
an FSM that produces no output while processing the input but which responds YES or NO when is has finished processing the input. Also called a finite automaton.
Turing machine
an FSM that controls on or more tapes where at least one tape is of unbouned length (i.e. infinitely long).