Answer
See diagram in step by step process
Work Step by Step
Constructing a Moore machine that determines
-whether an input string contains an even or odd number of 1s.
- The machine is giving 1 as output if an even number of 1s
are in the string and
0 as output if an odd number of 1s are in the string.