🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Mealy and Moore Machines: all 10 questions

Quiz: Mealy and Moore Machines · Question 5 of 10

In a Moore machine diagram, a state labelled q2/1 means:

In a Moore machine diagram, a state labelled q2/1 means:

  1. A.The machine prints 1 whenever it is in state q2
  2. B.The machine reads 1 to enter q2
  3. C.q2 is an accepting state
  4. D.q2 has one outgoing arrow
Answer & explanation

Correct answer: The machine prints 1 whenever it is in state q2

In Moore notation the output is attached to the state.

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 →