A. Draw the Mealy state diagram and state table of a D flip-flop.
B. Design a synchronous sequential circuit that produces an output Z=1 whenever the following input sequence '1011' occurs. (Assume overlapping is allowed and use the Mealy Model. Use a D flip-flop to design the machine.)