← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper
← RGPV CS-501 (CBGS) Theory of Computation November 2019 Solved Paper
Question
Differentiate Mealy machine and Moore machine with diagram.
Asked in: CS-501 | June 2020 | 1(a)
Explain Mealy and Moore machines briefly and describe their differences.
Asked in: CS-501 | November 2019 | 4
Answer
A Mealy machine produces output on transitions, λ:Q×Σ→Γ. A Moore machine produces output on states, λ:Q→Γ. For a binary identity transducer, a Mealy machine needs one state with loops 0/0 and 1/1. A Moore machine uses states A/0 and B/1; from either state input 0 goes to A and input 1 to B. Its initial output precedes input and is ignored when comparing the two transducers. Mealy machines can often use fewer states; Moore outputs depend only on the current state. Both model finite-state sequential systems and can be converted into one another with the appropriate output alignment.

← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper
← RGPV CS-501 (CBGS) Theory of Computation November 2019 Solved Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion