Answer:
Step-by-step explanation:
The finite state machine that represents this system (button presses with values of 0 or 1.
It should be noted in computer science that information are majoly decoded in binary in the form of 1 or 0.
1 = on
0 = off.
Please find attached diagram illustrating the state machine.