1. Design a sequence detector using D flip-flops that gives a high output when it has detected the sequence 10010 without allowing for any overlapped sequence.
2. Repeat Problem 19 but using JK flip-flops.
Problem 19:
Design a 3-bit up/down binary counter using D flip-flops that counts up when U = 1 and counts down when U = 0.