1) Design a state transition table for an up/down counter sequential machine. The machine takes three inputs in addition to the clock: countup, countdown, reset. The count advances by 1 when countup=1, decreases by 1 when countdown=1, and goes to 0 when reset=1. The output o1=1 when the count reaches 3.
2) Design a state transition graph for a machine that recognizes the sequence 101. The input is i1, the one bit input stream. The output o1=1 when the sequence 101 has been seen on i1.