1. Design a 3-bit up/down binary counter using D flip-flops that counts up when U = 1 and counts down when U = 0.
2. Design a sequence detector using D flip-flops that gives a high output when it has detected the sequence 10010. Allow for overlapping of sequences.