← Quiz: Mealy and Moore Machines: all 10 questions
Quiz: Mealy and Moore Machines · Question 1 of 10
What is the main difference between a Moore machine and a Mealy machine?
What is the main difference between a Moore machine and a Mealy machine?
- A.A Moore machine has accepting states and a Mealy machine does not
- B.A Moore machine's output depends only on the state; a Mealy machine's output depends on the state and the input symbol
- C.A Mealy machine can use a stack
- D.A Moore machine can only print 0 or 1
Answer & explanation
Correct answer: A Moore machine's output depends only on the state; a Mealy machine's output depends on the state and the input symbol
That is why Moore outputs are written inside states and Mealy outputs are written on arrows.
Can you get the rest right without peeking?
Take the timed Quiz: Mealy and Moore Machines quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →