Both Mealy and Moore have their own advantages. We are required to write our justification.
Mealy has less states, is faster but is less stable. melay machine will be better..bcoz it is more efficient than moore and it has less number of states.melay machine is suggested for this security system. In melay machine input and output both are equal and its better then moore machine.
mealy machine should be preferable.
cause it requires less no of states and less hardware to implement.
it provides faster response and is more efficient