← RGPV CS-501 Theory of Computation December 2025 Solved Question Paper
Question
Explain finite automata in their roles as language recognizers and translators.
Asked in: CS-501 | December 2025 | 1(a)
Answer
A finite automaton is an abstract machine with a finite set of states. It reads input symbols one at a time and changes state according to a transition function. Its finite memory is represented entirely by its current state.
Language acceptor
A DFA is M=(Q,Σ,δ,q₀,F), where Q is a finite state set, Σ the input alphabet, δ:Q×Σ→Q the transition function, q₀ the initial state and F the accepting states. A word w is accepted exactly when δ*(q₀,w) belongs to F. For example, a two-state machine recognizes binary strings with an even number of ones: zero preserves parity and one toggles it. The initial even state is accepting.
Translator
A finite-state transducer produces output symbols instead of merely deciding membership. A Mealy machine has output function λ:Q×Σ→Γ; a Moore machine has λ:Q→Γ, where Γ is the output alphabet. A Mealy machine can complement each binary input using a single state with transitions 0/1 and 1/0. Input 101 produces 010.
| Property | Acceptor | Translator |
|---|---|---|
| Result | Accept or reject | Output sequence |
| Application | Lexical recognition | Sequential circuits, encoding |
Finite automata recognize exactly regular languages; they cannot count unbounded matching pairs such as aⁿbⁿ. Translators likewise have only finite state memory.

← RGPV CS-501 Theory of Computation December 2025 Solved Question Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion