A 3-bit binary counter counts for 0 (000) to 7 (111). The counter moves to the next state with an input of x = 0 and stays in the same state with an input of x = 1.
a. Draw the State Table and State Diagram for this 3-bit binary counter. Assume that the starting state for this counter is 0 (000).
b. Also show the states that this counter will pass through with an input of 111001 if the starting state is 0(000).