What is the difference between Mealy & Moore type of finite state machines?
Moore machine output is a function only of the state of the machine, Mealy machine output is a function of the state of the machine and its inputs.