Finite automata have a limited capability of either accepting a string or rejecting a string. Acceptance of a string was based on the reachability of a machine from starting state to final state. Finite automata can also be used as an output device. A finite automata with output is similar to finite automata (FA) except that the additional capability of producing output. In a formal way it is also known as Finite State Machine (FSM) or Transducer.
“FSM = Transducer = Finite automata with output = Finite automata + Output Capability”
Description of finite automata with output machine M is defined by 6-tuples are as follows;
M = (Q, Σ, δ, ∆, λ, q0)
Where, each tuple have its specification and meaning.
Q: It represents the finite non-empty set of states.
Σ: It presents the finite non-empty set of the input alphabet.
δ : It represents the state transition function. The state transition function takes the current state from Q and an input alphabet from Σ and returns the new set of output alphabets and the next state. Therefore, it can be seen as a function which maps an ordered sequence of input alphabets into a corresponding sequence, or set, of output events.
Q × Σ → Q is the next-state function.
∆: It presents the output alphabet.
λ : It represent the output function. Its mathematically denotes as;
Q → ∆
q0: It is the initial state (which may be fixed or variable depends on machine behavior).
If the FSM is given input letter a when in state q, it enters state δ(q, a). While in state q it produces the output letter λ(q).
Characteristics of Finite automata:
Finite automata with output machine have the following characteristic;
- Finite automata with output machines do not have final state/states.
- Machine generates an output on every input. The value of the output is a function of current state and the current input.
- Finite automata with output machines are characterized by two behaviors;
- State transaction function (δ)[ State transition function (δ) is also known as STF]
- Output function (λ) [Output function is also known as machine function (MAF)]
δ: Σ × Q → Q
λ: Σ × Q → O [For Mealy machine]
λ: Q → O [For Moore machine]
Type of finite automata with output:
There are two types of finite automata with output:
- Mealy machine: Output is associated with transition.
λ: Σ × Q → O
Set of output alphabet O can be different from the set of input alphabet Σ.
2. Moore machine: Output is associated with state.
λ: Q → O









Thanx a lot sir for helping out