Mealy to Moore conversion: June 2020

December 4, 2026 · Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper

Question

Construct Moore machine for the following Mealy machine. Initial q₀; transitions (input/output): q₀ —0/0→ q₀, q₀ —1/1→ q₁, q₁ —1/0→ q₀, q₁ —0/2→ q₂, q₂ —0/1→ q₁, q₂ —1/2→ q₂.

Asked in: CS-501 | June 2020 | 3(b)

Answer

The incoming outputs are 0 for q0, 1 for q1 and 2 for q2, so no state splitting is needed. Define Moore states A=q0/0, B=q1/1, C=q2/2. Transition table: A on 0→A, on 1→B; B on 0→C, on 1→A; C on 0→B, on 1→C. Start A. For input 101, the Mealy outputs are 1,2,2; the Moore outputs including the initial output are 0,1,2,2. Discarding the initial output yields identical sequences. In general, split a Mealy state into copies for distinct incoming outputs; here each state has only one incoming output. A dummy initial state with no output can be used if exact initial-output alignment is required.

Mealy to Moore conversion: June 2020
Mealy to Moore conversion: June 2020

← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion